cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections/keyvalue TestMultiKey.java
scolebourne2004/03/13 04:43:43 Modified:collections RELEASE-NOTES.html collections/src/java/org/apache/commons/collections/keyvalue MultiKey.java collections/src/test/org/apache/commons/collections/keyvalue TestMultiKey.java Log: MultiKey enhancements to add getKey(index) and size() Make protected constructor public Add lots of javadoc examples and warnings Revision ChangesPath 1.11 +13 -2 jakarta-commons/collections/RELEASE-NOTES.html Index: RELEASE-NOTES.html === RCS file: /home/cvs/jakarta-commons/collections/RELEASE-NOTES.html,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- RELEASE-NOTES.html27 Feb 2004 00:22:09 - 1.10 +++ RELEASE-NOTES.html13 Mar 2004 12:43:43 - 1.11 @@ -34,7 +34,18 @@ hr / +centerh3BUG FIXES/h3/center +p +[27159] AbstractHashedMap subclasses failed to clone() correctly +/p + +centerh3ENHANCEMENTS/h3/center +p +MultiKey - Add getKey(index) and size() methods and make constructor public +/p + centerh3CHANGES/h3/center p -[26470] Javadoc - Add javadoc about requiring Comparable entries -[27159] Bug - AbstractHashedMap subclasses failed to clone() correctly +[26470] TreeBidiMap - Add javadoc about requiring Comparable entries +MultiKey - Add extra explanatations, examples and warnings +/p 1.5 +86 -15 jakarta-commons/collections/src/java/org/apache/commons/collections/keyvalue/MultiKey.java Index: MultiKey.java === RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/keyvalue/MultiKey.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- MultiKey.java 18 Feb 2004 01:00:08 - 1.4 +++ MultiKey.java 13 Mar 2004 12:43:43 - 1.5 @@ -25,6 +25,18 @@ * maps of maps. An example might be the need to lookup a filename by * key and locale. The typical solution might be nested maps. This class * can be used instead by creating an instance passing in the key and locale. + * p + * Example usage: + * pre + * // populate map with data mapping key+locale to localizedText + * Map map = new HashMap(); + * MultiKey multiKey = new MultiKey(key, locale); + * map.put(multiKey, localizedText); + * + * // later retireve the localized text + * MultiKey multiKey = new MultiKey(key, locale); + * String localizedText = (String) map.get(multiKey); + * /pre * * @since Commons Collections 3.0 * @version $Revision$ $Date$ @@ -33,6 +45,7 @@ * @author Stephen Colebourne */ public class MultiKey implements Serializable { +// This class could implement List, but that would confuse it's purpose /** Serialisation version */ private static final long serialVersionUID = 4465448607415788805L; @@ -44,6 +57,9 @@ /** * Constructor taking two keys. + * p + * The keys should be immutable + * If they are not then they must not be changed after adding to the MultiKey. * * @param key1 the first key * @param key2 the second key @@ -54,6 +70,9 @@ /** * Constructor taking three keys. + * p + * The keys should be immutable + * If they are not then they must not be changed after adding to the MultiKey. * * @param key1 the first key * @param key2 the second key @@ -65,6 +84,9 @@ /** * Constructor taking four keys. + * p + * The keys should be immutable + * If they are not then they must not be changed after adding to the MultiKey. * * @param key1 the first key * @param key2 the second key @@ -77,6 +99,9 @@ /** * Constructor taking five keys. + * p + * The keys should be immutable + * If they are not then they must not be changed after adding to the MultiKey. * * @param key1 the first key * @param key2 the second key @@ -89,9 +114,14 @@ } /** - * Constructor taking an array of keys. + * Constructor taking an array of keys which is cloned. + * p + * The keys should be immutable + * If they are not then they must not be changed after adding to the MultiKey. + * p + * This is equivalent to codenew MultiKey(keys, true)/code. * - * @param keys the array of keys + * @param keys the array of keys, not null * @throws IllegalArgumentException if the key array is null */ public MultiKey(Object[] keys) { @@ -99,20 +129,35 @@ } /** - * Constructor taking an
[collections] Backwards compatability 3.0 to 2.1
I took the time to run Collections 3.0 against the Collections 2.1 tests. IT PASSED ;-) This is the full details of the 3 'failures': ArrayIterator 'failure': new ArrayIterator(Object,1,1) should throw an IllegalArgumentException .collections.iterators.TestArrayIterator2.testIndexedArray(TestArrayIterator 2.java:203) Reason - Collections 3.0 enhanced constructor to allow iteration over a zero length array. Backwards compatible unless caller relied on error. UniqueFilterIterator 'failure': java.lang.IllegalStateException java.util.AbstractList$Itr.remove(AbstractList.java:428) .collections.iterators.FilterIterator.remove(FilterIterator.java:126) .collections.iterators.TestUniqueFilterIterator.testRemove(TestUniqueFilterI terator.java:153) Reason - Collections 3.0 enhanced UniqueFilterIterator to allow remove() Backwards compatible unless caller relied on error. PredicatedMap 'failure': Reason - Collections 3.0 fixed a bug whereby the toArray() method wasn't protected by the predicate Backwards compatible unless caller relied on bug. Stephen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections/map AbstractHashedMap.java AbstractLinkedMap.java
scolebourne2004/03/13 07:54:34 Modified:collections RELEASE-NOTES.html collections/src/java/org/apache/commons/collections/map AbstractHashedMap.java AbstractLinkedMap.java Log: AbstractHashedMap,AbstractLinkedMap add entryXxx() methods to get around protected scope limits in subclasses Revision ChangesPath 1.12 +14 -20jakarta-commons/collections/RELEASE-NOTES.html Index: RELEASE-NOTES.html === RCS file: /home/cvs/jakarta-commons/collections/RELEASE-NOTES.html,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- RELEASE-NOTES.html13 Mar 2004 12:43:43 - 1.11 +++ RELEASE-NOTES.html13 Mar 2004 15:54:34 - 1.12 @@ -23,29 +23,23 @@ hr / -centerh3 -NEW CLASSES -/h3/center - -pThese implementations are new to iCollections 3.1/i:/p - +centerh3NEW CLASSES/h3/center ul /ul -hr / +centerh3ENHANCEMENTS/h3/center +ul +liMultiKey - Add getKey(index) and size() methods and make constructor public/li +liAbstractHashedMap,AbstractLinkedMap - Add methods to access entry methods when protected scope blocks/li +/ul centerh3BUG FIXES/h3/center -p -[27159] AbstractHashedMap subclasses failed to clone() correctly -/p - -centerh3ENHANCEMENTS/h3/center -p -MultiKey - Add getKey(index) and size() methods and make constructor public -/p +ul +li[27159] AbstractHashedMap subclasses failed to clone() correctly/li +/ul -centerh3CHANGES/h3/center -p -[26470] TreeBidiMap - Add javadoc about requiring Comparable entries -MultiKey - Add extra explanatations, examples and warnings -/p +centerh3JAVADOC/h3/center +ul +li[26470] TreeBidiMap - Add javadoc about requiring Comparable entries/li +liMultiKey - Add extra explanatations, examples and warnings/li +/ul 1.13 +56 -2 jakarta-commons/collections/src/java/org/apache/commons/collections/map/AbstractHashedMap.java Index: AbstractHashedMap.java === RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/map/AbstractHashedMap.java,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- AbstractHashedMap.java27 Feb 2004 00:24:05 - 1.12 +++ AbstractHashedMap.java13 Mar 2004 15:54:34 - 1.13 @@ -645,6 +645,55 @@ //--- /** + * Gets the codenext/code field from a codeHashEntry/code. + * Used in subclasses that have no visibility of the field. + * + * @param entry the entry to query, must not be null + * @return the codenext/code field of the entry + * @throws NullPointerException if the entry is null + */ +protected HashEntry entryNext(HashEntry entry) { +return entry.next; +} + +/** + * Gets the codehashCode/code field from a codeHashEntry/code. + * Used in subclasses that have no visibility of the field. + * + * @param entry the entry to query, must not be null + * @return the codehashCode/code field of the entry + * @throws NullPointerException if the entry is null + */ +protected int entryHashCode(HashEntry entry) { +return entry.hashCode; +} + +/** + * Gets the codekey/code field from a codeHashEntry/code. + * Used in subclasses that have no visibility of the field. + * + * @param entry the entry to query, must not be null + * @return the codekey/code field of the entry + * @throws NullPointerException if the entry is null + */ +protected Object entryKey(HashEntry entry) { +return entry.key; +} + +/** + * Gets the codevalue/code field from a codeHashEntry/code. + * Used in subclasses that have no visibility of the field. + * + * @param entry the entry to query, must not be null + * @return the codevalue/code field of the entry + * @throws NullPointerException if the entry is null + */ +protected Object entryValue(HashEntry entry) { +return entry.value; +} + +//--- +/** * Gets an iterator over the map. * Changes made to the iterator affect this map. * p @@ -937,7 +986,12 @@ //--- /** - * HashEntry used to store the data + * HashEntry used to store the data. + * p + * If you subclass codeAbstractHashedMap/code but not codeHashEntry/code + * then you will not be able to access the
cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections PredicateUtils.java
scolebourne2004/03/13 08:34:46 Modified:collections/src/test/org/apache/commons/collections TestPredicateUtils.java collections RELEASE-NOTES.html project.xml collections/src/java/org/apache/commons/collections PredicateUtils.java Added: collections/src/java/org/apache/commons/collections/functors TransformedPredicate.java Log: Add TransformedPredicate, which transforms before calling a predicate bug 26946, from Alban Peignier Revision ChangesPath 1.8 +23 -1 jakarta-commons/collections/src/test/org/apache/commons/collections/TestPredicateUtils.java Index: TestPredicateUtils.java === RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestPredicateUtils.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- TestPredicateUtils.java 18 Feb 2004 01:20:35 - 1.7 +++ TestPredicateUtils.java 13 Mar 2004 16:34:46 - 1.8 @@ -18,7 +18,9 @@ import java.util.ArrayList; import java.util.Collection; import java.util.Collections; +import java.util.HashMap; import java.util.List; +import java.util.Map; import junit.framework.Test; @@ -813,4 +815,24 @@ fail(); } +// transformed +//-- + +public void testTransformedPredicate() { +assertEquals(true, PredicateUtils.transformedPredicate( +TransformerUtils.nopTransformer(), +PredicateUtils.truePredicate()).evaluate(new Object())); + +Map map = new HashMap(); +map.put(Boolean.TRUE, Hello); +Transformer t = TransformerUtils.mapTransformer(map); +Predicate p = PredicateUtils.equalPredicate(Hello); +assertEquals(false, PredicateUtils.transformedPredicate(t, p).evaluate(null)); +assertEquals(true, PredicateUtils.transformedPredicate(t, p).evaluate(Boolean.TRUE)); +try { +PredicateUtils.transformedPredicate(null, null); +fail(); +} catch (IllegalArgumentException ex) {} +} + } 1.13 +1 -0 jakarta-commons/collections/RELEASE-NOTES.html Index: RELEASE-NOTES.html === RCS file: /home/cvs/jakarta-commons/collections/RELEASE-NOTES.html,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- RELEASE-NOTES.html13 Mar 2004 15:54:34 - 1.12 +++ RELEASE-NOTES.html13 Mar 2004 16:34:46 - 1.13 @@ -25,6 +25,7 @@ centerh3NEW CLASSES/h3/center ul +li[26946] TransformedPredicate - A predicate where the input object is transformed/li /ul centerh3ENHANCEMENTS/h3/center 1.34 +3 -0 jakarta-commons/collections/project.xml Index: project.xml === RCS file: /home/cvs/jakarta-commons/collections/project.xml,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- project.xml 28 Feb 2004 00:14:14 - 1.33 +++ project.xml 13 Mar 2004 16:34:46 - 1.34 @@ -184,6 +184,9 @@ nameKasper Nielsen/name /contributor contributor + nameAlban Peignier/name +/contributor +contributor nameSteve Phelps/name /contributor contributor 1.1 jakarta-commons/collections/src/java/org/apache/commons/collections/functors/TransformedPredicate.java Index: TransformedPredicate.java === /* * Copyright 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.commons.collections.functors; import java.io.Serializable; import org.apache.commons.collections.Predicate; import org.apache.commons.collections.Transformer; /** * Predicate implementation that transforms the given object before invoking * another codePredicate/code. * * @since Commons Collections 3.1 * @version $Revision: 1.1 $ $Date:
DO NOT REPLY [Bug 26946] - [collections] [patch] TransformingPredicate
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=26946. 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=26946 [collections] [patch] TransformingPredicate [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED Summary|[patch] |[collections] [patch] |TransformingPredicate |TransformingPredicate --- Additional Comments From [EMAIL PROTECTED] 2004-03-13 16:36 --- Class added, although unit tests would have been preferred. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 27639] New: - [convert]Default value conversion
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=27639. 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=27639 [convert]Default value conversion Summary: [convert]Default value conversion Product: Commons Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Sandbox AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] This is a patch that implements handling of default values for the convert2 codebase. The patch contains the following classes with corresponding unit tests: - ObjectToTypeConversionFactory is a base class for conversions and their factories that convert from arbitrary objects to a concrete type. - ObjectToIntConversionFactory performs the conversion its name implies. - DefaultValueConversion is a decorator conversion that allows other conversions to deal with default values that are returned if the value to be converted is null or if an exception occurs during conversion. - DefaultValueConversionFactory is a decorator conversion factory that constructs conversions that are decorated by a DefaultValueConversion. Oliver - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 27639] - [convert]Default value conversion
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=27639. 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=27639 [convert]Default value conversion --- Additional Comments From [EMAIL PROTECTED] 2004-03-13 16:50 --- Created an attachment (id=10773) Patch file with the new classes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[hivemind] new build
is there an eta for a new build? .V - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-commons/configuration/src/test/org/apache/commons/configuration TestHierarchicalConfiguration.java
epugh 2004/03/13 09:04:04 Modified:configuration/src/java/org/apache/commons/configuration HierarchicalConfiguration.java CompositeConfiguration.java configuration/src/test/org/apache/commons/configuration TestHierarchicalConfiguration.java Log: Fix the HierarchicalConfiguration with regards to subset.. Revision ChangesPath 1.5 +44 -1 jakarta-commons/configuration/src/java/org/apache/commons/configuration/HierarchicalConfiguration.java Index: HierarchicalConfiguration.java === RCS file: /home/cvs/jakarta-commons/configuration/src/java/org/apache/commons/configuration/HierarchicalConfiguration.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- HierarchicalConfiguration.java9 Mar 2004 10:31:31 - 1.4 +++ HierarchicalConfiguration.java13 Mar 2004 17:04:04 - 1.5 @@ -290,7 +290,50 @@ { return !nodeDefined(getRoot()); } + +/** + * Creates a new codeConfiguration/code object containing all keys + * that start with the specified prefix. This implementation will return + * a codeHierarchicalConfiguration/code object so that the structure + * of the keys will be saved. + * @param prefix the prefix of the keys for the subset + * @return a new configuration object representing the selected subset + */ +public Configuration subset(String prefix) +{ +Collection nodes = fetchNodeList(prefix); +if (nodes.isEmpty()) +{ +return new HierarchicalConfiguration(); +} /* if */ +HierarchicalConfiguration result = new HierarchicalConfiguration(); +CloneVisitor visitor = new CloneVisitor(); + +for (Iterator it = nodes.iterator(); it.hasNext();) +{ +Node nd = (Node) it.next(); +nd.visit(visitor, null); + +Container children = visitor.getClone().getChildren(); +if (children.size() 0) +{ +for (int i = 0; i children.size(); i++) +{ +result.getRoot().addChild((Node) children.get(i)); +} /* for */ +} /* if */ +else +{ +// In this case we cannot shorten the key because only +// values are found without further child nodes. +// result.getRoot().addChild(visitor.getClone()); +} /* else */ +} /* for */ + +return (result.isEmpty()) ? new HierarchicalConfiguration() : result; +} + /** * Checks if the specified key is contained in this configuration. * Note that for this configuration the term quot;containedquot; means 1.10 +27 -1 jakarta-commons/configuration/src/java/org/apache/commons/configuration/CompositeConfiguration.java Index: CompositeConfiguration.java === RCS file: /home/cvs/jakarta-commons/configuration/src/java/org/apache/commons/configuration/CompositeConfiguration.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- CompositeConfiguration.java 9 Mar 2004 10:31:31 - 1.9 +++ CompositeConfiguration.java 13 Mar 2004 17:04:04 - 1.10 @@ -249,6 +249,32 @@ } /** + * Create a CompositeConfiguration object that is a subset + * of this one. Cycles over all the config objects, and calls + * their subset method and then just adds that. + * + * @param prefix + */ +public Configuration subset(String prefix) +{ +CompositeConfiguration subsetCompositeConfiguration = +new CompositeConfiguration(); +Configuration subConf = null; +int count = 0; +for (ListIterator i = configList.listIterator(); i.hasNext();) +{ +Configuration config = (Configuration) i.next(); +Configuration subset = config.subset(prefix); +if (subset != null !subset.isEmpty()) +{ +subsetCompositeConfiguration.addConfiguration(subset); +subConf = subset; +count++; +} +} +return (count == 1) ? subConf : subsetCompositeConfiguration; +} +/** * Get a List of strings associated with the given configuration key. * * @param key The configuration key. 1.5 +4 -1 jakarta-commons/configuration/src/test/org/apache/commons/configuration/TestHierarchicalConfiguration.java Index: TestHierarchicalConfiguration.java
cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections/functors TransformedPredicate.java
scolebourne2004/03/13 09:15:18 Modified:collections/src/java/org/apache/commons/collections/functors TransformedPredicate.java Log: Consistent coding standards wrt package Revision ChangesPath 1.2 +9 -9 jakarta-commons/collections/src/java/org/apache/commons/collections/functors/TransformedPredicate.java Index: TransformedPredicate.java === RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/functors/TransformedPredicate.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- TransformedPredicate.java 13 Mar 2004 16:34:46 - 1.1 +++ TransformedPredicate.java 13 Mar 2004 17:15:17 - 1.2 @@ -35,9 +35,9 @@ static final long serialVersionUID = -5596090919668315834L; /** The transformer to call */ -private final Transformer transformer; +private final Transformer iTransformer; /** The predicate to call */ -private final Predicate predicate; +private final Predicate iPredicate; /** * Factory to create the predicate. @@ -62,16 +62,16 @@ * Use codegetInstance/code if you want that. */ public TransformedPredicate(Transformer transformer, Predicate predicate) { -this.transformer = transformer; -this.predicate = predicate; +iTransformer = transformer; +iPredicate = predicate; } /** * Return the predicate result. */ public boolean evaluate(Object object) { -Object result = transformer.transform(object); -return predicate.evaluate(result); +Object result = iTransformer.transform(object); +return iPredicate.evaluate(result); } /** @@ -79,7 +79,7 @@ * @return the predicate */ public Predicate getPredicate() { -return predicate; +return iPredicate; } /** @@ -87,7 +87,7 @@ * @return the transformer */ public Transformer getTransformer() { -return transformer; +return iTransformer; } } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-commons/collections RELEASE-NOTES.html
scolebourne2004/03/13 09:17:04 Modified:collections/src/java/org/apache/commons/collections/functors TransformerClosure.java NullIsExceptionPredicate.java OnePredicate.java NullIsFalsePredicate.java FactoryTransformer.java ConstantTransformer.java ConstantFactory.java TransformerPredicate.java SwitchClosure.java AnyPredicate.java NotPredicate.java PredicateTransformer.java IdentityPredicate.java OrPredicate.java InstanceofPredicate.java AllPredicate.java MapTransformer.java ForClosure.java NullIsTruePredicate.java NonePredicate.java IfClosure.java ChainedTransformer.java AndPredicate.java EqualPredicate.java ClosureTransformer.java WhileClosure.java ChainedClosure.java SwitchTransformer.java collections RELEASE-NOTES.html Log: Add getters to functor classes bug 27515 Revision ChangesPath 1.4 +11 -2 jakarta-commons/collections/src/java/org/apache/commons/collections/functors/TransformerClosure.java Index: TransformerClosure.java === RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/functors/TransformerClosure.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- TransformerClosure.java 18 Feb 2004 00:59:20 - 1.3 +++ TransformerClosure.java 13 Mar 2004 17:17:03 - 1.4 @@ -69,5 +69,14 @@ public void execute(Object input) { iTransformer.transform(input); } - + +/** + * Gets the transformer. + * @return the transformer + * @since Commons Collections 3.1 + */ +public Transformer getTransformer() { +return iTransformer; +} + } 1.5 +11 -2 jakarta-commons/collections/src/java/org/apache/commons/collections/functors/NullIsExceptionPredicate.java Index: NullIsExceptionPredicate.java === RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/functors/NullIsExceptionPredicate.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- NullIsExceptionPredicate.java 18 Feb 2004 00:59:20 - 1.4 +++ NullIsExceptionPredicate.java 13 Mar 2004 17:17:03 - 1.5 @@ -70,5 +70,14 @@ } return iPredicate.evaluate(object); } - + +/** + * Gets the predicate. + * @return the predicate + * @since Commons Collections 3.1 + */ +public Predicate getPredicate() { +return iPredicate; +} + } 1.4 +11 -2 jakarta-commons/collections/src/java/org/apache/commons/collections/functors/OnePredicate.java Index: OnePredicate.java === RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/functors/OnePredicate.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- OnePredicate.java 18 Feb 2004 00:59:20 - 1.3 +++ OnePredicate.java 13 Mar 2004 17:17:03 - 1.4 @@ -91,5 +91,14 @@ } return match; } - + +/** + * Gets the predicates, do not modify the array. + * @return the predicates + * @since Commons Collections 3.1 + */ +public Predicate[] getPredicates() { +return iPredicates; +} + } 1.4 +11 -2 jakarta-commons/collections/src/java/org/apache/commons/collections/functors/NullIsFalsePredicate.java Index: NullIsFalsePredicate.java === RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/functors/NullIsFalsePredicate.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- NullIsFalsePredicate.java 18 Feb 2004 00:59:20 - 1.3 +++ NullIsFalsePredicate.java 13 Mar 2004 17:17:03 - 1.4 @@ -69,5 +69,14 @@ } return iPredicate.evaluate(object); } - + +/** + * Gets the predicate. + * @return the predicate + * @since Commons Collections 3.1 + */ +public Predicate getPredicate() { +return iPredicate; +} + } 1.4 +11 -2 jakarta-commons/collections/src/java/org/apache/commons/collections/functors/FactoryTransformer.java Index: FactoryTransformer.java
DO NOT REPLY [Bug 27515] - Add getters to OrPredicate and AndPredicate
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=27515. 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=27515 Add getters to OrPredicate and AndPredicate [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2004-03-13 17:18 --- Changes made on CVS. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-commons/configuration project.xml
epugh 2004/03/13 09:22:48 Modified:configuration project.xml Log: Integrate findbugs and tasks plugins. Revision ChangesPath 1.11 +19 -2 jakarta-commons/configuration/project.xml Index: project.xml === RCS file: /home/cvs/jakarta-commons/configuration/project.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- project.xml 15 Feb 2004 11:58:37 - 1.10 +++ project.xml 13 Mar 2004 17:22:48 - 1.11 @@ -231,6 +231,21 @@ versiondbunit1.5.1/version /dependency + dependency + groupIdmaven/groupId + artifactIdmaven-tasks-plugin/artifactId + version1.1.0/version + urlhttp://maven-plugins.sourceforge.net/maven-tasks-plugin//url + typeplugin/type +/dependency +dependency + groupIdmaven/groupId + artifactIdmaven-findbugs-plugin/artifactId + version0.7.1/version + urlhttp://maven-plugins.sourceforge.net/maven-findbugs-plugin//url + typeplugin/type +/dependency + /dependencies build @@ -314,6 +329,8 @@ reportmaven-pmd-plugin/report reportmaven-simian-plugin/report reportmaven-faq-plugin/report -reportmaven-jcoverage-plugin/report +reportmaven-jcoverage-plugin/report +reportmaven-tasks-plugin/report +reportmaven-findbugs-plugin/report /reports /project - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-commons/configuration/xdocs navigation.xml tasks.xml
epugh 2004/03/13 09:23:00 Modified:configuration/xdocs navigation.xml tasks.xml Log: update doc links Revision ChangesPath 1.7 +7 -7 jakarta-commons/configuration/xdocs/navigation.xml Index: navigation.xml === RCS file: /home/cvs/jakarta-commons/configuration/xdocs/navigation.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- navigation.xml8 Mar 2004 23:21:31 - 1.6 +++ navigation.xml13 Mar 2004 17:23:00 - 1.7 @@ -14,13 +14,13 @@ /links menu name=Configuration - item name=Homehref=/index.html/ - item name=Overviewhref=/overview.html/ - item name=Simple Howtohref=/howto_properties.html/ - item name=ConfigurationFactory Howto href=/howto_configurationfactory.html/ - item name=XML Howto href=/howto_xml.html/ - item name=Composite Configuration Details href=/howto_compositeconfiguration.html/ - item name=To Do List href=/tasks.html/ + item name=Home href=/index.html/ + item name=Overview href=/overview.html/ + item name=Simple Howto href=/howto_properties.html/ + item name=ConfigurationFactory Howto href=/howto_configurationfactory.html/ + item name=XML Howtohref=/howto_xml.html/ + item name=Composite Config Howto href=/howto_compositeconfiguration.html/ + item name=Roadmap href=/tasks-report.html/ /menu menu name=Extensions item name=Avalon Component href=http://jakarta.apache.org/turbine/fulcrum/fulcrum-configuration/index.html/ 1.3 +64 -54jakarta-commons/configuration/xdocs/tasks.xml Index: tasks.xml === RCS file: /home/cvs/jakarta-commons/configuration/xdocs/tasks.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- tasks.xml 24 Feb 2004 13:08:03 - 1.2 +++ tasks.xml 13 Mar 2004 17:23:00 - 1.3 @@ -1,61 +1,71 @@ -?xml version=1.0? - document properties -titleTODO/title -author email=[EMAIL PROTECTED]Eric Pugh/author +titleRoadmap for Configuration/title +author email=[EMAIL PROTECTED]Eric Pugh/author /properties - body -section name=TODO list - p -The following is a list of items that need to be completed in -Configuration. Contributions are welcome! There are also a couple enhancements -in a href=http://nagoya.apache.org/bugzilla/buglist.cgi?bug_status=NEWamp;bug_status=ASSIGNEDamp;bug_status=REOPENEDamp;email1=amp;emailtype1=substringamp;emailassigned_to1=1amp;email2=amp;emailtype2=substringamp;emailreporter2=1amp;bugidtype=includeamp;bug_id=amp;changedin=amp;votes=amp;chfieldfrom=amp;chfieldto=Nowamp;chfieldvalue=amp;product=Commonsamp;component=Configurationamp;short_desc=amp;short_desc_type=allwordssubstramp;long_desc=amp;long_desc_type=allwordssubstramp;bug_file_loc=amp;bug_file_loc_type=allwordssubstramp;keywords=amp;keywords_type=anywordsamp;field0-0-0=noopamp;type0-0-0=noopamp;value0-0-0=amp;cmdtype=doitamp;order=Reuse+same+sort+as+last+time;BugZilla/a. - /p - -subsection name=High priority - ul -liUsing XML based digester rules will probably blow this bugger -apart. You do need a factory from an inner class of the -Configuration factory to get the base Path right; even if -the test with the rule configuration file works, I'm pretty -sure that the resulting rule set will not read configuration -files if you're not running from the current (.) directory -as base path. This needs more thinking and checking./li -liI'm also 99% sure that using XML based Digester rules and -Namespace awareness in the configuration file can't be used -together. As far as I can see, the namespace awareness must -be set/reset before the rules are added. In the case of the -DigestLoader (using a DigesterRules() URI), the rules are -already added when configureNamespace() is called on the -digester. This might even be a bug in the Digester itself. - /li - /ul -/subsection - -subsection name=Medium priority - ul - li - STRIKEstrongJDBC Integration/strong - Need to be able to retrieve configuration values from JDBC - datasource./STRIKE iDone!/i - /li - li - strongJDBC backed by Hibernate/strong - Would
DO NOT REPLY [Bug 26944] - [configuration] Missing classes after move to commons proper
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=26944. 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=26944 [configuration] Missing classes after move to commons proper [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2004-03-13 17:26 --- Patch applied, unit tests pass! thanks.. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [hivemind] new build
Right now it's about building it yourself using Maven. Once we are in the incubator, we can do a vote and produce a new, official, mirrored build. -- Howard M. Lewis Ship Independent J2EE / Open-Source Java Consultant Creator, Tapestry: Java Web Components http://howardlewisship.com -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vic Cekvenich Sent: Saturday, March 13, 2004 11:42 AM To: [EMAIL PROTECTED] Subject: [hivemind] new build is there an eta for a new build? .V - 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]
cvs commit: jakarta-commons/configuration/src/java/org/apache/commons/configuration JNDIConfiguration.java
epugh 2004/03/13 09:30:42 Modified:configuration/src/java/org/apache/commons/configuration JNDIConfiguration.java Log: PMD suggested fixes Revision ChangesPath 1.9 +3 -8 jakarta-commons/configuration/src/java/org/apache/commons/configuration/JNDIConfiguration.java Index: JNDIConfiguration.java === RCS file: /home/cvs/jakarta-commons/configuration/src/java/org/apache/commons/configuration/JNDIConfiguration.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- JNDIConfiguration.java9 Mar 2004 10:31:31 - 1.8 +++ JNDIConfiguration.java13 Mar 2004 17:30:42 - 1.9 @@ -140,14 +140,9 @@ } if (context != null) { -NamingEnumeration enum2 = context.list(); -for(;enum2.hasMore();){ -System.out.println(enum2.next()); -} + NamingEnumeration enum = context.listBindings(); -for(;enum.hasMore();){ -System.out.println(enum.next()); -} + recursiveGetKeys(keys, enum, key); } } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/schema package.html
rdonkin 2004/03/13 09:33:44 Added: betwixt/src/java/org/apache/commons/betwixt/schema Tag: REFACTORING-BRANCH_2004-01-13 package.html Log: Added package documentation Revision ChangesPath No revision No revision 1.1.2.1 +12 -0 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/schema/Attic/package.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-commons/configuration/src/java/org/apache/commons/configuration BasePropertiesConfiguration.java
epugh 2004/03/13 09:34:37 Modified:configuration/src/java/org/apache/commons/configuration BasePropertiesConfiguration.java Log: Instead of sinking the error, let's throw it properly. Revision ChangesPath 1.5 +2 -2 jakarta-commons/configuration/src/java/org/apache/commons/configuration/BasePropertiesConfiguration.java Index: BasePropertiesConfiguration.java === RCS file: /home/cvs/jakarta-commons/configuration/src/java/org/apache/commons/configuration/BasePropertiesConfiguration.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- BasePropertiesConfiguration.java 27 Feb 2004 17:41:35 - 1.4 +++ BasePropertiesConfiguration.java 13 Mar 2004 17:34:37 - 1.5 @@ -166,7 +166,7 @@ } catch (UnsupportedEncodingException e) { -// Get one with the default encoding... +throw new ConfigurationException(Should look up and use default encoding.,e); } } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-commons-sandbox/id/xdocs uuid.xml index.xml
psteitz 2004/03/13 09:41:28 Modified:id/xdocs index.xml Added: id/xdocs uuid.xml Log: Added uuid xdoc contributed by Tim Reilly. Revision ChangesPath 1.4 +7 -7 jakarta-commons-sandbox/id/xdocs/index.xml Index: index.xml === RCS file: /home/cvs/jakarta-commons-sandbox/id/xdocs/index.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- index.xml 29 Feb 2004 16:06:34 - 1.3 +++ index.xml 13 Mar 2004 17:41:28 - 1.4 @@ -79,12 +79,12 @@ SessionIdGenerator/a/tdtdGenerates an alphanumeric 10+ character identifier with a random component. The exact length depends on the number of ids requested per time period./td/tr - /table - /p - p - A UUID Generator, providing an implementation of the - a href=http://www.ietf.org/internet-drafts/draft-mealling-uuid-urn-01.txt;IETF Draft Uuid - Specification/a is in development. +trtd +a href=uuid.htmlUUID Generators/a/tdtdGenerates universally Unique Identifiers +based on the a href=http://www.ietf.org/internet-drafts/draft-mealling-uuid-urn-02.txt; +IETF Draft Uuid Specification./a +/td/tr + /table /p /subsection /section 1.1 jakarta-commons-sandbox/id/xdocs/uuid.xml Index: uuid.xml === ?xml version=1.0? !-- 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. -- document properties author email=Commons Id TeamCommons Id Team/author titleUUID Documentation/title /properties meta name=keyword content=jakarta, java, commons-id, universally unique identifier, UUID, GUID/ body section name=Overview p A Universally Unique Identifier (UUID) is a 128-bit identifier described in the a href=http://www.ietf.org/internet-drafts/draft-mealling-uuid-urn-02.txt;IETF Draft Uuid Specification/a. Generators for version 1 and version 4 UUIDapos;s are provided. The value held in a UUID is represented by a specific hexadecimal format of the binary fields. An example UUID string representation is: F81D4FAE-7DEC-11D0-A765-00A0C91E6BF6. A cautionary note: there is no standard regarding binary representation of a UUID other than its string format. /p /section section name=UUID version 4 p The version 4 UUID is UUID based on random bytes. We fill the 128-bits with random bits (6 of the bits are correspondingly set to flag the version and variant of the UUID). No special configuration or implementation decisions are required to generate version 4 UUIDapos;s. /p /section section name=UUID version 1 p The version 1 UUID is a combination of node identifier (MAC address), timestamp and a random seed. The version one generator uses the commons-discovery package to determine the implementation. The implementations are specified by system properties. /p p table tr thProperty/th thDefault/th /tr tr tdorg.apache.commons.id.uuid.clock.Clock/td tdorg.apache.commons.id.uuid.clock.SystemClockImpl/td /tr tr tdorg.apache.commons.id.uuid.NodeManager/td tdorg.apache.commons.id.uuid.NodeManagerImpl/td /tr tr tdorg.apache.commons.id.uuid.state.State/td tdorg.apache.commons.id.uuid.state.ReadOnlyResourceImpl/td /tr tr tdorg.apache.commons.id.uuid.config.resource.filename/td td[No default, you must explicitly configure this for each jvm instance.]/td /tr /table /p subsection name=Persistent State p The UUID draft specification calls for persisting generator state to stable non-volatile storage (provisions are made for systems that can not provide persistent storage.) Persisting state decreases the likelihood of duplicating time and random seed (clock sequence) values, which are two components of the version one identifier. When the previous clock sequence is unknown the generator must generate new random bytes for the clock sequence. The system time may be set backwards during normal operation of a system; accordingly the generator is required to change the clock sequence value.
DO NOT REPLY [Bug 27488] - [id] uuid package html
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=27488. 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=27488 [id] uuid package html [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2004-03-13 17:52 --- Patches applied. Thanks. I made some trivial edits, changed the href to UUID.html in index.xml to uuid.html and changed the copyright date from 2003-2004 to 2004. (New files should be dated 2004.) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [math] Source for UnivariateStatisticAbstractTest?
I Believe I used OpenOffice and verified the values were the same in Excell. -Mark Phil Steitz wrote: Does anyone recall where the test values came from in UnivariateStatisticAbstractTest? There is no source referenced. How were the target values computed? Phil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mark Diggory Software Developer Harvard MIT Data Center http://www.hmdc.harvard.edu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 27643] New: - [lang][patch] ClassUtils.newInstance method
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=27643. 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=27643 [lang][patch] ClassUtils.newInstance method Summary: [lang][patch] ClassUtils.newInstance method Product: Commons Version: 1.0 Alpha Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Lang AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Objective: provides a easy way to instantiate an object with its Class and the wanted constructor arguments. In most of the situations, the Class has few constructors and only a single Constructor is compatible. The instantiation fails if several constructors match. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 27643] - [lang][patch] ClassUtils.newInstance method
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=27643. 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=27643 [lang][patch] ClassUtils.newInstance method --- Additional Comments From [EMAIL PROTECTED] 2004-03-14 02:21 --- Created an attachment (id=10775) Adds the Class.newInstance method and related test cases - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 27643] - [lang][patch] ClassUtils.newInstance method
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=27643. 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=27643 [lang][patch] ClassUtils.newInstance method --- Additional Comments From [EMAIL PROTECTED] 2004-03-14 02:25 --- The patch provides several methods : - boolean isInstanceOf(Class cls, Object instance) - boolean areInstancesOf(Class classes[], Object instances[]) - Constructor[] getConstructors(Class cls, Object arguments[]) - Object newInstance(Class cls, Object arguments[]) and related TestCases. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [math]Re: [releases] lacking releases for .... Was: [sandbox] report
Phil Steitz wrote: Eric, Any help with the validation would be *much* appreciated. -Phil Phil, I am new to the Commons, but would like to help out the math project if I could. In brief I am a mathematician turned developer (principally Java), and would like to do something mathematical again. What is your highest priority now? I saw the TODO list, but I imagine there are some things more urgent than others. One item I didn't understand was the refactoring of the solve method for the RealMatrix class (I didn't follow what was meant by making it more pluggable), but if that isn't what you need the most, I'd rather help out where you need the help. Chris -- Christopher Schuck If you have no voice, SCREAM; if you have no legs, RUN; if you have no hope, INVENT - Alegria - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [id] use of commons-logging
Since there is a dependency on commons-logging; any issues with using it? For example in IdentifierGeneratorFactory.java line 53 -} catch (Exception ex) { -// ignore as default implementation will be used. +} +catch (Exception ex) { +if (log.isInfoEnabled()) { +log.info(ex); +} There are two other similar places in the uuid packages I was think it might be useful to log what's happening in the recoverable exceptions. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[GUMP@lsd]: jelly-tags/commons-jelly-tags-ant failed
To whom it may engage... This is an automated request, but not an unsolicited one. For help understanding the request please visit http://gump.apache.org/nagged.html, and/or contact [EMAIL PROTECTED] Project commons-jelly-tags-ant has an issue affecting it's community integration. This issue affects 3 projects, and has been outstanding for 11 runs. The current state is 'Failed', for reason 'Build Failed' Full details are available at: http://lsd.student.utwente.nl/gump/jelly-tags/commons-jelly-tags-ant.html, however some snippets follow: - - - - - -- -- G U M P Gump provided these annotations: - Info - Sole jar [/data3/gump/jelly-tags/ant/target/commons-jelly-tags-ant-20040314.jar] identifier set to project name - Info - Enable debug output, due to a sequence of 10 previous errors. - Error - Failed with reason build failed - - - - - -- -- G U M P Gump performed this work: Work Name: build_jelly-tags_commons-jelly-tags-ant (Type: Build) State: Failed Elapsed: 0 hours, 0 minutes, 15 seconds Command Line: java -Djava.awt.headless=true -Dbuild.clonevm=true -Xbootclasspath/p:/data3/gump/xml-xerces2/java/build/xercesImpl.jar:/data3/gump/xml-xerces2/java/build/xmlParserAPIs.jar org.apache.tools.ant.Main -debug -Dgump.merge=/data3/gump/gump-install/work/merge.xml -Dbuild.sysclasspath=only -Dfinal.name=commons-jelly-tags-ant-20040314 jar [Working Directory: /data3/gump/jelly-tags/ant] - 'formatter=org.apache.tools.ant.taskdefs.optional.junit.SummaryJUnitResultFormatter' 'showoutput=false' 'formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,/data3/gump/jelly-tags/ant/target/test-reports/TEST-org.apache.commons.jelly.ant.TestJelly.xml' 'formatter=org.apache.tools.ant.taskdefs.optional.junit.PlainJUnitResultFormatter' 'propsfile=/data3/gump/jelly-tags/ant/junit1226195328.properties' The ' characters around the executable and arguments are not part of the command. [junit] Tests run: 3, Failures: 0, Errors: 1, Time elapsed: 2.374 sec [junit] Testsuite: org.apache.commons.jelly.ant.TestJelly [junit] Tests run: 3, Failures: 0, Errors: 1, Time elapsed: 2.374 sec [junit] Testcase: write took 1.867 sec [junit] Testcase: readWrite took 0.24 sec [junit] Testcase: writeIn took 0.188 sec [junit] Caused an ERROR [junit] file:/data3/gump/jelly-tags/ant/target/test-classes/org/apache/commons/jelly/ant/suite.jelly:54:5: ant java.lang.NullPointerException [junit] org.apache.commons.jelly.JellyTagException: file:/data3/gump/jelly-tags/ant/target/test-classes/org/apache/commons/jelly/ant/suite.jelly:54:5: ant java.lang.NullPointerException [junit] at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:642) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:242) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:89) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] Caused by: java.lang.NullPointerException [junit] at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:186) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:233) [junit] ... 11 more [junit] Root cause [junit] java.lang.NullPointerException [junit] at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:186) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:233) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:89) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) BUILD FAILED /data3/gump/jelly-tags/ant/build.xml:110: Test org.apache.commons.jelly.ant.TestJelly failed at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:651) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:606) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:268) at org.apache.tools.ant.Task.perform(Task.java:363) at org.apache.tools.ant.Target.execute(Target.java:300) at org.apache.tools.ant.Target.performTasks(Target.java:327) at org.apache.tools.ant.Project.executeTarget(Project.java:1213) at org.apache.tools.ant.Project.executeTargets(Project.java:1061) at org.apache.tools.ant.Main.runBuild(Main.java:667) at org.apache.tools.ant.Main.startAnt(Main.java:187) at org.apache.tools.ant.Main.start(Main.java:151) at org.apache.tools.ant.Main.main(Main.java:234) Total time: 12 seconds - To subscribe to this information via syndicated feeds: RSS: http://lsd.student.utwente.nl/gump/jelly-tags/commons-jelly-tags-ant.rss | Atom:
[GUMP@lsd]: jelly-tags/commons-jelly-tags-define failed
To whom it may engage... This is an automated request, but not an unsolicited one. For help understanding the request please visit http://gump.apache.org/nagged.html, and/or contact [EMAIL PROTECTED] Project commons-jelly-tags-define has an issue affecting it's community integration, and has been outstanding for 11 runs. The current state is 'Failed', for reason 'Build Failed' Full details are available at: http://lsd.student.utwente.nl/gump/jelly-tags/commons-jelly-tags-define.html, however some snippets follow: - - - - - -- -- G U M P Gump provided these annotations: - Info - Sole jar [/data3/gump/jelly-tags/define/target/commons-jelly-tags-define-20040314.jar] identifier set to project name - Info - Enable debug output, due to a sequence of 10 previous errors. - Error - Failed with reason build failed - - - - - -- -- G U M P Gump performed this work: Work Name: build_jelly-tags_commons-jelly-tags-define (Type: Build) State: Failed Elapsed: 0 hours, 0 minutes, 13 seconds Command Line: java -Djava.awt.headless=true -Dbuild.clonevm=true -Xbootclasspath/p:/data3/gump/xml-xerces2/java/build/xercesImpl.jar:/data3/gump/xml-xerces2/java/build/xmlParserAPIs.jar:/data3/gump/xml-xalan/java/build/xalan-unbundled.jar:/data3/gump/xml-commons/java/external/build/xml-apis.jar org.apache.tools.ant.Main -debug -Dgump.merge=/data3/gump/gump-install/work/merge.xml -Dbuild.sysclasspath=only -Dfinal.name=commons-jelly-tags-define-20040314 jar [Working Directory: /data3/gump/jelly-tags/define] - [junit] file:/data3/gump/jelly-tags/define/target/test-classes/org/apache/commons/jelly/tags/define/suite.jelly:174:24: define:super java.lang.NullPointerException [junit] org.apache.commons.jelly.JellyTagException: file:/data3/gump/jelly-tags/define/target/test-classes/org/apache/commons/jelly/tags/define/suite.jelly:174:24: define:super java.lang.NullPointerException [junit] at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:642) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:242) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:89) [junit] at org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:79) [junit] at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:102) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:89) [junit] at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) [junit] at org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:236) [junit] at org.apache.commons.jelly.tags.core.SetTag.doTag(SetTag.java:90) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:233) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:89) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] Caused by: java.lang.NullPointerException [junit] at org.apache.commons.jelly.tags.define.SuperTag.doTag(SuperTag.java:44) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:233) [junit] ... 19 more [junit] Root cause [junit] java.lang.NullPointerException [junit] at org.apache.commons.jelly.tags.define.SuperTag.doTag(SuperTag.java:44) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:233) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:89) [junit] at org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:79) [junit] at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:102) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:89) [junit] at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) [junit] at org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:236) [junit] at org.apache.commons.jelly.tags.core.SetTag.doTag(SetTag.java:90) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:233) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:89) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) BUILD FAILED /data3/gump/jelly-tags/define/build.xml:110: Test org.apache.commons.jelly.tags.define.TestJelly failed at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:651) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:606) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:268) at org.apache.tools.ant.Task.perform(Task.java:363) at org.apache.tools.ant.Target.execute(Target.java:300) at
Re: [math] Source for UnivariateStatisticAbstractTest?
Mark R. Diggory wrote: I Believe I used OpenOffice and verified the values were the same in Excell Thanks. We should verify these values against R as well. The Percentile targets also need to be fixed to match the estimation algorithm that we have implemented. I will add this to the pre-release task list. Phil . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
unable to find line starting with HTTP error
Hi all, I am new to this . I received the error ' unable to find line starting with HTTP error' I read the digest, but I cannot fix it myself. Here is the URL: http://www.worldscinet.com/cgi-bin/current_issue.cgi?ijac I did a connection to the server: roottelnet www.worldscinet.com 80 Trying 203.208.144.142... Connected to www.worldscinet.com. Escape character is '^]'. GET /cgi-bin/current_issue.cgi?ijac HTTP/1.0 HTTP/1.1 302 Moved Date: Sat, 13 Mar 2004 17:28:23 GMT Server: Apache/1.3.20 (Linux/SuSE) PHP/4.0.6 mod_perl/1.26 location: /ijac/14/1401/S02181967041401.html Connection: close Content-Type: text/plain Connection to www.worldscinet.com closed by foreign host. To go further: Roottelnet www.worldscinet.com 80 Trying 203.208.144.142... Connected to www.worldscinet.com. Escape character is '^]'. GET /ijac/14/1401/S02181967041401.html HTTP/1.0 html body bgcolor=#FF div align=center table border=0 width=633 cellspacing=0 cellpadding=0 tr td width=450a href=http://www.wspc.com/; target=_topimg border=0 src=/graphics/journalhp_r02_c01.jpg height=49/a/td td width=150a href=/index.html target=_topimg border=0 src=/graphics/headerlogotest.jpg align=right/a/td . I cannot find the response header. I think this is the origin of the problem. Is there any workround/patch to this issue? It is passive way to tell the webmaster to fix the problem. Thx a lot, KMKU - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: unable to find line starting with HTTP error
Hello KMKU, It looks like this second URL http://www.worldscinet.com/ijac/14/1401/S02181967041401.html is not being server by an HTTP server. As you note it just writes a bunch of content without any headers. There's not much we can do about this one, as HttpClient only supports working with HTTP servers. Mike On Mar 13, 2004, at 12:30 PM, Dr. K.M. Ku wrote: Hi all, I am new to this . I received the error ' unable to find line starting with HTTP error' I read the digest, but I cannot fix it myself. Here is the URL: http://www.worldscinet.com/cgi-bin/current_issue.cgi?ijac I did a connection to the server: roottelnet www.worldscinet.com 80 Trying 203.208.144.142... Connected to www.worldscinet.com. Escape character is '^]'. GET /cgi-bin/current_issue.cgi?ijac HTTP/1.0 HTTP/1.1 302 Moved Date: Sat, 13 Mar 2004 17:28:23 GMT Server: Apache/1.3.20 (Linux/SuSE) PHP/4.0.6 mod_perl/1.26 location: /ijac/14/1401/S02181967041401.html Connection: close Content-Type: text/plain Connection to www.worldscinet.com closed by foreign host. To go further: Roottelnet www.worldscinet.com 80 Trying 203.208.144.142... Connected to www.worldscinet.com. Escape character is '^]'. GET /ijac/14/1401/S02181967041401.html HTTP/1.0 html body bgcolor=#FF div align=center table border=0 width=633 cellspacing=0 cellpadding=0 tr td width=450a href=http://www.wspc.com/; target=_topimg border=0 src=/graphics/journalhp_r02_c01.jpg height=49/a/td td width=150a href=/index.html target=_topimg border=0 src=/graphics/headerlogotest.jpg align=right/a/td . I cannot find the response header. I think this is the origin of the problem. Is there any workround/patch to this issue? It is passive way to tell the webmaster to fix the problem. Thx a lot, KMKU - 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]