[Jakarta-commons Wiki] Update of PoolRoadMap by SandyMcArthur
Dear Wiki user, You have subscribed to a wiki page or wiki category on Jakarta-commons Wiki for change notification. The following page has been changed by SandyMcArthur: http://wiki.apache.org/jakarta-commons/PoolRoadMap The comment on the change is: Expanded on the motivation for Pool 2 changes -- === Pool 1.3 === - There are a number of important fixes which have been committed. Therefore, cutting a 1.3 release makes sense. + There are a number of important fixes which have been committed. A 1.3 release is pending peer review. === Pool 2 === This will not fully compatible with the Pool 1.x releases. This has been necessitated by some recent changes to semantics. Areas with the code contracts defined in interfaces is loosely defined or unnecessary allows methods to return a variety of responses with the same meaning will be changed to more user friendly behavior. This release will take advantage of Java 1.4 features. + The planned changes of behavior are based on the intent of the client code using the pool. + + Acquiring idle objects: + * addObject: client code calling this method wants to add another object to the list of idle objects. If this fails then the client code should know about it with an exception. + * borrowObject: client code calling this method wants a valid object. Implementations should try to return an idle object first. If this idle object fails to be activated or validated then it should be destroyed and the pool should try again. When there are no more idle objects then a new object should be created. If this fails then an exception should be propagate to the client code. Also, null should never be returned. + + Returning idle objects: + * returnObject: when client code is done with an object and still thinks the object is valid it passes it back to the pool with returnObject. returnObject passivates the instance and adds it to the idle object pool. If the passivation fails then the object is not added to the idle object pool and it an attempt to destroy the object is made. In no situation should an exception be allowed to propagate to client code. The client code is returning the object and doesn't care about it anymore. If the client code need information about objects that fail to be returned it should handle that in the PoolableObjectFactory implementation. + * invalidateObject: when client code is done with an object and thinks it's invalid for future reuse. The object should be destroyed and never should an exception be propagated to the calling code. + + Pool maintenance methods: + * clear: like addObject the client code is requesting a specific behavior and should be notified of problems clearing the pool. This does not include exceptions from destroying objects. (That said, I personally cannot think of a situation where a clear would fail.) + * close: the client code calling this method is done with the pool. Resources that it makes sense to free should be freed. (That does not mean null-ing all private fields as the factory will still be needed to destroyObjects returned to the pool after it has been closed.) Unlike the close method, problems while freeing those resources should be swallowed. After calling the close method addObject and borrowObject method should throw an IllegalStateException and the other methods like returnObject or invalidateObject should accept objects but immediately destroy and discard them. This is important in a multi-threaded enviroment, such as a webapp, where it is difficult or impossible to be sure when any object borrowed before the call to close will be returned and threads that happen to return objects after the pool has been closed should be allowed to complete normally until they can be shutdown. + * getNumActive and getNumIdle: previously these were declared to throw exceptions when they were unsupported. Instead they should return a negative value because it would never make sense for the active or idle count of a pool to go negative. By not throwing an exception code like: if (pool.getNumActive() 3) ... is safer and less error prone. + * setFactory: I think it's a gross misuse of a pool to change it's factory after it's been created, especially after the first object has been borrowed. + + Other points: + * a pool implementation should never allow a null PoolableObjectFactry. A pool with no factory is called a java.util.List or a keyed pool a java.util.Map of java.util.Lists. + * any object borrowed from the pool must be returned to the pool. Client code should be careful to only return a borrowed object once. The same borrowed instance should never be returned to both returnObject and invalidateObject in one borrow cycle. + * an object that fails to fails activation, validation, passivation, or is passed to invalidateObject must be destroyed. Much like the finalize
DO NOT REPLY [Bug 38929] - [configuration] Support event listeners for configurations
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=38929. 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=38929 --- Additional Comments From [EMAIL PROTECTED] 2006-03-13 08:53 --- Nice, I thought about this also for some time. The listener/monitor concept can be applied for other events: - property not found (instead of ignoring or throwing an exception - the registered listener can do this then - and we can get rid of the method in AbstractConfiguration and all this special handling) setProperty-Problem: Maybe we have a bulkChangeStart/bulkChangeEnd event, so that a listener implementation may optimize the configurationChanged events inbetween ? And yes, reload should raise an event. It is up to the listener implementation to do soemthing useful about it. And it could also make usage of the bulk change. - Jörg -- 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]
Re: [PROPOSAL][all] Break dependency on commons-build
I hope that a mavenite may be able to tell us if this helps us use maven 1.1 as I understood that the relative paths were a headache. yes, it helps a lot. I succesfully built the site with maven 1.1 (I just skipped the tests because I have the same errors in IO as reported in the release thread). We have problems with entities (in pom) because we removed xerces and with entities with relative path (in xdoc) because of a bug in dom4j. Arnaud
DO NOT REPLY [Bug 38927] - [io] Tests Fail on Windows 2000
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=38927. 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=38927 --- Additional Comments From [EMAIL PROTECTED] 2006-03-13 10:00 --- Niall, what is the exact error during failure? Maven is notorious for running out of memory on every Windows machine I've had for the last 2 years, and so this little gem has done wonders for me... set MAVEN_OPTS=-Xmx768m HTH -- James Mitchell -- 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]
Re: [VOTE] Demote Latka and Resources to Dormant
I agree with Niall. I've written several database-based implementations for resources, and there already exists a Struts plugin for resources that let's our users use commons-resources now (and is backward compatible to Struts 1.1). The only thing commons-resources really suffers from is not having someone give the time to do a release. I feel it is ready, I just don't have the time right now. -- James Mitchell EdgeTech, Inc. http://edgetechservices.net/ 678.910.8017 Skype: jmitchtx On Mar 12, 2006, at 7:04 PM, Niall Pemberton wrote: - Original Message - From: Stephen Colebourne [EMAIL PROTECTED] Sent: Sunday, March 12, 2006 10:04 PM Demote [latka] to dormant status (It has no activity and no release) [ ] +1 - Demote [ ] -1 - Keep [latka] alive, because... +1 Demote [reosurces] to dormant status (It's main customer Struts isn't using it now) [ ] +1 - Demote [ ] -1 - Keep [resources] alive, because... -0 Struts hasn't ever used it properly because it was never released. I still think theres a good reason for resources to exist and I would like to work on it. However practical reality is that I'm unlikely to do so, so I'm not going to vote against this, although at this point I would prefer it to remain as it is, rather than demoted back to the sandbox - which I believe practically means its demise. Niall PS: I'm hoping that someone will volunteer to do the actual svn moves and demotion ;-) Stephen - 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]
DO NOT REPLY [Bug 38907] - [dbutils] ScalarHandler subclasses that return Integers and Longs
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=38907. 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=38907 [EMAIL PROTECTED] changed: What|Removed |Added Summary|ScalarHandler subclasses|[dbutils] ScalarHandler |that return Integers and|subclasses that return |Longs |Integers and Longs -- 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]
svn commit: r385519 - /jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/ProxyUtils.java
Author: jcarman Date: Mon Mar 13 03:35:07 2006 New Revision: 385519 URL: http://svn.apache.org/viewcvs?rev=385519view=rev Log: Bug fix: error when intercepting methods with primitive parameters. Modified: jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/ProxyUtils.java Modified: jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/ProxyUtils.java URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/ProxyUtils.java?rev=385519r1=385518r2=385519view=diff == --- jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/ProxyUtils.java (original) +++ jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/ProxyUtils.java Mon Mar 13 03:35:07 2006 @@ -34,13 +34,26 @@ //-- // Fields //-- + public static final Object[] EMPTY_ARGUMENTS = new Object[0]; public static final Class[] EMPTY_ARGUMENT_TYPES = new Class[0]; +private static final Map wrapperClassMap = new HashMap(); //-- // Static Methods //-- +static +{ +wrapperClassMap.put( Integer.TYPE, Integer.class ); +wrapperClassMap.put( Character.TYPE, Character.class ); +wrapperClassMap.put( Boolean.TYPE, Boolean.class ); +wrapperClassMap.put( Short.TYPE, Short.class ); +wrapperClassMap.put( Long.TYPE, Long.class ); +wrapperClassMap.put( Float.TYPE, Float.class ); +wrapperClassMap.put( Double.TYPE, Double.class ); +wrapperClassMap.put( Byte.TYPE, Byte.class ); +} /** * Creates a null object which implements the codeproxyClasses/code. * @@ -127,19 +140,11 @@ return clazz.getName(); } -private static final Map wrapperClassMap = new HashMap(); -static -{ -wrapperClassMap.put( Integer.TYPE, Integer.class ); -wrapperClassMap.put( Character.TYPE, Character.class ); -wrapperClassMap.put( Boolean.TYPE, Boolean.class ); -wrapperClassMap.put( Short.TYPE, Short.class ); -wrapperClassMap.put( Long.TYPE, Long.class ); -wrapperClassMap.put( Float.TYPE, Float.class ); -wrapperClassMap.put( Double.TYPE, Double.class ); -wrapperClassMap.put( Byte.TYPE, Byte.class ); -} - +/** + * Returns the wrapper class for the given primitive type. + * @param primitiveType the primitive type + * @return the wrapper class + */ public static Class getWrapperClass( Class primitiveType ) { return ( Class )wrapperClassMap.get( primitiveType ); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r385520 - /jakarta/commons/sandbox/proxy/trunk/pom.xml
Author: jcarman Date: Mon Mar 13 03:40:11 2006 New Revision: 385520 URL: http://svn.apache.org/viewcvs?rev=385520view=rev Log: Adding mvn build (currently not working, but hopefully someone knows how to fix it). Added: jakarta/commons/sandbox/proxy/trunk/pom.xml (with props) Added: jakarta/commons/sandbox/proxy/trunk/pom.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/pom.xml?rev=385520view=auto == --- jakarta/commons/sandbox/proxy/trunk/pom.xml (added) +++ jakarta/commons/sandbox/proxy/trunk/pom.xml Mon Mar 13 03:40:11 2006 @@ -0,0 +1,128 @@ +!-- + Copyright 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 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; +modelVersion4.0.0/modelVersion +groupIdcommons-proxy/groupId +artifactIdcommons-proxy/artifactId +packagingjar/packaging +version1.0/version +nameCommons Proxy/name +urlhttp://jakarta.apache.org/commons/sandbox/proxy/url +inceptionYear2005/inceptionYear +build +sourceDirectorysrc/java/sourceDirectory +resources +resource +directorysrc/java/directory +excludes +exclude**/*.java/exclude +/excludes +/resource +/resources +testSourceDirectorysrc/test/testSourceDirectory + +/build +dependencies +dependency +groupIdcglib/groupId +artifactIdcglib-full/artifactId +version2.0.2/version +/dependency +dependency +groupIdjavassist/groupId +artifactIdjavassist/artifactId +version3.0/version +/dependency +dependency +groupIdaopalliance/groupId +artifactIdaopalliance/artifactId +version1.0/version +/dependency + +dependency +groupIdaxis/groupId +artifactIdaxis/artifactId +version1.2.1/version +/dependency +dependency +groupIdaxis/groupId +artifactIdaxis-jaxrpc/artifactId +version1.2.1/version +/dependency +dependency +groupIdaxis/groupId +artifactIdaxis-saaj/artifactId +version1.2.1/version +/dependency +dependency +groupIdaxis/groupId +artifactIdaxis-wsdl4j/artifactId +version1.5.1/version +/dependency +dependency +groupIdhessian/groupId +artifactIdhessian/artifactId +version3.0.1/version +/dependency +dependency +groupIdburlap/groupId +artifactIdburlap/artifactId +version2.1.7/version +/dependency +dependency +groupIdcommons-logging/groupId +artifactIdcommons-logging/artifactId +version1.0.4/version +/dependency +dependency +groupIdcommons-pool/groupId +artifactIdcommons-pool/artifactId +version1.2/version +/dependency +dependency +groupIdcommons-collections/groupId +artifactIdcommons-collections/artifactId +version3.1/version +/dependency +dependency +groupIdcommons-discovery/groupId +artifactIdcommons-discovery/artifactId +version0.2/version +/dependency +dependency +groupIdconcurrent/groupId +artifactIdconcurrent/artifactId +version1.3.4/version +/dependency +dependency +groupIdjmock/groupId +artifactIdjmock/artifactId +version1.0.1/version +/dependency +dependency +groupIdxmlrpc/groupId +artifactIdxmlrpc/artifactId +version2.0/version +/dependency +dependency +groupIdcommons-codec/groupId +artifactIdcommons-codec/artifactId +version1.3/version +/dependency +/dependencies + +/project Propchange: jakarta/commons/sandbox/proxy/trunk/pom.xml
svn commit: r385521 - /jakarta/commons/sandbox/proxy/trunk/build.xml
Author: jcarman Date: Mon Mar 13 03:41:17 2006 New Revision: 385521 URL: http://svn.apache.org/viewcvs?rev=385521view=rev Log: Updated Ant build to reflect 1.0 release. Modified: jakarta/commons/sandbox/proxy/trunk/build.xml Modified: jakarta/commons/sandbox/proxy/trunk/build.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/build.xml?rev=385521r1=385520r2=385521view=diff == --- jakarta/commons/sandbox/proxy/trunk/build.xml (original) +++ jakarta/commons/sandbox/proxy/trunk/build.xml Mon Mar 13 03:41:17 2006 @@ -1,7 +1,7 @@ ?xml version=1.0 encoding=UTF-8? -!--build.xml generated by maven from project.xml version 0.1 - on date October 20 2005, time 0704-- +!--build.xml generated by maven from project.xml version 1.0 + on date March 13 2006, time 0638-- project default=jar name=commons-proxy basedir=. property name=defaulttargetdir value=target @@ -20,7 +20,7 @@ /property property name=javadocdir value=dist/docs/api /property - property name=final.name value=commons-proxy-0.1 + property name=final.name value=commons-proxy-1.0 /property path id=build.classpath fileset dir=${libdir} @@ -164,7 +164,7 @@ /tstamp property name=copyright value=Copyright amp;copy; Apache Software Foundation. All Rights Reserved. /property -property name=title value=Commons Proxy 0.1 API +property name=title value=Commons Proxy 1.0 API /property javadoc use=true private=true destdir=${javadocdir} author=true version=true sourcepath=src/java packagenames=org.apache.commons.proxy.* classpath - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r385528 - /jakarta/commons/sandbox/proxy/trunk/pom.xml
Author: jcarman Date: Mon Mar 13 04:08:51 2006 New Revision: 385528 URL: http://svn.apache.org/viewcvs?rev=385528view=rev Log: Added RMIC compile to build. Modified: jakarta/commons/sandbox/proxy/trunk/pom.xml Modified: jakarta/commons/sandbox/proxy/trunk/pom.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/pom.xml?rev=385528r1=385527r2=385528view=diff == --- jakarta/commons/sandbox/proxy/trunk/pom.xml (original) +++ jakarta/commons/sandbox/proxy/trunk/pom.xml Mon Mar 13 04:08:51 2006 @@ -34,7 +34,34 @@ /resource /resources testSourceDirectorysrc/test/testSourceDirectory - +plugins +plugin +artifactIdmaven-antrun-plugin/artifactId +executions +execution +idgenerate-rmic-stubs/id +phasetest-compile/phase +configuration +tasks +property environment=env/ +path id=rmic.classpath +fileset dir=${java.home}/lib +include name=tools.jar/ +/fileset +/path + +mkdir dir=target/test-classes/ +rmic base=target/test-classes includes=**/RmiEchoImpl.class classpathref=rmic.classpath/ +/tasks +/configuration +goals +goalrun/goal +/goals +/execution +/executions +/plugin +/plugins + /build dependencies dependency - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[all] Maven2/RMIC?
All, Has anyone got RMIC to work using Maven2? Jakarta Commons Proxy's test cases need to generate RMIC stubs, but I can't get it working. It keeps complaining about either JAVA_HOME or CLASSPATH issues. There are complaints out there on the forums about it, but I didn't really see a good work-around. Here's the relevant part of the pom.xml file: plugins plugin artifactIdmaven-antrun-plugin/artifactId executions execution idgenerate-rmic-stubs/id phasetest-compile/phase configuration tasks property environment=env/ path id=rmic.classpath fileset dir=${java.home}/lib include name=tools.jar/ /fileset /path mkdir dir=target/test-classes/ rmic base=target/test-classes includes=**/RmiEchoImpl.class classpathref=rmic.classpath/ /tasks /configuration goals goalrun/goal /goals /execution /executions /plugin /plugins James - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]: Project commons-primitives (in module jakarta-commons) failed
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 commons-primitives 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: - commons-primitives : Provides a collection of types and utilities optimized for w... Full details are available at: http://vmgump.apache.org/gump/public/jakarta-commons/commons-primitives/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-primitives-13032006.jar] identifier set to project name -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/jakarta-commons/primitives/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/jakarta-commons/primitives/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/jakarta-commons/primitives/project.properties -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/jakarta-commons/commons-primitives/gump_work/build_jakarta-commons_commons-primitives.html Work Name: build_jakarta-commons_commons-primitives (Type: Build) Work ended in a state of : Failed Elapsed: 3 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/jakarta-commons/primitives] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/primitives/target/classes:/usr/local/gump/public/workspace/jakarta-commons/primitives/target/test-classes:/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-commons/collections/build/commons-collections-testframework-13032006.jar:/usr/local/gump/packages/jdepend-2.6/lib/jdepend.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar - __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 The build cannot continue because of the following unsatisfied dependency: maven-cobertura-plugin-1.1.1.jar (try downloading from http://maven-plugins.sourceforge.net/maven-cobertura-plugin/) Total time: 2 seconds Finished at: Mon Mar 13 05:30:00 PST 2006 - To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-commons/commons-primitives/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-commons/commons-primitives/atom.xml == Gump Tracking Only === Produced by Gump version 2.2. Gump Run 2613032006, vmgump.apache.org:vmgump-public:2613032006 Gump E-mail Identifier (unique within run) #67. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]: Project commons-primitives (in module jakarta-commons) failed
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 commons-primitives 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: - commons-primitives : Provides a collection of types and utilities optimized for w... Full details are available at: http://vmgump.apache.org/gump/public/jakarta-commons/commons-primitives/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-primitives-13032006.jar] identifier set to project name -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/jakarta-commons/primitives/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/jakarta-commons/primitives/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/jakarta-commons/primitives/project.properties -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/jakarta-commons/commons-primitives/gump_work/build_jakarta-commons_commons-primitives.html Work Name: build_jakarta-commons_commons-primitives (Type: Build) Work ended in a state of : Failed Elapsed: 3 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/jakarta-commons/primitives] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/primitives/target/classes:/usr/local/gump/public/workspace/jakarta-commons/primitives/target/test-classes:/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-commons/collections/build/commons-collections-testframework-13032006.jar:/usr/local/gump/packages/jdepend-2.6/lib/jdepend.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar - __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 The build cannot continue because of the following unsatisfied dependency: maven-cobertura-plugin-1.1.1.jar (try downloading from http://maven-plugins.sourceforge.net/maven-cobertura-plugin/) Total time: 2 seconds Finished at: Mon Mar 13 05:30:00 PST 2006 - To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-commons/commons-primitives/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-commons/commons-primitives/atom.xml == Gump Tracking Only === Produced by Gump version 2.2. Gump Run 2613032006, vmgump.apache.org:vmgump-public:2613032006 Gump E-mail Identifier (unique within run) #67. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [all] Maven2/RMIC?
Hi James, James Carman wrote on Monday, March 13, 2006 1:11 PM: All, Has anyone got RMIC to work using Maven2? Jakarta Commons Proxy's test cases need to generate RMIC stubs, but I can't get it working. It keeps complaining about either JAVA_HOME or CLASSPATH issues. There are complaints out there on the forums about it, but I didn't really see a good work-around. There is a rmic plugin at the in the mojo sandbox http://mojo.codehaus.org/, but I never used it nor do I know, what's the current state of it. [snip] - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]: Project commons-chain (in module jakarta-commons) failed
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 commons-chain has an issue affecting its community integration. This issue affects 16 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-chain : GoF Chain of Responsibility pattern - commons-jelly-tags-quartz : Commons Jelly - fulcrum-quartz : Services Framework - jakarta-tomcat-5 : Servlet 2.4 and JSP 2.0 Reference Implementation - jakarta-velocity-tools : Velocity-Tools project - myfaces : JavaServer(tm) Faces implementation - portals-bridges-frameworks : Support for JSR168 compliant Portlet development - portals-bridges-jsf : Support for JSR168 compliant Portlet development - portals-bridges-struts : Support for JSR168 compliant Portlet development - portals-bridges-velocity : Support for JSR168 compliant Portlet development - quartz : Job Scheduler - struts-action : Model 2 Model-View-Controller framework for Servlets and JSP - struts-el : Model 2 Model-View-Controller framework for Servlets and JSP - struts-sslext : The Struts SSL Extension for HTTP/HTTPS switching - struts-taglib : Model 2 Model-View-Controller framework for Servlets and JSP - struts-tiles : Model 2 Model-View-Controller framework for Servlets and JSP Full details are available at: http://vmgump.apache.org/gump/public/jakarta-commons/commons-chain/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-chain-13032006.jar] identifier set to project name -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/jakarta-commons/commons-chain/gump_work/build_jakarta-commons_commons-chain.html Work Name: build_jakarta-commons_commons-chain (Type: Build) Work ended in a state of : Failed Elapsed: 17 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dfinal.name=commons-chain-13032006 -f build.xml jar [Working Directory: /usr/local/gump/public/workspace/jakarta-commons/chain] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/chain/target/classes:/usr/local/gump/public/workspace/jakarta-commons/chain/target/test-classes:/usr/local/gump/packages/jsf-1_1_01/lib/jsf-api.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-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-13032006.jar:/usr/local/gump/public/workspace/portals-pluto-1.0/api/target/portlet-api-1.0.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar - [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.302 sec [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.302 sec [junit] Testcase: testPristine took 0.04 sec [junit] Testcase: testReadOnly took 0.003 sec [junit] Testcase: testReadWrite took 0.001 sec [junit] Testcase: testWriteOnly took 0.001 sec [junit] Testcase: testAttributes took 0.001 sec [junit] Testcase: testContains took 0 sec [junit] Testcase: testEquals took 0.012 sec [junit] Testcase: testKeySet took 0.001 sec [junit] Testcase: testPutAll took 0.001 sec [junit] Testcase: testSeriaization took 0.055 sec [junit] Running org.apache.commons.chain.web.ChainResourcesTestCase [junit] Testsuite: org.apache.commons.chain.web.ChainResourcesTestCase [junit] Tests run: 1, Failures: 0,
[EMAIL PROTECTED]: Project commons-chain (in module jakarta-commons) failed
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 commons-chain has an issue affecting its community integration. This issue affects 16 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-chain : GoF Chain of Responsibility pattern - commons-jelly-tags-quartz : Commons Jelly - fulcrum-quartz : Services Framework - jakarta-tomcat-5 : Servlet 2.4 and JSP 2.0 Reference Implementation - jakarta-velocity-tools : Velocity-Tools project - myfaces : JavaServer(tm) Faces implementation - portals-bridges-frameworks : Support for JSR168 compliant Portlet development - portals-bridges-jsf : Support for JSR168 compliant Portlet development - portals-bridges-struts : Support for JSR168 compliant Portlet development - portals-bridges-velocity : Support for JSR168 compliant Portlet development - quartz : Job Scheduler - struts-action : Model 2 Model-View-Controller framework for Servlets and JSP - struts-el : Model 2 Model-View-Controller framework for Servlets and JSP - struts-sslext : The Struts SSL Extension for HTTP/HTTPS switching - struts-taglib : Model 2 Model-View-Controller framework for Servlets and JSP - struts-tiles : Model 2 Model-View-Controller framework for Servlets and JSP Full details are available at: http://vmgump.apache.org/gump/public/jakarta-commons/commons-chain/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-chain-13032006.jar] identifier set to project name -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/jakarta-commons/commons-chain/gump_work/build_jakarta-commons_commons-chain.html Work Name: build_jakarta-commons_commons-chain (Type: Build) Work ended in a state of : Failed Elapsed: 17 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dfinal.name=commons-chain-13032006 -f build.xml jar [Working Directory: /usr/local/gump/public/workspace/jakarta-commons/chain] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/chain/target/classes:/usr/local/gump/public/workspace/jakarta-commons/chain/target/test-classes:/usr/local/gump/packages/jsf-1_1_01/lib/jsf-api.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-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-13032006.jar:/usr/local/gump/public/workspace/portals-pluto-1.0/api/target/portlet-api-1.0.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar - [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.302 sec [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.302 sec [junit] Testcase: testPristine took 0.04 sec [junit] Testcase: testReadOnly took 0.003 sec [junit] Testcase: testReadWrite took 0.001 sec [junit] Testcase: testWriteOnly took 0.001 sec [junit] Testcase: testAttributes took 0.001 sec [junit] Testcase: testContains took 0 sec [junit] Testcase: testEquals took 0.012 sec [junit] Testcase: testKeySet took 0.001 sec [junit] Testcase: testPutAll took 0.001 sec [junit] Testcase: testSeriaization took 0.055 sec [junit] Running org.apache.commons.chain.web.ChainResourcesTestCase [junit] Testsuite: org.apache.commons.chain.web.ChainResourcesTestCase [junit] Tests run: 1, Failures: 0,
[EMAIL PROTECTED]: Project commons-jelly-tags-xml-test (in module commons-jelly) failed
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 commons-jelly-tags-xml-test 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: - commons-jelly-tags-xml-test : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -WARNING- Overriding Maven properties: [/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/build.properties] -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-reports The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml-test/gump_work/build_commons-jelly_commons-jelly-tags-xml-test.html Work Name: build_commons-jelly_commons-jelly-tags-xml-test (Type: Build) Work ended in a state of : Failed Elapsed: 29 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-13032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar - [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] [junit] [junit] Testcase: testSetSingleNodeAndAsString(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR [junit] file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:294:81: x:set You must define an attribute called 'select' for this tag. [junit] org.apache.commons.jelly.MissingAttributeException: file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:294:81: x:set You must define an attribute called 'select' for this tag. [junit] at org.apache.commons.jelly.tags.xml.SetTag.doTag(SetTag.java:86) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] [junit] [junit] Testcase: testSetStringLists(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR [junit] file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:339:82: x:set You must define an attribute called 'select' for this tag. [junit] org.apache.commons.jelly.MissingAttributeException: file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:339:82: x:set You must define an attribute called 'select' for this tag. [junit] at org.apache.commons.jelly.tags.xml.SetTag.doTag(SetTag.java:86) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] [junit] [junit] Testcase: testEntities(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR [junit]
[EMAIL PROTECTED]: Project commons-jelly-tags-xml-test (in module commons-jelly) failed
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 commons-jelly-tags-xml-test 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: - commons-jelly-tags-xml-test : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -WARNING- Overriding Maven properties: [/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/build.properties] -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-reports The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml-test/gump_work/build_commons-jelly_commons-jelly-tags-xml-test.html Work Name: build_commons-jelly_commons-jelly-tags-xml-test (Type: Build) Work ended in a state of : Failed Elapsed: 29 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-13032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar - [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] [junit] [junit] Testcase: testSetSingleNodeAndAsString(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR [junit] file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:294:81: x:set You must define an attribute called 'select' for this tag. [junit] org.apache.commons.jelly.MissingAttributeException: file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:294:81: x:set You must define an attribute called 'select' for this tag. [junit] at org.apache.commons.jelly.tags.xml.SetTag.doTag(SetTag.java:86) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] [junit] [junit] Testcase: testSetStringLists(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR [junit] file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:339:82: x:set You must define an attribute called 'select' for this tag. [junit] org.apache.commons.jelly.MissingAttributeException: file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:339:82: x:set You must define an attribute called 'select' for this tag. [junit] at org.apache.commons.jelly.tags.xml.SetTag.doTag(SetTag.java:86) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] [junit] [junit] Testcase: testEntities(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR [junit]
RE: [all] Maven2/RMIC?
Thanks, Jörg. I tried using it, but my M2 installation couldn't download the plugin automagically. I think I'm going to have to download the source from SVN and build them into my local repository. But, if I want automated builds (like one that Mr. McClanahan could run overnight), this will not do. I can't believe this isn't something that's supported in M2. -Original Message- From: Jörg Schaible [mailto:[EMAIL PROTECTED] Sent: Monday, March 13, 2006 8:32 AM To: Jakarta Commons Developers List Subject: RE: [all] Maven2/RMIC? Hi James, James Carman wrote on Monday, March 13, 2006 1:11 PM: All, Has anyone got RMIC to work using Maven2? Jakarta Commons Proxy's test cases need to generate RMIC stubs, but I can't get it working. It keeps complaining about either JAVA_HOME or CLASSPATH issues. There are complaints out there on the forums about it, but I didn't really see a good work-around. There is a rmic plugin at the in the mojo sandbox http://mojo.codehaus.org/, but I never used it nor do I know, what's the current state of it. [snip] - Jörg - 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]
[EMAIL PROTECTED]: Project commons-latka (in module jakarta-commons) failed
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 commons-latka 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: - commons-latka : Functional Testing Suite Full details are available at: http://vmgump.apache.org/gump/public/jakarta-commons/commons-latka/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-latka.jar] identifier set to project name -DEBUG- Dependency on jaxen exists, no need to add for property jaxen.jar. -INFO- Made directory [/usr/local/gump/public/workspace/jakarta-commons/latka/target/classes] -INFO- Made directory [/usr/local/gump/public/workspace/jakarta-commons/latka/target/test-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/jakarta-commons/commons-latka/gump_work/build_jakarta-commons_commons-latka.html Work Name: build_jakarta-commons_commons-latka (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-xerces2/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xalan/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Djaxen.jar=/usr/local/gump/public/workspace/jaxen/target/jaxen-13032006.jar dist [Working Directory: /usr/local/gump/public/workspace/jakarta-commons/latka] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/latka/target/classes:/usr/local/gump/public/workspace/jakarta-commons/latka/target/test-classes:/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-commons/httpclient/dist/commons-httpclient.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/codec/dist/commons-codec-13032006.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-13032006.jar:/usr/local/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-13032006.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-13032006.jar:/usr/local/gump/public/workspace/jaxen/target/jaxen-13032006.jar - [javac] ^ [javac] /x1/gump/public/workspace/jakarta-commons/latka/src/java/org/apache/commons/latka/servlet/ViewResponseServlet.java:44: warning: [deprecation] getInstance(java.lang.Class) in org.apache.log4j.Category has been deprecated [javac] public static final Category _log = Category.getInstance( [javac] ^ [javac] /x1/gump/public/workspace/jakarta-commons/latka/src/java/org/apache/commons/latka/validators/BaseValidator.java:35: warning: [deprecation] getInstance(java.lang.Class) in org.apache.log4j.Category has been deprecated [javac] protected final Category _log = Category.getInstance(BaseValidator.class); [javac]
[EMAIL PROTECTED]: Project commons-latka (in module jakarta-commons) failed
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 commons-latka 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: - commons-latka : Functional Testing Suite Full details are available at: http://vmgump.apache.org/gump/public/jakarta-commons/commons-latka/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-latka.jar] identifier set to project name -DEBUG- Dependency on jaxen exists, no need to add for property jaxen.jar. -INFO- Made directory [/usr/local/gump/public/workspace/jakarta-commons/latka/target/classes] -INFO- Made directory [/usr/local/gump/public/workspace/jakarta-commons/latka/target/test-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/jakarta-commons/commons-latka/gump_work/build_jakarta-commons_commons-latka.html Work Name: build_jakarta-commons_commons-latka (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-xerces2/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xalan/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Djaxen.jar=/usr/local/gump/public/workspace/jaxen/target/jaxen-13032006.jar dist [Working Directory: /usr/local/gump/public/workspace/jakarta-commons/latka] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/latka/target/classes:/usr/local/gump/public/workspace/jakarta-commons/latka/target/test-classes:/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-commons/httpclient/dist/commons-httpclient.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/codec/dist/commons-codec-13032006.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-13032006.jar:/usr/local/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-13032006.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-13032006.jar:/usr/local/gump/public/workspace/jaxen/target/jaxen-13032006.jar - [javac] ^ [javac] /x1/gump/public/workspace/jakarta-commons/latka/src/java/org/apache/commons/latka/servlet/ViewResponseServlet.java:44: warning: [deprecation] getInstance(java.lang.Class) in org.apache.log4j.Category has been deprecated [javac] public static final Category _log = Category.getInstance( [javac] ^ [javac] /x1/gump/public/workspace/jakarta-commons/latka/src/java/org/apache/commons/latka/validators/BaseValidator.java:35: warning: [deprecation] getInstance(java.lang.Class) in org.apache.log4j.Category has been deprecated [javac] protected final Category _log = Category.getInstance(BaseValidator.class); [javac]
[EMAIL PROTECTED]: Project commons-jelly-tags-html (in module commons-jelly) failed
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 commons-jelly-tags-html 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: - commons-jelly-tags-html : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-html/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-jelly-tags-html-13032006.jar] identifier set to project name -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-reports -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-html/gump_work/build_commons-jelly_commons-jelly-tags-html.html Work Name: build_commons-jelly_commons-jelly-tags-html (Type: Build) Work ended in a state of : Failed Elapsed: 12 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/html] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/commons-jelly-tags-jsl-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-13032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar:/usr/local/gump/packages/nekohtml-0.9.5/nekohtml.jar - [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] [junit] [junit] Testcase: testLowerCase(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR [junit] file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:40:48: test:assert You must define an attribute called 'test' for this tag. [junit] org.apache.commons.jelly.MissingAttributeException: file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:40:48: test:assert You must define an attribute called 'test' for this tag. [junit] at org.apache.commons.jelly.tags.junit.AssertTag.doTag(AssertTag.java:54) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] [junit] [junit] Testcase: testMixedCase(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR [junit] file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:47:48: test:assert You must define an attribute called 'test' for this tag. [junit] org.apache.commons.jelly.MissingAttributeException: file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:47:48: test:assert You must define an attribute called 'test' for this tag. [junit] at
[EMAIL PROTECTED]: Project commons-jelly-tags-html (in module commons-jelly) failed
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 commons-jelly-tags-html 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: - commons-jelly-tags-html : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-html/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-jelly-tags-html-13032006.jar] identifier set to project name -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-reports -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-html/gump_work/build_commons-jelly_commons-jelly-tags-html.html Work Name: build_commons-jelly_commons-jelly-tags-html (Type: Build) Work ended in a state of : Failed Elapsed: 12 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/html] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/commons-jelly-tags-jsl-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-13032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar:/usr/local/gump/packages/nekohtml-0.9.5/nekohtml.jar - [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] [junit] [junit] Testcase: testLowerCase(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR [junit] file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:40:48: test:assert You must define an attribute called 'test' for this tag. [junit] org.apache.commons.jelly.MissingAttributeException: file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:40:48: test:assert You must define an attribute called 'test' for this tag. [junit] at org.apache.commons.jelly.tags.junit.AssertTag.doTag(AssertTag.java:54) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] [junit] [junit] Testcase: testMixedCase(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR [junit] file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:47:48: test:assert You must define an attribute called 'test' for this tag. [junit] org.apache.commons.jelly.MissingAttributeException: file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:47:48: test:assert You must define an attribute called 'test' for this tag. [junit] at
[EMAIL PROTECTED]: Project commons-jelly-tags-jsl-test (in module commons-jelly) failed
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 commons-jelly-tags-jsl-test 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: - commons-jelly-tags-jsl-test : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on ant exists, no need to add for property maven.jar.ant-optional. -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -WARNING- Overriding Maven properties: [/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties] -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/test-reports The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/gump_work/build_commons-jelly_commons-jelly-tags-jsl-test.html Work Name: build_commons-jelly_commons-jelly-tags-jsl-test (Type: Build) Work ended in a state of : Failed Elapsed: 16 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl] CLASSPATH: /opt/jdk1.5/lib/tools.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/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/ant/target/commons-jelly-tags-ant-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-13032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar - [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262) [junit] at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) [junit] at org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:234) [junit] at org.apache.commons.jelly.tags.core.SetTag.doTag(SetTag.java:90) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) [junit] at org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:160) [junit] at org.dom4j.rule.Mode.fireRule(Mode.java:58) [junit] at org.dom4j.rule.Mode.applyTemplates(Mode.java:79) [junit] at org.dom4j.rule.RuleManager$1.run(RuleManager.java:171) [junit] at org.dom4j.rule.Mode.fireRule(Mode.java:58) [junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:102) [junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:91) [junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:78) [junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:71)
[EMAIL PROTECTED]: Project commons-jelly-tags-jsl-test (in module commons-jelly) failed
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 commons-jelly-tags-jsl-test 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: - commons-jelly-tags-jsl-test : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on ant exists, no need to add for property maven.jar.ant-optional. -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -WARNING- Overriding Maven properties: [/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties] -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/test-reports The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/gump_work/build_commons-jelly_commons-jelly-tags-jsl-test.html Work Name: build_commons-jelly_commons-jelly-tags-jsl-test (Type: Build) Work ended in a state of : Failed Elapsed: 16 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl] CLASSPATH: /opt/jdk1.5/lib/tools.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/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/ant/target/commons-jelly-tags-ant-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-13032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar - [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262) [junit] at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) [junit] at org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:234) [junit] at org.apache.commons.jelly.tags.core.SetTag.doTag(SetTag.java:90) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) [junit] at org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:160) [junit] at org.dom4j.rule.Mode.fireRule(Mode.java:58) [junit] at org.dom4j.rule.Mode.applyTemplates(Mode.java:79) [junit] at org.dom4j.rule.RuleManager$1.run(RuleManager.java:171) [junit] at org.dom4j.rule.Mode.fireRule(Mode.java:58) [junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:102) [junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:91) [junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:78) [junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:71)
[EMAIL PROTECTED]: Project commons-jelly-tags-define-test (in module commons-jelly) failed
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 commons-jelly-tags-define-test 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: - commons-jelly-tags-define-test : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-define-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -WARNING- Overriding Maven properties: [/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/build.properties] -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/target/test-reports The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-define-test/gump_work/build_commons-jelly_commons-jelly-tags-define-test.html Work Name: build_commons-jelly_commons-jelly-tags-define-test (Type: Build) Work ended in a state of : Failed Elapsed: 14 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/define] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/dynabean/target/commons-jelly-tags-dynabean-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-13032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar - [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:118) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) [junit] at junit.framework.TestSuite.run(TestSuite.java:203) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536) [junit] Mar 13, 2006 6:33:42 AM org.apache.commons.jelly.expression.xpath.XPathExpression evaluate [junit] SEVERE: Error constructing xpath [junit] org.jaxen.XPathSyntaxException: Node-set expected [junit] at org.jaxen.BaseXPath.init(BaseXPath.java:131) [junit] at org.jaxen.BaseXPath.init(BaseXPath.java:156) [junit] at org.jaxen.dom4j.Dom4jXPath.init(Dom4jXPath.java:101) [junit] at org.apache.commons.jelly.expression.xpath.XPathExpression.evaluate(XPathExpression.java:78) [junit] at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:256) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] at junit.framework.TestCase.runBare(TestCase.java:127) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at
[EMAIL PROTECTED]: Project commons-jelly-tags-define-test (in module commons-jelly) failed
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 commons-jelly-tags-define-test 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: - commons-jelly-tags-define-test : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-define-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -WARNING- Overriding Maven properties: [/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/build.properties] -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/target/test-reports The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-define-test/gump_work/build_commons-jelly_commons-jelly-tags-define-test.html Work Name: build_commons-jelly_commons-jelly-tags-define-test (Type: Build) Work ended in a state of : Failed Elapsed: 14 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/define] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/dynabean/target/commons-jelly-tags-dynabean-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-13032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-13032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-13032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar - [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:118) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) [junit] at junit.framework.TestSuite.run(TestSuite.java:203) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536) [junit] Mar 13, 2006 6:33:42 AM org.apache.commons.jelly.expression.xpath.XPathExpression evaluate [junit] SEVERE: Error constructing xpath [junit] org.jaxen.XPathSyntaxException: Node-set expected [junit] at org.jaxen.BaseXPath.init(BaseXPath.java:131) [junit] at org.jaxen.BaseXPath.init(BaseXPath.java:156) [junit] at org.jaxen.dom4j.Dom4jXPath.init(Dom4jXPath.java:101) [junit] at org.apache.commons.jelly.expression.xpath.XPathExpression.evaluate(XPathExpression.java:78) [junit] at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:256) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] at junit.framework.TestCase.runBare(TestCase.java:127) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at
RE: [all] Maven2/RMIC?
Hi James, James Carman wrote on Monday, March 13, 2006 2:39 PM: Thanks, Jörg. I tried using it, but my M2 installation couldn't download the plugin automagically. M2 will not download unreleased or SNAPSHOT plugins automagically, you have to enable this: http://maven.apache.org/guides/development/guide-testing-development-plugins.html. I think I'm going to have to download the source from SVN and build them into my local repository. But, if I want automated builds (like one that Mr. McClanahan could run overnight), this will not do. I can't believe this isn't something that's supported in M2. - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [all] Maven2/RMIC?
I think you have to declare mojo snapshot repository in your pom.xml : http://mojo.codehaus.org/using-sandbox-plugins.html I myself don't yet use maven2 (just looking at it), so I can't help you. James Carman a écrit : Thanks, Jörg. I tried using it, but my M2 installation couldn't download the plugin automagically. I think I'm going to have to download the source from SVN and build them into my local repository. But, if I want automated builds (like one that Mr. McClanahan could run overnight), this will not do. I can't believe this isn't something that's supported in M2. -Original Message- From: Jörg Schaible [mailto:[EMAIL PROTECTED] Sent: Monday, March 13, 2006 8:32 AM To: Jakarta Commons Developers List Subject: RE: [all] Maven2/RMIC? Hi James, James Carman wrote on Monday, March 13, 2006 1:11 PM: All, Has anyone got RMIC to work using Maven2? Jakarta Commons Proxy's test cases need to generate RMIC stubs, but I can't get it working. It keeps complaining about either JAVA_HOME or CLASSPATH issues. There are complaints out there on the forums about it, but I didn't really see a good work-around. There is a rmic plugin at the in the mojo sandbox http://mojo.codehaus.org/, but I never used it nor do I know, what's the current state of it. [snip] - Jörg - 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 message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 38927] - [io] Tests Fail on Windows 2000
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=38927. 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=38927 --- Additional Comments From [EMAIL PROTECTED] 2006-03-13 16:22 --- (In reply to comment #7) Niall, what is the exact error during failure? Maven is notorious for running out of memory on every Windows machine I've had for the last 2 years, and so this little gem has done wonders for me... set MAVEN_OPTS=-Xmx768m There isn't acutall any error where the problem is occurring - a number of the tests delete/create a test directory (test/io) in their setup() method. In a single test case it will happliy do that correctly for a number of tests - but then just stop. The test directory is being created using File's mkdirs() method - if it doesn't create the directories it just returns false - that then causes the tests to fail, since its expecting the dir to exist. I tried increasing the memory - but that didn't change anything. Thanks for the suggestion though. -- 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]
DO NOT REPLY [Bug 38953] New: - Need addition of clone() method/concept to Configuration interface and/or implementing classes
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=38953. 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=38953 Summary: Need addition of clone() method/concept to Configuration interface and/or implementing classes Product: Commons Version: 1.2 Final Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Configuration AssignedTo: commons-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] Original email text: --- The HierarchicalConfiguration class contains a clone() method, to allow decoupling of a configuration from the underlying file to prevent ill effects during configuration updates. So, for example, I can clone an XMLConfiguration for a user's session in a web app and update the configuration file underneath so that the updates will be active for the next user and the current user will not experience some undesirable effect due to the change. My question is why this concept does not exist at a higher level? It would seem that any class that implements the FileConfiguration interface (and therefore the ReloadingStategy concept), should implement a method that allows the configuration to be temporarily decoupled from the source. Are there any plans for cloning to be enforced at a FileConfiguration level? From a completely selfish standpoint, I have a CompositeConfiguration object that contains several PropertiesConfigurations and XMLConfigurations with different reloading strategies. I'd like to clone this for each user session for the above mentioned reason. Ideally, the CompositeConfiguration would be clonable (cloning each of the encapsulated configurations), but barring that, it would be nice to be able to loop through the contained configurations and perform a FileConfiguration.clone() on each object. Or maybe there's another way to do this that I'm not seeing? TIA, Mike Mike, a consistent implementation of clone() methods would IMO make sense for most of the Configuration implementations. Would you be so kind to open an enhancement ticket for this in bugzilla, so this idea won't get lost (see http://jakarta.apache.org/commons/configuration/issue-tracking.html)? Thanks. What may help you ATM are some utility methods in ConfigurationUtils for copying configurations. You might have a look at this class and maybe you can use some of the stuff to solve your problem. Oliver -- 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]
DO NOT REPLY [Bug 38953] - [configuration] Need addition of clone() method/concept to Configuration interface and/or implementing classes
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=38953. 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=38953 [EMAIL PROTECTED] changed: What|Removed |Added Summary|Need addition of clone()|[configuration] Need |method/concept to |addition of clone() |Configuration interface |method/concept to |and/or implementing classes |Configuration interface ||and/or implementing classes -- 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]
DO NOT REPLY [Bug 38953] - [configuration] clone() implementation for all configurations
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=38953. 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=38953 [EMAIL PROTECTED] changed: What|Removed |Added Summary|[configuration] Need|[configuration] clone() |addition of clone() |implementation for all |method/concept to |configurations |Configuration interface | |and/or implementing classes | -- 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]
DO NOT REPLY [Bug 38929] - [configuration] Support event listeners for configurations
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=38929. 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=38929 --- Additional Comments From [EMAIL PROTECTED] 2006-03-13 18:14 --- What are the functional requirements for this feature? A set of real use cases would help us in specifying this properly. Notifications are useful when complex objects are initialised from the configuration and need to be destroyed and rebuilt from scratch whenever a property changes. A JDBC connection pool is a good example. It could be configured with the following set of properties in a config.properties file: database.driver=oracle.jdbc.driver.OracleDriver database.url=jdbc:oracle:thin:@127.0.0.1:1525:JAKARTA database.username=scott database.password=tiger If one of these properties changes, the pool has to be reinitialised. Monitoring all the properties individually is not very practical. It would lead to a code like this: conf.addPropertyListener(database.driver, this); conf.addPropertyListener(database.url, this); conf.addPropertyListener(database.username, this); conf.addPropertyListener(database.password, this); With the risk of receiving 4 notifications when the configuration file changes, leading to 4 consecutive reinitialisations of the pool, this is clearly not desirable. This shows the need to monitor a set of properties. I have 3 types of syntax in mind for this: conf.addPropertyListener(database.*, this); or conf.subset(database).addPropertyListener(*, this); or conf.subset(database).addConfigurationListener(this); (a ConfigurationListener would listen for configuration wide events like reload and clear, a PropertyListener would listen for changes specific to a given property, or a set of properties). This raises the issue of the notifications for subsets or sub nodes, this may be fun to implement :) More use cases would be helpful. It might also be worth looking at the notification mechanisms of JMX and java.util.prefs. The Preferences API has node level notifications. JMX has a concept of error notification similar to Jorg's idea (MonitorNotification.OBSERVED_ATTRIBUTE_ERROR), it also tracks in the event fired the old value and the class of the property changed. -- 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]
Re: [math] Prime Numbers Library.
On 3/12/06, Bill Barker [EMAIL PROTECTED] wrote: Sharon Lourduraj [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, Thank you for the positive input on implementing Prime Number functions. I have created a 'wish' on the Math Wish List page. I would like to lay out an initial plan before everyone starts to jump into coding the algorithms. Here is the base off-my-head plan, in the order that might prove the implementation to be of positive value, also the order of difficulty: 1. Implement naive primality (quick tests, but are slow for large numbers) testing algorithms. These algorithms are not very fast and are mainly intended for small numbers. Some involve trial and error methods. Some involve generating a sieve, as aligned, to test the given number and derive result from the contents of the sieve. +1 IMHO, this really should be a part of [math]. +1 for API, +0 for naive implementation. I am OK with starting with naive implementations to get the API right, which is a strategy that we have used before, but need to make sure the design will support robust impls. 2. Implement probabilistic testing (classical tests) algorithms. These algorithms include tests that identify a number as a probable-prime, of course using logical deduction (Fermat, Miller-Rabin, etc.) theorized by mathematicians. These algorithms are relatively fast for large numbers, but are sophisticated. They do contain a calculated error margin. Currently, [math] doesn't support integer calculations bigger than 'int'. It could do 'long', but it's really not much of an improvement in this area. It's really is going to need a BigInteger class simply to handle the 2048+ bit integers that are of interest to crypto providers. Of course, the number theorests will want much larger :). And, yes, I'm volunteering. What about the jdk-supplied class? I don't know anything about the implementation, but this class also supports a probablePrime method that takes a Random and bit length as arguments. We could provide one of our own (Random's) there and leverage the primitives in this class. Assm you mean using or extending this, or accomodating BigIntegers in the API. Or is the jdk impl not usable? 3. Implement General purpose testing algorithms. These algorithms are extremely advanced. They are significantly faster than any other algorithms. Some of these algorithms have been widely accepted to work, but are based on conjectures that have still not been proved true (but are widely assumed to be). These algorithms will significantly test our brains and the scope of [math]. Bring it on ;-). +1 and of course the Riemann hypothesis is true ;-P Alright, all that thoughts are off my head now. Feel free to make any corrections, I do not have much knowledge of advanced algorithms just a keen interest. Also, feel free to make suggestions. I have created a wiki entry :-) http://wiki.apache.org/jakarta-commons/PrimeNumbers Thanks!! Phil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] Release Commons IO 1.2 (based on RC3)
On 13/03/06, Henri Yandell [EMAIL PROTECTED] wrote: Errors are: [...] Testcase: testGetFreeSpace_String(org.apache.commons.io.FileSystemUtilsTestCase): FAILED expected:9.4452176E7 but was:4.7226088E7 junit.framework.AssertionFailedError: expected:9.4452176E7 but was:4.7226088E7 at org.apache.commons.io.FileSystemUtilsTestCase.testGetFreeSpace_String(FileSystemUtilsTestCase.java:68) The problem here is that OS X uses 512 byte block sizes, not 1k as the test assumes. So no way it'll pass. BTW, OpenVMS also uses a 512 byte block size. S. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [pool][proposal] Release 1.3 WAS: [dbcp][pool] Failing tests, dependent bugs
On Mon, 2006-03-13 at 01:43 -0500, Sandy McArthur wrote: I'm Still figuring out how releases work but here is the generated site for peer review. http://people.apache.org/~sandymac/pool/1.3-rc0/site/ Let me know if I made any serious mistakes. look ok there are some small improvements which don't appear to have filtered down to pool as yet. probably easier if i patch them but i'll try to give full comments on the what and why. if you plan to act as a release manager, you'll need to be know how to create detached openPGP compatible signatures. if you're not familiar with this, i've been working on the apache guide and i'd be glad to help out in return for some testing of the documentation ;) - robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] Demote Latka and Resources to Dormant
On Mon, 2006-03-13 at 05:25 -0500, James Mitchell wrote: I agree with Niall. I've written several database-based implementations for resources, and there already exists a Struts plugin for resources that let's our users use commons-resources now (and is backward compatible to Struts 1.1). The only thing commons-resources really suffers from is not having someone give the time to do a release. I feel it is ready, I just don't have the time right now. i'm hoping that's what dormant means: resources is just suffering from a lack of developer time right. i'd definitely support a move back to proper if anyone steps up with the energy to push it to a release. - robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r385663 - in /jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH: maven.xml project.properties xdocs/navigation.xml
Author: rdonkin Date: Mon Mar 13 13:44:54 2006 New Revision: 385663 URL: http://svn.apache.org/viewcvs?rev=385663view=rev Log: Moved pool onto new system (suggested by Stephen Colebourne) which allows builds without the commons-build directory. Modified: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.properties jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/navigation.xml Modified: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml?rev=385663r1=385662r2=385663view=diff == --- jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml (original) +++ jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml Mon Mar 13 13:44:54 2006 @@ -17,23 +17,6 @@ xmlns:j=jelly:core xmlns:ant=jelly:ant - !-- == -- - !-- START : C O M M O N S - B U I L D -- - !-- == -- - !-- Required: Look and Feel for documentation within distributions -- - !-- == -- - postGoal name=xdoc:copy-resources -copy todir=${basedir}/target/docs/style/ failonerror=false - fileset dir=${basedir}/../commons-build/xdocs/style - include name='**/*'/ - exclude name='**/CVS/**'/ - /fileset -/copy - /postGoal - !-- == -- - !-- END: C O M M O N S - B U I L D -- - !-- == -- - !-- == DIST == -- !-- Copied from Commons-Collections-- postGoal name=dist:prepare-bin-filesystem Modified: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.properties URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.properties?rev=385663r1=385662r2=385663view=diff == --- jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.properties (original) +++ jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.properties Mon Mar 13 13:44:54 2006 @@ -30,8 +30,6 @@ maven.jar.manifest.attribute.X-Compile-Source-JDK=${maven.compile.source} maven.jar.manifest.attribute.X-Compile-Target-JDK=${maven.compile.target} -# commons site LF -maven.xdoc.jsl=../commons-build/commons-site.jsl maven.xdoc.date=bottom maven.xdoc.poweredby.image=maven-feather.png Modified: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/navigation.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/navigation.xml?rev=385663r1=385662r2=385663view=diff == --- jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/navigation.xml (original) +++ jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/navigation.xml Mon Mar 13 13:44:54 2006 @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. -- -!DOCTYPE org.apache.commons.menus SYSTEM '../../commons-build/menus/menus.dtd' +!DOCTYPE org.apache.commons.menus SYSTEM 'http://jakarta.apache.org/commons/build/maven-build.dtd' project name=Commons Pool titleCommons Pool/title organizationLogo href=/images/jakarta-logo-blue.gif @@ -38,6 +38,6 @@ item name=Wiki href=http://wiki.apache.org/jakarta-commons/Pool/ /menu -common-menus; +commons; /body /project - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [pool][proposal] Release 1.3 WAS: [dbcp][pool] Failing tests, dependent bugs
On 3/13/06, robert burrell donkin [EMAIL PROTECTED] wrote: On Mon, 2006-03-13 at 01:43 -0500, Sandy McArthur wrote: I'm Still figuring out how releases work but here is the generated site for peer review. http://people.apache.org/~sandymac/pool/1.3-rc0/site/ Let me know if I made any serious mistakes. look ok there are some small improvements which don't appear to have filtered down to pool as yet. Well, the last release was in 2004, I'm sure the site build needs lots of love. probably easier if i patch them but i'll try to give full comments on the what and why. Honesty, I'm generally not that interest in two years of tweaks so just do it. I'll pay attention to changes moving forward. if you plan to act as a release manager, you'll need to be know how to create detached openPGP compatible signatures. if you're not familiar with this, i've been working on the apache guide and i'd be glad to help out in return for some testing of the documentation ;) I don't need to be the release manager. I'm just trying to push a release forward. -- Sandy McArthur He who dares not offend cannot be honest. - Thomas Paine - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: svn commit: r385663 - in /jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH: maven.xml project.properties xdocs/navigation.xml
Looks like you are missing the single line project.css file :-) Stephen [EMAIL PROTECTED] wrote: Author: rdonkin Date: Mon Mar 13 13:44:54 2006 New Revision: 385663 URL: http://svn.apache.org/viewcvs?rev=385663view=rev Log: Moved pool onto new system (suggested by Stephen Colebourne) which allows builds without the commons-build directory. Modified: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.properties jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/navigation.xml Modified: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml?rev=385663r1=385662r2=385663view=diff == --- jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml (original) +++ jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml Mon Mar 13 13:44:54 2006 @@ -17,23 +17,6 @@ xmlns:j=jelly:core xmlns:ant=jelly:ant - !-- == -- - !-- START : C O M M O N S - B U I L D -- - !-- == -- - !-- Required: Look and Feel for documentation within distributions -- - !-- == -- - postGoal name=xdoc:copy-resources -copy todir=${basedir}/target/docs/style/ failonerror=false - fileset dir=${basedir}/../commons-build/xdocs/style - include name='**/*'/ - exclude name='**/CVS/**'/ - /fileset -/copy - /postGoal - !-- == -- - !-- END: C O M M O N S - B U I L D -- - !-- == -- - !-- == DIST == -- !-- Copied from Commons-Collections-- postGoal name=dist:prepare-bin-filesystem Modified: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.properties URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.properties?rev=385663r1=385662r2=385663view=diff == --- jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.properties (original) +++ jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.properties Mon Mar 13 13:44:54 2006 @@ -30,8 +30,6 @@ maven.jar.manifest.attribute.X-Compile-Source-JDK=${maven.compile.source} maven.jar.manifest.attribute.X-Compile-Target-JDK=${maven.compile.target} -# commons site LF -maven.xdoc.jsl=../commons-build/commons-site.jsl maven.xdoc.date=bottom maven.xdoc.poweredby.image=maven-feather.png Modified: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/navigation.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/navigation.xml?rev=385663r1=385662r2=385663view=diff == --- jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/navigation.xml (original) +++ jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/navigation.xml Mon Mar 13 13:44:54 2006 @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. -- -!DOCTYPE org.apache.commons.menus SYSTEM '../../commons-build/menus/menus.dtd' +!DOCTYPE org.apache.commons.menus SYSTEM 'http://jakarta.apache.org/commons/build/maven-build.dtd' project name=Commons Pool titleCommons Pool/title organizationLogo href=/images/jakarta-logo-blue.gif @@ -38,6 +38,6 @@ item name=Wiki href=http://wiki.apache.org/jakarta-commons/Pool/ /menu -common-menus; +commons; /body /project - 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]
svn commit: r385666 - /jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.xml
Author: rdonkin Date: Mon Mar 13 13:51:47 2006 New Revision: 385666 URL: http://svn.apache.org/viewcvs?rev=385666view=rev Log: Removed the developer activity report. This has issues when run against the ASF repository. The algorithm of all the date related analysis tools is believed to rely on revision number. The import from CVS means that this algorithm may not return accurate data. I've checked the result from the other time sensitive reports and they look ok. Modified: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.xml Modified: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.xml?rev=385666r1=385665r2=385666view=diff == --- jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.xml (original) +++ jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.xml Mon Mar 13 13:51:47 2006 @@ -217,7 +217,8 @@ reports reportmaven-changelog-plugin/report reportmaven-changes-plugin/report -reportmaven-developer-activity-plugin/report +!-- This report is suspected not to accurate when run against the ASF repository -- +!--reportmaven-developer-activity-plugin/report-- reportmaven-file-activity-plugin/report reportmaven-javadoc-plugin/report reportmaven-jdepend-plugin/report - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r385669 - /jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/issue-tracking.xml
Author: rdonkin Date: Mon Mar 13 14:07:14 2006 New Revision: 385669 URL: http://svn.apache.org/viewcvs?rev=385669view=rev Log: This file overrides the default version generated by maven. It contains more detailed information. Added: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/issue-tracking.xml Added: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/issue-tracking.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/issue-tracking.xml?rev=385669view=auto == --- jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/issue-tracking.xml (added) +++ jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/issue-tracking.xml Mon Mar 13 14:07:14 2006 @@ -0,0 +1,63 @@ +?xml version=1.0? +!-- +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. +-- +document + + properties +titleIssue tracking/title +author email=commons-dev@jakarta.apache.orgCommons Documentation Team/author + /properties + + body +!-- == -- +section name=Issue tracking + p +Commons Pool uses a href=http://issues.apache.org/bugzilla/;ASF Bugzilla/a for tracking issues. +To use Bugzilla you may need to a href=http://issues.apache.org/bugzilla/createaccount.cgi;create an account/a. + /p + p +If you would like to report a bug, or raise an enhancement request with +Commons Pool please do the following: +ol +lia href=http://issues.apache.org/bugzilla/buglist.cgi?bug_status=UNCONFIRMEDamp;bug_status=NEWamp;bug_status=ASSIGNEDamp;bug_status=REOPENEDamp;bug_status=NEEDINFOamp;product=Commonsamp;component=Pool;Search existing open bugs/a. +If you find your issue listed then please add a comment with your details./li +lia href=http://mail-archives.apache.org/mod_mbox/jakarta-commons-dev/;Search the mailing list archive/a. +You may find your issue or idea has already been discussed./li +lia href=http://issues.apache.org/bugzilla/enter_bug.cgi?product=Commonsamp;component=Poolamp;version=1.1%20Finalamp;short_desc=%5Bpool%5D%20%22Your%20subject%20heading%20here%22amp;comment=Please%20provide%20details%20here.%20Its%20best%20to%20submit%20patches%20that%20alter%0D%0Aexisting%20file%20content%20in%20%22unified%20diff%22%20format.%20%0D%0A%0D%0ASubmissions%20that%20provide%20new%20files%20can%20be%20supplied%20as%20direct%20file%0D%0Aattachments%20or%20archives%20in%20zip%20or%20tar.gz%20format.%20Please%20be%20kind%20%0D%0Aenough%20to%20identify%20the%20format%20of%20the%20attached%20archive%20as%20Bugzilla%0D%0Atends%20to%20strip%20these%20characterstics%20by%20removing%20the%20files%20extension.;Submit a bug report or enhancement request/a. +Please prefix all new issues with [pool] in the summary line. +/li +/ol + /p + p +Please also remember these points: +ul + lithe more information you provide, the better we can help you/li + litest cases are vital, particularly for any proposed enhancements/li + lithe developers of Commons Pool are all unpaid volunteers/li +/ul + /p + p +You may also find these links useful: +ul + lia href=http://issues.apache.org/bugzilla/buglist.cgi?bug_status=UNCONFIRMEDamp;bug_status=NEWamp;bug_status=ASSIGNEDamp;bug_status=REOPENEDamp;bug_status=NEEDINFOamp;product=Commonsamp;component=Pool;All Open Pool bugs/a/li + lia href=http://issues.apache.org/bugzilla/buglist.cgi?bug_status=RESOLVEDamp;bug_status=VERIFIEDamp;bug_status=CLOSEDamp;product=Commonsamp;component=Pool;All Closed Pool bugs/a/li + lia href=http://issues.apache.org/bugzilla/buglist.cgi?bug_status=UNCONFIRMEDamp;bug_status=NEWamp;bug_status=ASSIGNEDamp;bug_status=REOPENEDamp;bug_status=NEEDINFOamp;bug_status=RESOLVEDamp;bug_status=VERIFIEDamp;bug_status=CLOSEDamp;product=Commonsamp;component=Pool;All Pool bugs/a/li +/ul + /p +/section +!-- == -- + /body +/document - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r385671 - /jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/cvs-usage.xml
Author: rdonkin Date: Mon Mar 13 14:12:19 2006 New Revision: 385671 URL: http://svn.apache.org/viewcvs?rev=385671view=rev Log: This file overrides the default version generated by maven. It contains more detailed information. Added: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/cvs-usage.xml Added: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/cvs-usage.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/cvs-usage.xml?rev=385671view=auto == --- jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/cvs-usage.xml (added) +++ jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/cvs-usage.xml Mon Mar 13 14:12:19 2006 @@ -0,0 +1,46 @@ +?xml version=1.0? +!-- +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. +-- +document + + properties +titleSource repository/title +author email=commons-dev@jakarta.apache.orgCommons Documentation Team/author + /properties + + body +!-- == -- +section name=Source repository + p +Jakarta Commons Pool is hosted on the Apache +a href=http://subversion.tigris.org/;subversion/a repository. + /p + p +The project URL is:br / + codehttp://svn.apache.org/repos/asf/jakarta/commons/proper/pool/trunk/code + /p + p +The best way to view the repository is via the +a href=http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/pool/trunk/;subversion viewer/a. + /p + p +The alternative is to use the +a href=http://svn.apache.org/repos/asf/jakarta/commons/proper/pool/trunk/;native subversion/a display. + /p +/section +!-- == -- + /body +/document - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r385673 - in /jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH: maven.xml project.properties project.xml
Author: rdonkin Date: Mon Mar 13 14:18:50 2006 New Revision: 385673 URL: http://svn.apache.org/viewcvs?rev=385673view=rev Log: Missed copyright update. Doh Modified: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.properties jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.xml Modified: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml?rev=385673r1=385672r2=385673view=diff == --- jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml (original) +++ jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml Mon Mar 13 14:18:50 2006 @@ -1,5 +1,5 @@ !-- - Copyright 2002-2004 The Apache Software Foundation + Copyright 2002-2004,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. Modified: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.properties URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.properties?rev=385673r1=385672r2=385673view=diff == --- jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.properties (original) +++ jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.properties Mon Mar 13 14:18:50 2006 @@ -1,4 +1,4 @@ -# Copyright 2003-2004 The Apache Software Foundation +# Copyright 2003-2004,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. Modified: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.xml?rev=385673r1=385672r2=385673view=diff == --- jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.xml (original) +++ jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.xml Mon Mar 13 14:18:50 2006 @@ -1,6 +1,6 @@ ?xml version=1.0? !-- - Copyright 2003-2004 The Apache Software Foundation + Copyright 2003-2004,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. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] Demote Latka and Resources to Dormant
On Sun, 2006-03-12 at 22:04 +, Stephen Colebourne wrote: Demote [reosurces] to dormant status (It's main customer Struts isn't using it now) [ ] +1 - Demote [ ] -1 - Keep [resources] alive, because... Hi, I use a resources snapshot too and I'd really like it to see a release because it forms a flexible i18n foundation. Probably I should move it higher on my todo list ;-) Christian -- Christian Meder, email: [EMAIL PROTECTED] The Way-Seeking Mind of a tenzo is actualized by rolling up your sleeves. (Eihei Dogen Zenji) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r385680 - in /jakarta/commons/proper/io/trunk/src: java/org/apache/commons/io/FileSystemUtils.java test/org/apache/commons/io/FileSystemUtilsTestCase.java
Author: scolebourne Date: Mon Mar 13 14:27:09 2006 New Revision: 385680 URL: http://svn.apache.org/viewcvs?rev=385680view=rev Log: Handle 512byte blocks such as on OS X Modified: jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FileSystemUtils.java jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/FileSystemUtilsTestCase.java Modified: jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FileSystemUtils.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FileSystemUtils.java?rev=385680r1=385679r2=385680view=diff == --- jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FileSystemUtils.java (original) +++ jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FileSystemUtils.java Mon Mar 13 14:27:09 2006 @@ -100,8 +100,10 @@ * Returns the free space on a drive or volume by invoking * the command line. * This method does not normalize the result, and typically returns - * bytes on Windows and Kilobytes on Unix. - * See also [EMAIL PROTECTED] #freeSpaceKb(String)}. + * bytes on Windows, 512 byte units on OS X and kilobytes on Unix. + * p + * See also [EMAIL PROTECTED] #freeSpaceKb(String)} for a better implementation + * which normalizes to kilobytes. * p * Note that some OS's are NOT currently supported, including OS/390. * pre Modified: jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/FileSystemUtilsTestCase.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/FileSystemUtilsTestCase.java?rev=385680r1=385679r2=385680view=diff == --- jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/FileSystemUtilsTestCase.java (original) +++ jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/FileSystemUtilsTestCase.java Mon Mar 13 14:27:09 2006 @@ -18,6 +18,7 @@ import java.io.BufferedReader; import java.io.File; import java.io.IOException; +import java.io.InputStreamReader; import java.io.StringReader; import junit.framework.Test; @@ -62,10 +63,28 @@ public void testGetFreeSpace_String() throws Exception { // test coverage, as we can't check value if (File.separatorChar == '/') { -// test assumes Unix using 1kb blocks +// have to figure out unix block size +Process proc = Runtime.getRuntime().exec(new String[] {df, /}); +boolean kilobyteBlock = true; +BufferedReader r = null; +try { +r = new BufferedReader(new InputStreamReader(proc.getInputStream())); +String line = r.readLine(); +if (line.toLowerCase().indexOf(512) = 0) { +kilobyteBlock = false; +} +} finally { +IOUtils.closeQuietly(r); +} + +// now perform the test long free = FileSystemUtils.freeSpace(/); long kb = FileSystemUtils.freeSpaceKb(/); -assertEquals((double) free, (double) kb, 256d); +if (kilobyteBlock) { +assertEquals((double) free, (double) kb, 256d); +} else { +assertEquals((double) free / 2d, (double) kb, 256d); +} } else { long bytes = FileSystemUtils.freeSpace(); long kb = FileSystemUtils.freeSpaceKb(); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r385683 - /jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.xml
Author: sandymac Date: Mon Mar 13 14:31:33 2006 New Revision: 385683 URL: http://svn.apache.org/viewcvs?rev=385683view=rev Log: Removed the developer activity dependency since the same report is disabled. Modified: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.xml Modified: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.xml?rev=385683r1=385682r2=385683view=diff == --- jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.xml (original) +++ jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.xml Mon Mar 13 14:31:33 2006 @@ -174,6 +174,8 @@ /properties /dependency +!-- This dependency isn't needed when the maven-developer-activity-plugin is disabled. -- +!-- dependency groupIdmaven/groupId artifactIdmaven-developer-activity-plugin/artifactId @@ -186,6 +188,7 @@ /comment /properties /dependency +-- /dependencies - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r385685 - /jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsCleanDirectoryTestCase.java
Author: scolebourne Date: Mon Mar 13 14:37:04 2006 New Revision: 385685 URL: http://svn.apache.org/viewcvs?rev=385685view=rev Log: If chmod fails don't fail the test Modified: jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsCleanDirectoryTestCase.java Modified: jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsCleanDirectoryTestCase.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsCleanDirectoryTestCase.java?rev=385685r1=385684r2=385685view=diff == --- jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsCleanDirectoryTestCase.java (original) +++ jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsCleanDirectoryTestCase.java Mon Mar 13 14:37:04 2006 @@ -1,5 +1,5 @@ /* - * Copyright 2005 The Apache Software Foundation. + * Copyright 2005-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. @@ -158,8 +158,7 @@ return false; } int result = proc.waitFor(); -assertEquals(0, result); -return true; +return (result == 0); } } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r385687 - in /jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/style: ./ project.css
Author: rdonkin Date: Mon Mar 13 14:50:03 2006 New Revision: 385687 URL: http://svn.apache.org/viewcvs?rev=385687view=rev Log: Added stylesheet. Thanks to Stephen Colebourne for the catch. Added: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/style/ jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/style/project.css Added: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/style/project.css URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/style/project.css?rev=385687view=auto == --- jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/style/project.css (added) +++ jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/style/project.css Mon Mar 13 14:50:03 2006 @@ -0,0 +1 @@ [EMAIL PROTECTED] url(http://jakarta.apache.org/style/jakarta-maven.css;); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[io] Release tests for Commons IO 1.2 RC5
All. Please test RC5 or your SVN copy. It should fix the OS X issues, but obviously I can't actually test that... http://people.apache.org/~scolebourne/commons-io/ Stephen Henri Yandell wrote: Errors are: Testcase: testThrowsOnNullList(org.apache.commons.io.FileUtilsCleanDirectoryTestCase): FAILED expected:0 but was:1 junit.framework.AssertionFailedError: expected:0 but was:1 at org.apache.commons.io.FileUtilsCleanDirectoryTestCase.chmod(FileUtilsCleanDirectoryTestCase.java:161) Not sure what's going on here. Not sure why we chmod 775 before tearing down either :) It's chmodding /Users/hen/apache/jakarta/commons-proper/io/test/io/list-files , which seems to be correct, and chmod'ing a non-existent file returns an error code of 1 on both OS X and Debian. and Testcase: testGetFreeSpace_String(org.apache.commons.io.FileSystemUtilsTestCase): FAILED expected:9.4452176E7 but was:4.7226088E7 junit.framework.AssertionFailedError: expected:9.4452176E7 but was:4.7226088E7 at org.apache.commons.io.FileSystemUtilsTestCase.testGetFreeSpace_String(FileSystemUtilsTestCase.java:68) The problem here is that OS X uses 512 byte block sizes, not 1k as the test assumes. So no way it'll pass. Hen On 3/12/06, Henri Yandell [EMAIL PROTECTED] wrote: On 3/12/06, Stephen Colebourne [EMAIL PROTECTED] wrote: The FileSystemUtils one could be interesting, as so far we've only really tested on general Unix (gump) and WinXP. No idea why the clean might fail. Can you reproduce this using your SVN copy (in Eclipse)? Otherwise there's not much I can do. Yep, running maven on the command line I get the same errors. I'll try and dig into it tonight. At least find an hour or so before I dig into the 'need to dos'. 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]
Re: [io] Release tests for Commons IO 1.2 RC5
Stephen Colebourne wrote: All. Please test RC5 or your SVN copy. It should fix the OS X issues, but obviously I can't actually test that... RC5 tests fine for me, jdks 1.4 and 1.5 on Mac OS X 10.4.5. michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [io] Release tests for Commons IO 1.2 RC5
All tests pass on my OS X 10.4.5 Powerbook G4 using the 1.4.2 JVM. On 3/13/06, Stephen Colebourne [EMAIL PROTECTED] wrote: All. Please test RC5 or your SVN copy. It should fix the OS X issues, but obviously I can't actually test that... http://people.apache.org/~scolebourne/commons-io/ Stephen Henri Yandell wrote: Errors are: Testcase: testThrowsOnNullList(org.apache.commons.io.FileUtilsCleanDirectoryTestCase): FAILED expected:0 but was:1 junit.framework.AssertionFailedError: expected:0 but was:1 at org.apache.commons.io.FileUtilsCleanDirectoryTestCase.chmod(FileUtilsCleanDirectoryTestCase.java:161) Not sure what's going on here. Not sure why we chmod 775 before tearing down either :) It's chmodding /Users/hen/apache/jakarta/commons-proper/io/test/io/list-files , which seems to be correct, and chmod'ing a non-existent file returns an error code of 1 on both OS X and Debian. and Testcase: testGetFreeSpace_String(org.apache.commons.io.FileSystemUtilsTestCase): FAILED expected:9.4452176E7 but was:4.7226088E7 junit.framework.AssertionFailedError: expected:9.4452176E7 but was:4.7226088E7 at org.apache.commons.io.FileSystemUtilsTestCase.testGetFreeSpace_String(FileSystemUtilsTestCase.java:68) The problem here is that OS X uses 512 byte block sizes, not 1k as the test assumes. So no way it'll pass. Hen On 3/12/06, Henri Yandell [EMAIL PROTECTED] wrote: On 3/12/06, Stephen Colebourne [EMAIL PROTECTED] wrote: The FileSystemUtils one could be interesting, as so far we've only really tested on general Unix (gump) and WinXP. No idea why the clean might fail. Can you reproduce this using your SVN copy (in Eclipse)? Otherwise there's not much I can do. Yep, running maven on the command line I get the same errors. I'll try and dig into it tonight. At least find an hour or so before I dig into the 'need to dos'. 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] -- Sandy McArthur He who dares not offend cannot be honest. - Thomas Paine - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] Demote Latka and Resources to Dormant
On Mon, 2006-03-13 at 20:47 +, robert burrell donkin wrote: On Mon, 2006-03-13 at 05:25 -0500, James Mitchell wrote: I agree with Niall. I've written several database-based implementations for resources, and there already exists a Struts plugin for resources that let's our users use commons-resources now (and is backward compatible to Struts 1.1). The only thing commons-resources really suffers from is not having someone give the time to do a release. I feel it is ready, I just don't have the time right now. i'm hoping that's what dormant means: resources is just suffering from a lack of developer time right. i'd definitely support a move back to proper if anyone steps up with the energy to push it to a release. I still prefer the term unmaintained, which is exactly what it currently is. If maintainers appear, then the status can be changed back again. The term dormant *does* mean roughly the same thing, but isn't as clear I think (particularly for non-native English speakers). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] Demote Latka and Resources to Dormant
On Tue, 2006-03-14 at 12:23 +1300, Simon Kitching wrote: On Mon, 2006-03-13 at 20:47 +, robert burrell donkin wrote: On Mon, 2006-03-13 at 05:25 -0500, James Mitchell wrote: I agree with Niall. I've written several database-based implementations for resources, and there already exists a Struts plugin for resources that let's our users use commons-resources now (and is backward compatible to Struts 1.1). The only thing commons-resources really suffers from is not having someone give the time to do a release. I feel it is ready, I just don't have the time right now. i'm hoping that's what dormant means: resources is just suffering from a lack of developer time right. i'd definitely support a move back to proper if anyone steps up with the energy to push it to a release. I still prefer the term unmaintained, which is exactly what it currently is. If maintainers appear, then the status can be changed back again. The term dormant *does* mean roughly the same thing, but isn't as clear I think (particularly for non-native English speakers). +1 some words on the website explaining this would be very good... - robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] Demote Latka and Resources to Dormant
On Mon, 2006-03-13 at 23:22 +0100, Christian Meder wrote: On Sun, 2006-03-12 at 22:04 +, Stephen Colebourne wrote: Demote [reosurces] to dormant status (It's main customer Struts isn't using it now) [ ] +1 - Demote [ ] -1 - Keep [resources] alive, because... Hi, I use a resources snapshot too and I'd really like it to see a release because it forms a flexible i18n foundation. i'm interested in globalization: combining resources with a scripting language (JEXL, say) to allow expressive multilingural customisation. Probably I should move it higher on my todo list ;-) all we need to folks with time to step up :) - robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Jakarta-commons Wiki] Update of Logging/FrequentlyAskedQuestions by SimonKitching
Dear Wiki user, You have subscribed to a wiki page or wiki category on Jakarta-commons Wiki for change notification. The following page has been changed by SimonKitching: http://wiki.apache.org/jakarta-commons/Logging/FrequentlyAskedQuestions The comment on the change is: Add known issue re Tomcat Jspc and Ant -- * All the logging classes (both Log and the logging implementations) are deployed by the same classloader. In other words, place commons-logging.jar and the logging library jar in the same directory. * There is only one copy of the classes to be found within the classloader hierarchy. In application container environments this means ensuring that if the classes are found in a parent classloader, they are not also present in the leaf classloader associated with the application. So, if the jar is deployed within the root classloader of the container then it should be removed from the application's library. + === Known causes of does not implement Log === + + Running JspC from Ant + + The Tomcat JspC tool compiles JSP pages into bytecode. It had a bug in versions prior to 5.5.5 or 5.0.30. where + it set the context classloader to a non-standard value, then failed to reset it to the original value + on exit. When run in-process as an ant task this would cause commons-logging to try to load logging libraries + from an invalid classloader. This bug has been fixed in the 5.5.5 and 5.0.30 releases of Tomcat. + == How Can I Use Commons-Logging In WebSphere 5.1? == {{{ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [io] Release tests for Commons IO 1.2 RC5
Hi Stephen, On Tuesday 14 March 2006 09:51, Stephen Colebourne wrote: All. Please test RC5 or your SVN copy. It should fix the OS X issues, but obviously I can't actually test that... http://people.apache.org/~scolebourne/commons-io/ Latest SVN tests all pass for me on JDK 1.6.0-rc-b61 on Linux. Stephen Regards, James -- James Ring pgprnGCZSeLnR.pgp Description: PGP signature
Re: [io] Release tests for Commons IO 1.2 RC5
On 3/13/06, Stephen Colebourne [EMAIL PROTECTED] wrote: All. Please test RC5 or your SVN copy. It should fix the OS X issues, but obviously I can't actually test that... http://people.apache.org/~scolebourne/commons-io/ snip/ Late response as I was traveling, but IMO, the FileSystemUtils test in question is always going to be trouble (though it passes on my machines -- home-brew Linux and XP). Environment variables such as POSIXLY_CORRECT (*nix) or BLOCKSIZE (OS X) can alter the default df output, so df usage without the normalizing -k switch in freeSpace() makes the test fragile. Having said that, I'm largely +1 to the release, and in the process of trying to figure out which thread to vote on ... -Rahul Stephen Henri Yandell wrote: Errors are: Testcase: testThrowsOnNullList(org.apache.commons.io.FileUtilsCleanDirectoryTestCase): FAILED expected:0 but was:1 junit.framework.AssertionFailedError: expected:0 but was:1 at org.apache.commons.io.FileUtilsCleanDirectoryTestCase.chmod(FileUtilsCleanDirectoryTestCase.java:161) Not sure what's going on here. Not sure why we chmod 775 before tearing down either :) It's chmodding /Users/hen/apache/jakarta/commons-proper/io/test/io/list-files , which seems to be correct, and chmod'ing a non-existent file returns an error code of 1 on both OS X and Debian. and Testcase: testGetFreeSpace_String(org.apache.commons.io.FileSystemUtilsTestCase): FAILED expected:9.4452176E7 but was:4.7226088E7 junit.framework.AssertionFailedError: expected:9.4452176E7 but was:4.7226088E7 at org.apache.commons.io.FileSystemUtilsTestCase.testGetFreeSpace_String(FileSystemUtilsTestCase.java:68) The problem here is that OS X uses 512 byte block sizes, not 1k as the test assumes. So no way it'll pass. Hen On 3/12/06, Henri Yandell [EMAIL PROTECTED] wrote: On 3/12/06, Stephen Colebourne [EMAIL PROTECTED] wrote: The FileSystemUtils one could be interesting, as so far we've only really tested on general Unix (gump) and WinXP. No idea why the clean might fail. Can you reproduce this using your SVN copy (in Eclipse)? Otherwise there's not much I can do. Yep, running maven on the command line I get the same errors. I'll try and dig into it tonight. At least find an hour or so before I dig into the 'need to dos'. Hen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] Release Commons IO 1.2 (based on RC3)
On 3/11/06, Stephen Colebourne [EMAIL PROTECTED] wrote: This is a vote for the release [io] v1.2 based on RC3 snip/ Note that this vote is for the SVN trunk (a.k.a RC5, IIUC): [X] +1 I support this release [ ] +0 [ ] -0 [ ] -1 I do not support this release because... snap/ Nits: * Javadoc warnings * Inconsistent SVN tagging of RCs (tags exist for 1.0 RCs, but not thereafter) -Rahul Stephen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Jakarta-commons Wiki] Update of Logging/FrequentlyAskedQuestions by SimonKitching
Dear Wiki user, You have subscribed to a wiki page or wiki category on Jakarta-commons Wiki for change notification. The following page has been changed by SimonKitching: http://wiki.apache.org/jakarta-commons/Logging/FrequentlyAskedQuestions The comment on the change is: Minor tweaks -- == When should I use commons-logging? == - Commons-logging is very important when writing libraries that might be used in other projects. If the + Commons-logging is very important when writing '''libraries''' that might be used in other projects. If the - library codes directly to a concrete logging library (eg log4j or java.util.logging) but the application + library directly calls a concrete logging library API (eg log4j or java.util.logging) but the application it is embedded in is using some other logging library then there is a problem. However if the library is using - commons-logging then commons-logging just auto-detects what real logging lib is used in the - surrounding application and adapts to it (or manual config can be used to override the auto-detection) - so that the libraries' output and the application's output is all nicely unified. + commons-logging then commons-logging simply forwards all calls to whatever logging library the surrounding + application is using, ensuring output is all nicely unified. The specific underlying library commons-logging uses can be + explicitly configured (recommended), or commons-logging can be permitted to auto-detect it. - Commons-logging can be useful when you are writing an application but want to allow the person installing + Commons-logging can also be useful when you are writing an '''application''' but want to allow the person installing your app to choose what logging lib to use. Apache Tomcat does this; the person installing it can choose to use log4j, java.util.logging, etc. There is some debate over how useful this actually is. - Commons-logging can also be useful when you are writing an application but want to reserve the right to + Commons-logging can also be useful when you are writing an '''application''' but want to reserve the right to swap logging libraries at a later date. This is not so important, though, as it really isn't that hard to use some refactoring tool or a few scripts to change source code from using library X to library Y. @@ -63, +63 @@ == How Do I Change The Logging System Configuration? == The configuration supported by JCL is limited to choosing the underlying logging system. JCL does not (and will never) support changing the configuration of the wrapped logging system. Please use the mechanisms provided by the underlying logging system. + + The only exception is when using the !SimpleLog logging facility built into commons-logging. In this case, see the documentation for that class + for details on configuring logging levels. == Should I declare Log references static or not? == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] Demote Latka and Resources to Dormant
On 3/12/06, Stephen Colebourne [EMAIL PROTECTED] wrote: snip/ PS: I'm hoping that someone will volunteer to do the actual svn moves and demotion ;-) snap/ I can do SVN moves (in any direction) as and when volunteers are needed. Sites too, probably, if they build on the first (or second ;-) attempt -- I have the recommended setup. -Rahul Stephen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [all] Maven2/RMIC?
On 3/13/06, Jörg Schaible [EMAIL PROTECTED] wrote: Hi James, James Carman wrote on Monday, March 13, 2006 2:39 PM: Thanks, Jörg. I tried using it, but my M2 installation couldn't download the plugin automagically. M2 will not download unreleased or SNAPSHOT plugins automagically, you have to enable this: http://maven.apache.org/guides/development/guide-testing-development-plugins.html. snip/ May not be very important ATM, but sandbox plugins can possibly impede a release (just like other sandbox dependencies -- if the repeatability of the build is thereby in question). -Rahul I think I'm going to have to download the source from SVN and build them into my local repository. But, if I want automated builds (like one that Mr. McClanahan could run overnight), this will not do. I can't believe this isn't something that's supported in M2. - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r385705 - /jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java
Author: skitching Date: Mon Mar 13 17:35:05 2006 New Revision: 385705 URL: http://svn.apache.org/viewcvs?rev=385705view=rev Log: Fix for problem where SAXNotRecognisedException was being thrown when validation is enabled (Digester.setValidating(true)) and Xerces is in the classpath BUT IS NOT the actual XML parser being used. See bugzilla#38894. This fix avoids using ParserFeatureSetterFactory just to enable validating; that can be done in a more portable way. There is still a bug in ParserFeatureSetterFactory to fix - the incorrect detection of the underlying parser. Modified: jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java Modified: jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java?rev=385705r1=385704r2=385705view=diff == --- jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java (original) +++ jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java Mon Mar 13 17:35:05 2006 @@ -685,14 +685,25 @@ // Create a new parser try { -if (validating) { +if (validating (schemaLocation != null)) { +// There is no portable way to specify the location of +// an xml schema to be applied to the input document, so +// we have to use parser-specific code for this. That code +// is hidden behind the ParserFeatureSetterFactory class. + Properties properties = new Properties(); properties.put(SAXParserFactory, getFactory()); if (schemaLocation != null) { properties.put(schemaLocation, schemaLocation); properties.put(schemaLanguage, schemaLanguage); } -parser = ParserFeatureSetterFactory.newSAXParser(properties); } else { +parser = ParserFeatureSetterFactory.newSAXParser(properties); + } else { + // The user doesn't want to use any non-portable parsing features, + // so we can just use the portable API here. Note that method + // getFactory returns a factory already configured with the + // appropriate namespaceAware and validating properties. + parser = getFactory().newSAXParser(); } } catch (Exception e) { @@ -808,7 +819,24 @@ /** - * Set the XML Schema URI used for validating a XML Instance. + * Set the XML Schema URI used for validating the input XML. + * p + * It is often desirable to iforce/i the input document to be + * validated against a particular schema regardless of what type + * the input document declares itself to be. This method allows that + * to be done. + * p + * Note, however, that there is no standard API for enabling this + * feature on the underlying SAX parser; this method therefore only works + * for those parsers explicitly supported by Digester's + * ParserFeatureSetterFactory class. If the underlying parser does not + * support the feature, or is not one of the supported parsers, then + * an exception will be thrown when getParser is called (explicitly, + * or implicitly via the parse method). + * p + * See also method setSchemaLanguage which allows the type of the schema + * specified here to be defined. By default, the schema is expected to + * be a W3C xml schema definition. * * @param schemaLocation a URI to the schema. */ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [all] Maven2/RMIC?
This works for me. A known issue it's that it won't work under Mac as the jdk tools doesn't exist, but I believe it's only needed when iiop=true plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId executions execution phaseprocess-classes/phase configuration tasks echoRunning rmic/echo rmic base=${project.build.directory}/classes classname=org.springframework.remoting.rmi.RmiInvocationWrapper/ rmic base=${project.build.directory}/classes classname=org.springframework.remoting.rmi.RmiInvocationWrapper iiop=true classpath refid=maven.compile.classpath/ /rmic /tasks /configuration goals goalrun/goal /goals /execution /executions dependencies dependency groupIdcom.sun/groupId artifactIdtools/artifactId scopesystem/scope version1.4/version systemPath${java.home}/../lib/tools.jar/systemPath /dependency /dependencies /plugin On 3/13/06, James Carman [EMAIL PROTECTED] wrote: All, Has anyone got RMIC to work using Maven2? Jakarta Commons Proxy's test cases need to generate RMIC stubs, but I can't get it working. It keeps complaining about either JAVA_HOME or CLASSPATH issues. There are complaints out there on the forums about it, but I didn't really see a good work-around. Here's the relevant part of the pom.xml file: plugins plugin artifactIdmaven-antrun-plugin/artifactId executions execution idgenerate-rmic-stubs/id phasetest-compile/phase configuration tasks property environment=env/ path id=rmic.classpath fileset dir=${java.home}/lib include name=tools.jar/ /fileset /path mkdir dir=target/test-classes/ rmic base=target/test-classes includes=**/RmiEchoImpl.class classpathref=rmic.classpath/ /tasks /configuration goals goalrun/goal /goals /execution /executions /plugin /plugins James - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [all] Maven2/RMIC?
Well, this is just my M2 build. To release, I don't have to have a working M2 build, do I? I can just use the currently working M1 build, right? I really don't want to depend on a sandbox M2 plugin for my build system in the long run. On 3/13/06, Jörg Schaible [EMAIL PROTECTED] wrote: Hi James, James Carman wrote on Monday, March 13, 2006 2:39 PM: Thanks, Jörg. I tried using it, but my M2 installation couldn't download the plugin automagically. M2 will not download unreleased or SNAPSHOT plugins automagically, you have to enable this: http://maven.apache.org/guides/development/guide-testing-development-plugins.html. snip/ May not be very important ATM, but sandbox plugins can possibly impede a release (just like other sandbox dependencies -- if the repeatability of the build is thereby in question). -Rahul I think I'm going to have to download the source from SVN and build them into my local repository. But, if I want automated builds (like one that Mr. McClanahan could run overnight), this will not do. I can't believe this isn't something that's supported in M2. - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] James Carman, President Carman Consulting, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r385707 - /jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/ParserFeatureSetterFactory.java
Author: skitching Date: Mon Mar 13 17:49:09 2006 New Revision: 385707 URL: http://svn.apache.org/viewcvs?rev=385707view=rev Log: Fix incorrect detection of Xerces library. Checking the classpath is not enough, as multiple XML parsers may be present. Modified: jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/ParserFeatureSetterFactory.java Modified: jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/ParserFeatureSetterFactory.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/ParserFeatureSetterFactory.java?rev=385707r1=385706r2=385707view=diff == --- jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/ParserFeatureSetterFactory.java (original) +++ jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/ParserFeatureSetterFactory.java Mon Mar 13 17:49:09 2006 @@ -37,7 +37,7 @@ * * @since 1.6 */ -public class ParserFeatureSetterFactory{ +public class ParserFeatureSetterFactory { /** * codetrue/code is Xerces is used. @@ -47,10 +47,14 @@ static { try{ // Use reflection to avoid a build dependency with Xerces. -Class versionClass = -Class.forName(org.apache.xerces.impl.Version); -isXercesUsed = true; -} catch (Exception ex){ + // + // Note that this does not detect Sun's repackaging of + // Xerces as com.sun.org.apache.xerces; perhaps it should? + SAXParserFactory factory = SAXParserFactory.newInstance(); + if (factory.getClass().getName().startsWith(org.apache.xerces)) { +isXercesUsed = true; + } +} catch (Exception ex) { isXercesUsed = false; } } @@ -74,4 +78,4 @@ } } -} \ No newline at end of file +} - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r385708 - /jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java
Author: skitching Date: Mon Mar 13 17:50:30 2006 New Revision: 385708 URL: http://svn.apache.org/viewcvs?rev=385708view=rev Log: Document fact that ParserFeatureSetterFactory is broken and is unlikely to be fixed. Modified: jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java Modified: jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java?rev=385708r1=385707r2=385708view=diff == --- jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java (original) +++ jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java Mon Mar 13 17:50:30 2006 @@ -837,6 +837,13 @@ * See also method setSchemaLanguage which allows the type of the schema * specified here to be defined. By default, the schema is expected to * be a W3C xml schema definition. + * p + * IMPORTANT NOTE: This functionality was never very reliable, and has + * been horribly broken since the 1.6 release of Digester. There are + * currently no plans to fix it, so you are strongly recommended to + * avoid using this method. Instead, create an XMLParser instance + * yourself, configure validation appropriately, and pass it as a + * parameter to the Digester constructor. * * @param schemaLocation a URI to the schema. */ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r385710 - /jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/parser/XercesParser.java
Author: skitching Date: Mon Mar 13 17:52:35 2006 New Revision: 385710 URL: http://svn.apache.org/viewcvs?rev=385710view=rev Log: Document fact that XercesParser is broken. Modified: jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/parser/XercesParser.java Modified: jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/parser/XercesParser.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/parser/XercesParser.java?rev=385710r1=385709r2=385710view=diff == --- jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/parser/XercesParser.java (original) +++ jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/parser/XercesParser.java Mon Mar 13 17:52:35 2006 @@ -175,6 +175,11 @@ /** * Configure schema validation as recommended by the Xerces spec. * Both DTD and Schema validation will be enabled simultaneously. + * p + * NOTE: This method is broken. It is supposed to set up validation + * against the schema specified in property schemaLocation, but + * it doesn't. + * * @param factory SAXParserFactory to be configured */ private static void configureXerces(SAXParserFactory factory) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 38894] - [digester] ParserFeatureSetterFactory uses a wrong method to detect the use of Xerces parser
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=38894. 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=38894 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2006-03-14 01:56 --- This has been partially fixed in r385705; merely turning on validation now works fine no matter what parsers are present. Fixing parser detection so that method Digester.setSchema(String locn) works is more difficult, and not particularly useful. This method has therefore been documented as being broken, and a safer alternative recommended. Thanks for the bugreport. -- 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]
svn commit: r385714 - /jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java
Author: skitching Date: Mon Mar 13 18:21:42 2006 New Revision: 385714 URL: http://svn.apache.org/viewcvs?rev=385714view=rev Log: Make createInputSourceFromURL public, so it can be called from other places in Digester (eg xmlrules module). Improve javadoc for the method. Minor varname changes. Modified: jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java Modified: jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java?rev=385714r1=385713r2=385714view=diff == --- jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java (original) +++ jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java Mon Mar 13 18:21:42 2006 @@ -1779,20 +1779,41 @@ * Given a URL, return an InputSource that reads from that URL. * p * Ideally this function would not be needed and code could just use - * codenew InputSource(entityURL)/code. - * Unforunately it appears that when the entityURL points to a file - * within a jar archive a caching mechanism inside the InputSource - * implementation causes a file-handle to the jar file to remain open. - * On Windows systems this then causes the jar archive file to be - * locked on disk (in use) which makes it impossible to delete the - * jar file - and that really stuffs up undeploy in webapps in - * particular. + * codenew InputSource(entityURL)/code. Unfortunately it appears + * that when the entityURL points to a file within a jar archive a + * caching mechanism inside the InputSource implementation causes a + * file-handle to the jar file to remain open. On Windows systems + * this then causes the jar archive file to be locked on disk + * (in use) which makes it impossible to delete the jar file - + * and that really stuffs up undeploy in webapps in particular. + * p + * In JDK1.4 and later, Apache XercesJ is used as the xml parser. + * The InputSource object provided is converted into an XMLInputSource, + * and eventually passed to an instance of XMLDocumentScannerImpl to + * specify the source data to be converted into tokens for the rest + * of the XMLReader code to handle. XMLDocumentScannerImpl calls + * fEntityManager.startDocumentEntity(source), where fEntityManager + * is declared in ancestor class XMLScanner to be an XMLEntityManager. In + * that class, if the input source stream is null, then: + * code + * URL location = new URL(expandedSystemId); + * URLConnection connect = location.openConnection(); + * if (connect instanceof HttpURLConnection) { + *setHttpProperties(connect,xmlInputSource); + * } + * stream = connect.getInputStream(); + * /code + * This method pretty much duplicates the standard behaviour, except + * that it calls URLConnection.setUseCaches(false) before opening + * the connection. */ -private InputSource createInputSourceFromURL(String url) +public static InputSource createInputSourceFromURL(String url) throws MalformedURLException, IOException { -URLConnection urlConnection = new URL(url).openConnection(); -urlConnection.setUseCaches(false); -InputSource source = new InputSource(urlConnection.getInputStream()); +URL location = new URL(url); +URLConnection connection = location.openConnection(); +connection.setUseCaches(false); + InputStream stream = connection.getInputStream(); +InputSource source = new InputSource(stream); source.setSystemId(url); return source; } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r385734 - in /jakarta/commons/proper/pool/trunk: maven.xml project.properties xdocs/issue-tracking.xml xdocs/navigation.xml xdocs/style/ xdocs/style/project.css
Author: sandymac Date: Mon Mar 13 20:55:27 2006 New Revision: 385734 URL: http://svn.apache.org/viewcvs?rev=385734view=rev Log: Merged new site build changes from 1.3 branch to trunk. Added: jakarta/commons/proper/pool/trunk/xdocs/issue-tracking.xml - copied unchanged from r385727, jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/issue-tracking.xml jakarta/commons/proper/pool/trunk/xdocs/style/ jakarta/commons/proper/pool/trunk/xdocs/style/project.css - copied unchanged from r385727, jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/xdocs/style/project.css Modified: jakarta/commons/proper/pool/trunk/maven.xml jakarta/commons/proper/pool/trunk/project.properties jakarta/commons/proper/pool/trunk/xdocs/navigation.xml Modified: jakarta/commons/proper/pool/trunk/maven.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/maven.xml?rev=385734r1=385733r2=385734view=diff == --- jakarta/commons/proper/pool/trunk/maven.xml (original) +++ jakarta/commons/proper/pool/trunk/maven.xml Mon Mar 13 20:55:27 2006 @@ -1,5 +1,5 @@ !-- - Copyright 2002-2004 The Apache Software Foundation + Copyright 2002-2004,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. @@ -16,23 +16,6 @@ project xmlns:j=jelly:core xmlns:ant=jelly:ant - - !-- == -- - !-- START : C O M M O N S - B U I L D -- - !-- == -- - !-- Required: Look and Feel for documentation within distributions -- - !-- == -- - postGoal name=xdoc:copy-resources -copy todir=${basedir}/target/docs/style/ failonerror=false - fileset dir=${basedir}/../commons-build/xdocs/style - include name='**/*'/ - exclude name='**/CVS/**'/ - /fileset -/copy - /postGoal - !-- == -- - !-- END: C O M M O N S - B U I L D -- - !-- == -- !-- == DIST == -- !-- Copied from Commons-Collections-- Modified: jakarta/commons/proper/pool/trunk/project.properties URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/project.properties?rev=385734r1=385733r2=385734view=diff == --- jakarta/commons/proper/pool/trunk/project.properties (original) +++ jakarta/commons/proper/pool/trunk/project.properties Mon Mar 13 20:55:27 2006 @@ -1,4 +1,4 @@ -# Copyright 2003-2004 The Apache Software Foundation +# Copyright 2003-2004,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. @@ -19,6 +19,7 @@ maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory maven.javadoc.author=false +maven.javadoc.overview=src/java/org/apache/commons/pool/overview.html maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api # Jar Manifest Additional Attributes @@ -27,9 +28,6 @@ maven.jar.manifest.attribute.X-Compile-Source-JDK=${maven.compile.source} maven.jar.manifest.attribute.X-Compile-Target-JDK=${maven.compile.target} -# commons site LF -maven.xdoc.jsl=../commons-build/commons-site.jsl - maven.xdoc.date=bottom maven.xdoc.poweredby.image=maven-feather.png maven.xdoc.version=${pom.currentVersion} @@ -38,6 +36,8 @@ maven.compile.debug=on maven.compile.deprecation=off maven.compile.optimize=off +maven.compile.source=1.4 +maven.compile.target=1.4 maven.jarResources.basedir=src/java maven.jar.excludes=**/package.html Modified: jakarta/commons/proper/pool/trunk/xdocs/navigation.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/xdocs/navigation.xml?rev=385734r1=385733r2=385734view=diff == --- jakarta/commons/proper/pool/trunk/xdocs/navigation.xml (original) +++ jakarta/commons/proper/pool/trunk/xdocs/navigation.xml Mon Mar 13 20:55:27 2006 @@ -1,6 +1,6 @@ ?xml version=1.0 encoding=ISO-8859-1? !-- - Copyright 2003-2004 The Apache Software Foundation + Copyright 2003-2004,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. @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. -- -!DOCTYPE org.apache.commons.menus SYSTEM
svn commit: r385736 - /jakarta/commons/proper/pool/trunk/build.xml
Author: sandymac Date: Mon Mar 13 20:57:48 2006 New Revision: 385736 URL: http://svn.apache.org/viewcvs?rev=385736view=rev Log: Remove commons collections references and target Java 1.4. Modified: jakarta/commons/proper/pool/trunk/build.xml Modified: jakarta/commons/proper/pool/trunk/build.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/build.xml?rev=385736r1=385735r2=385736view=diff == --- jakarta/commons/proper/pool/trunk/build.xml (original) +++ jakarta/commons/proper/pool/trunk/build.xml Mon Mar 13 20:57:48 2006 @@ -1,5 +1,5 @@ !-- - Copyright 2003-2004 The Apache Software Foundation + Copyright 2003-2004,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. @@ -31,13 +31,11 @@ property name=user-propfile value=${user.home}/build.properties/ property file=${user-propfile}/ - property name=commons-collections.jar value=${basedir}/../collections/dist/commons-collections.jar/ - !-- command line classpath, if any -- property name=cp value=/ !-- now combine the classpaths -- - property name=classpath value=${cp}:${commons-collections.jar}:${junit.jar}/ + property name=classpath value=${cp}:${junit.jar}/ property name=name value=commons-pool/ property name=title value=Jakarta Commons Object Pooling Package/ @@ -93,7 +91,8 @@ noindex=false nohelp=true nonavbar=false - serialwarn=false + serialwarn=false + source=1.4 link href=http://java.sun.com/j2se/1.4.2/docs/api/ /javadoc /target @@ -107,7 +106,8 @@ classpath=${classpath} debug=${javac.debug} deprecation=${javac.deprecation} - optimize=${javac.optimize}/ + optimize=${javac.optimize} + source=1.4/ /target target name=compile-test depends=compile @@ -116,7 +116,8 @@ srcdir=${src.test.dir} debug=${javac.debug} deprecation=${javac.deprecation} - optimize=${javac.optimize} + optimize=${javac.optimize} + source=1.4 classpath pathelement location=${build.classes.dir} / pathelement location=${build.test-classes.dir} / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r385739 - in /jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool: KeyedObjectPool.java ObjectPool.java
Author: sandymac Date: Mon Mar 13 21:15:16 2006 New Revision: 385739 URL: http://svn.apache.org/viewcvs?rev=385739view=rev Log: JavaDoc contract clarification. Modified: jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/KeyedObjectPool.java jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/ObjectPool.java Modified: jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/KeyedObjectPool.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/KeyedObjectPool.java?rev=385739r1=385738r2=385739view=diff == --- jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/KeyedObjectPool.java (original) +++ jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/KeyedObjectPool.java Mon Mar 13 21:15:16 2006 @@ -124,7 +124,7 @@ /** * Create an object using the [EMAIL PROTECTED] KeyedPoolableObjectFactory factory} or other - * implementation dependent mechanism, and place it into the pool. + * implementation dependent mechanism, passivated, and then placed in the idle object pool. * addObject() is useful for pre-loading a pool with idle objects. * (Optional operation). * Modified: jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/ObjectPool.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/ObjectPool.java?rev=385739r1=385738r2=385739view=diff == --- jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/ObjectPool.java (original) +++ jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/ObjectPool.java Mon Mar 13 21:15:16 2006 @@ -112,7 +112,7 @@ /** * Create an object using the [EMAIL PROTECTED] PoolableObjectFactory factory} or other - * implementation dependent mechanism, and place it into the pool. + * implementation dependent mechanism, passivated, and then placed in the idle object pool. * addObject() is useful for pre-loading a pool with idle objects. * (Optional operation). * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r385740 - /jakarta/commons/proper/pool/trunk/xdocs/changes.xml
Author: sandymac Date: Mon Mar 13 21:18:55 2006 New Revision: 385740 URL: http://svn.apache.org/viewcvs?rev=385740view=rev Log: Created Maven changes log. Added: jakarta/commons/proper/pool/trunk/xdocs/changes.xml (with props) Added: jakarta/commons/proper/pool/trunk/xdocs/changes.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/xdocs/changes.xml?rev=385740view=auto == --- jakarta/commons/proper/pool/trunk/xdocs/changes.xml (added) +++ jakarta/commons/proper/pool/trunk/xdocs/changes.xml Mon Mar 13 21:18:55 2006 @@ -0,0 +1,75 @@ +?xml version=1.0? +!-- + 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. + -- +document + properties +titleCommons Pool Changes/title +author email=[EMAIL PROTECTED]Sandy McArthur/author + /properties + body + +release version=2.0 date=pending description=Significant clean ups + action dev=sandymac type=fix +Fix JavaDocs to conform to Pool 2 contracts. + /action + action dev=sandymac type=update +Improved SoftReferenceObjectPool getNumIdle accuracy. + /action + action dev=rdonkin type=update +descriptionUpdates to javadoc contracts for 2.0./description +fixes issue=38660/ +fixes issue=38664/ +fixes issue=38666/ +fixes issue=38667/ +fixes issue=38669/ +fixes issue=38746/ +dueto name=Sandy McArthur/ + /action +/release + +release version=1.3 date=2006-pending description=1.x bugfix release + action type=fixA large number of bug fixes. See release notes for changes./action +/release + +release version=1.2 date=2004-06-07 description=bugfixes + action dev=dirkv type=fix +descriptionGenericKeyedObjectPoolFactory Config Constructor is incorrect/description +fixes issue=24864/ + /action + action dev=dirkv type=fix +descriptionNot possible to extend GenericObjectPool.returnObject() without affecting addObject()/description +fixes issue=28638/ + /action +/release + +release version=1.1 date=2003-10-20 + action type=fixA lot of corner cases were fixed/action + action type=fixPerformance improvement by optimizing pool synchronization, the critical code paths were optimized by reducing pool synchronization but we also added more synchronization where needed/action + action type=fixNew minIdle feature: the minimum number of objects allowed in the pool before the evictor thread (if active) spawns new objects. (Note no objects are created when: numActive + numIdle = maxActive)/action + action type=fixNew maxTotal feature: a cap on the total number of instances controlled by a pool. Only for GenericKeyedObjectPool where maxActive is a cap on the number of active instances from the pool (per key)./action + action type=fixUML Class and sequence diagrams/action + action type=fixSee bugzilla for more changes/action +/release + +release version=1.0.1 date=2002-08-12 + action type=fixNo change log available./action +/release + +release version=1.0 date=2002-05-04 + action type=addNo change log available./action +/release + /body +/document \ No newline at end of file Propchange: jakarta/commons/proper/pool/trunk/xdocs/changes.xml -- svn:eol-style = native - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 38911] - [lang] StringUtils#getLevenshteinDistance() performance is sub-optimal
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=38911. 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=38911 --- Additional Comments From [EMAIL PROTECTED] 2006-03-14 05:59 --- Here's the history: http://mail-archives.apache.org/mod_mbox/jakarta-commons-dev/200310.mbox/[EMAIL PROTECTED] Not sure why it didn't get applied - either I dropped the ball, or I was waiting for a second reply. -- 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]
DO NOT REPLY [Bug 38911] - [lang] StringUtils#getLevenshteinDistance() performance is sub-optimal
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=38911. 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=38911 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2006-03-14 06:08 --- Code applied. Unit tests pass. I'll drop an email to both Chas Emerick and Michael Gilleland to let them know the code has finally gone in - my fault two and a half years ago. -- 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]
svn commit: r385745 - /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringUtils.java
Author: bayard Date: Mon Mar 13 22:09:27 2006 New Revision: 385745 URL: http://svn.apache.org/viewcvs?rev=385745view=rev Log: Finally applying Chas Emerick's improved getLevenshtein implementation Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringUtils.java Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringUtils.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringUtils.java?rev=385745r1=385744r2=385745view=diff == --- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringUtils.java (original) +++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringUtils.java Mon Mar 13 22:09:27 2006 @@ -4711,8 +4711,13 @@ * another, where each change is a single character modification (deletion, * insertion or substitution)./p * - * pThis implementation of the Levenshtein distance algorithm - * is from a href=http://www.merriampark.com/ld.htm;http://www.merriampark.com/ld.htm/a/p + * pThe previous implementation of the Levenshtein distance algorithm + * was from a href=http://www.merriampark.com/ld.htm;http://www.merriampark.com/ld.htm/a/p + * + * pChas Emerick has written an implementation in Java, which avoids an OutOfMemoryError + * which can occur when my Java implementation is used with very large strings.br + * This implementation of the Levenshtein distance algorithm + * is from a href=http://www.merriampark.com/ldjava.htm;http://www.merriampark.com/ldjava.htm/a/p * * pre * StringUtils.getLevenshteinDistance(null, *) = IllegalArgumentException @@ -4737,57 +4742,68 @@ if (s == null || t == null) { throw new IllegalArgumentException(Strings must not be null); } -int d[][]; // matrix -int n; // length of s -int m; // length of t -int i; // iterates through s -int j; // iterates through t -char s_i; // ith character of s -char t_j; // jth character of t -int cost; // cost -// Step 1 -n = s.length(); -m = t.length(); +/* + The difference between this impl. and the previous is that, rather + than creating and retaining a matrix of size s.length()+1 by t.length()+1, + we maintain two single-dimensional arrays of length s.length()+1. The first, d, + is the 'current working' distance array that maintains the newest distance cost + counts as we iterate through the characters of String s. Each time we increment + the index of String t we are comparing, d is copied to p, the second int[]. Doing so + allows us to retain the previous cost counts as required by the algorithm (taking + the minimum of the cost count to the left, up one, and diagonally up and to the left + of the current cost count being calculated). (Note that the arrays aren't really + copied anymore, just switched...this is clearly much better than cloning an array + or doing a System.arraycopy() each time through the outer loop.) + + Effectively, the difference between the two implementations is this one does not + cause an out of memory condition when calculating the LD over two very large strings. + */ + +int n = s.length(); // length of s +int m = t.length(); // length of t + if (n == 0) { return m; -} -if (m == 0) { +} else if (m == 0) { return n; } -d = new int[n + 1][m + 1]; -// Step 2 -for (i = 0; i = n; i++) { -d[i][0] = i; -} +int p[] = new int[n+1]; //'previous' cost array, horizontally +int d[] = new int[n+1]; // cost array, horizontally +int _d[]; //placeholder to assist in swapping p and d -for (j = 0; j = m; j++) { -d[0][j] = j; -} +// indexes into strings s and t +int i; // iterates through s +int j; // iterates through t -// Step 3 -for (i = 1; i = n; i++) { -s_i = s.charAt(i - 1); +char t_j; // jth character of t -// Step 4 -for (j = 1; j = m; j++) { -t_j = t.charAt(j - 1); +int cost; // cost -// Step 5 -if (s_i == t_j) { -cost = 0; -} else { -cost = 1; -} +for (i = 0; i=n; i++) { +p[i] = i; +} -// Step 6 -d[i][j] = min(d[i - 1][j] + 1, d[i][j - 1] + 1, d[i - 1][j - 1] + cost); +for (j = 1; j=m; j++) { +t_j = t.charAt(j-1); +d[0] = j;
Commons Lang + Improved getLevenshtein() implementation
Back in October 2003, Chas submitted an improved implementation of the getLevenshtein method in Jakarta Commons Lang's StringUtils class. By the looks of the history, I then failed to apply it. My apologies for that. Cedrik posted an issue reminding us of this fact, and finally we've applied the patch, though we've used the version from http://www.merriampark.com/ldjava.htm; rather than the original email. I presume it's the more up to date and I'm assuming that Chas is still happy for us to use the code. Let me know if that's not the case, Chas. Mostly though, I wanted to thank all three of you for your involvement. Michael for the original implementation, Chas for the optimised one and Cedrik for following up so well. The code should go out in Commons Lang 2.2 at some point in the coming months. Thanks, Hen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 38911] - [lang] StringUtils#getLevenshteinDistance() performance is sub-optimal
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=38911. 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=38911 --- Additional Comments From [EMAIL PROTECTED] 2006-03-14 06:24 --- Sendingsrc/java/org/apache/commons/lang/StringUtils.java Transmitting file data . Committed revision 385745. -- 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]
DO NOT REPLY [Bug 38959] New: - [configuration] Drop 1st class dependency on commons-logging
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=38959. 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=38959 Summary: [configuration] Drop 1st class dependency on commons- logging Product: Commons Version: 1.2 Final Platform: Other OS/Version: All Status: NEW Severity: minor Priority: P3 Component: Configuration AssignedTo: commons-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] Currently commons-logging is reported as first class dependency in the project reports. This is not true. The only classes that make direct usage of JCL are ConfigurationDynaBean/Class and this only for tracing. It would be nice to eliminate this reference at all and list JCL only as transitive dependency of digester and beanutils. We might support logging with the monitor/listener concept of http://issues.apache.org/bugzilla/show_bug.cgi?id=38929 -- 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]
[logging] FAQ - WebSphere 5.1
Good Morning, How Can I Use Commons-Logging In WebSphere 5.1? I'm using WebSphere 5.1. Commons-Logging doesn't seem to recognize my commons-logging.properties file. Help! Set EAR classloader mode as PARENT_LAST and WAR classloader policy as Application This is a bad solution in my opinion: Classloader policy Application is a workaround if you have no correct dependencies in your EAR/WAR combination. My tests showed that it is possible to get correct results with Classloader policy Module and EAR to PARENT_LAST and WAR PARENT_LAST. If you have an application with one EAR containing two WARs (i.E. one with a config for external customers, and one with a config for inhouse use) the JARs of first loaded will win. This is not the case for Module with two child-classloaders of the EAR for each WAR. If their is consensus about the best way to use JCL in WebSphere the entry should be revisited. Regards Boris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Jakarta-commons Wiki] Trivial Update of Logging/FrequentlyAskedQuestions by BorisUnckel
Dear Wiki user, You have subscribed to a wiki page or wiki category on Jakarta-commons Wiki for change notification. The following page has been changed by BorisUnckel: http://wiki.apache.org/jakarta-commons/Logging/FrequentlyAskedQuestions The comment on the change is: Removed the word log4j from Tomcat JULI under section alternatives. -- The Avalon !LogKit provides adapters to other logging libraries. However this library is not very widely used and is not (as far as I know) maintained any longer. - The JULI module in Apache Tomcat provides adapters from the java.util.logging API log4j. This is of course not an option for + The JULI module in Apache Tomcat provides adapters from the java.util.logging API. This is of course not an option for code that may be run in JVMs prior to 1.4. The java.util.logging system can also be awkward to set up. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 38907] - [dbutils] ScalarHandler subclasses that return Integers and Longs
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=38907. 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=38907 --- Additional Comments From [EMAIL PROTECTED] 2006-03-14 07:46 --- (From update of attachment 17855) /* * $Header: $ * $Revision: $ * $Date: $ * * * * The Apache Software License, Version 1.1 * * Copyright (c) 2006 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 acknowledgement: * This product includes software developed by the *Apache Software Foundation (http://www.apache.org/). *Alternately, this acknowledgement may appear in the software itself, *if and wherever such third-party acknowledgements normally appear. * * 4. The names The Jakarta Project, Commons, 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 names 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/. */ package org.apache.commons.dbutils.handlers; import java.sql.ResultSet; import java.sql.SQLException; /** * codeResultSetHandler/code implementation that converts one * codeResultSet/code column into a Long. This class is thread safe. * * @author Greg Hawkes */ public class LongScalarHandler extends org.apache.commons.dbutils.handlers.ScalarHandler { /** * Create a new instance of LongScalarHandler. * * Calls to codehandle()/code will retrieve the first column * from the codeResultSet/code. */ public LongScalarHandler() { super(); } /** * Creates a new instance of LongScalarHandler. * * @param columnIndex The index of the column to retrieve from the * codeResultSet/code. */ public LongScalarHandler(int columnIndex) { super(columnIndex); } /** * Creates a new instance of LongScalarHandler. * * @param columnName The name of the column to retrieve from the * codeResultSet/code. */ public LongScalarHandler(String columnName) { super(columnName); } /** * Returns one codeResultSet/code column as a Long via the * codeResultSet.getObject()/code method that performs type * conversions. * * @return A codeLong/code containing the value of the column, * or codenull/code if there are no rows in the codeResultSet/code. * * @throws SQLException if the column cannot be converted to a Long * * @see org.apache.commons.dbutils.ResultSetHandler#handle(java.sql.ResultSet) */ public final Object handle(ResultSet rs) throws SQLException { Object result = super.handle(rs); if (result == null) { return null; } if (result instanceof Long) { return result; } if (result instanceof Number) {