[GUMP@vmgump]: Project commons-configuration-test (in module apache-commons) failed

2012-03-15 Thread Gump
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 gene...@gump.apache.org.

Project commons-configuration-test has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 45 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-configuration-test :  Apache Commons


Full details are available at:

http://vmgump.apache.org/gump/public/apache-commons/commons-configuration-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -WARNING- Overriding Maven settings: 
[/srv/gump/public/workspace/apache-commons/configuration/gump_mvn_settings.xml]
 -DEBUG- (Apache Gump generated) Apache Maven Settings in: 
/srv/gump/public/workspace/apache-commons/configuration/gump_mvn_settings.xml
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/srv/gump/public/workspace/apache-commons/configuration/pom.xml
 -INFO- Project Reports in: 
/srv/gump/public/workspace/apache-commons/configuration/target/surefire-reports



The following work was performed:
http://vmgump.apache.org/gump/public/apache-commons/commons-configuration-test/gump_work/build_apache-commons_commons-configuration-test.html
Work Name: build_apache-commons_commons-configuration-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 1 min 43 secs
Command Line: /opt/maven2/bin/mvn --batch-mode --settings 
/srv/gump/public/workspace/apache-commons/configuration/gump_mvn_settings.xml 
test 
[Working Directory: /srv/gump/public/workspace/apache-commons/configuration]
M2_HOME: /opt/maven2
-
Running org.apache.commons.configuration.TestHierarchicalConfigurationXMLReader
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
Running org.apache.commons.configuration.TestNullCompositeConfiguration
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.159 sec
Running org.apache.commons.configuration.interpol.TestConfigurationInterpolator
Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
Running org.apache.commons.configuration.interpol.TestEnvironmentLookup
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.commons.configuration.interpol.TestExprLookup
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.apache.commons.configuration.interpol.TestConstantLookup
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.apache.commons.configuration.TestPropertiesConfigurationLayout
Tests run: 38, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 sec
Running org.apache.commons.configuration.TestConfigurationConverter
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.apache.commons.configuration.TestFileConfiguration
Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.483 sec
Running org.apache.commons.configuration.TestPatternSubtreeConfiguration
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.apache.commons.configuration.TestPropertyConverter
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec
Running org.apache.commons.configuration.TestConfigurationMap
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.apache.commons.configuration.reloading.TestManagedReloadingStrategy
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running 
org.apache.commons.configuration.reloading.TestVFSFileChangedReloadingStrategy
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.011 sec
Running 
org.apache.commons.configuration.reloading.TestFileChangedReloadingStrategy
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.019 sec

Results :

Failed tests:   
testValidation2(org.apache.commons.configuration.TestVFSConfigurationBuilder): 
The test key was not located

Tests run: 1593, Failures: 1, Errors: 0, Skipped: 0

[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] There are test failures.

Please refer to 
/srv/gump/public/workspace/apache-commons/configuration/target/surefire-reports 
for the individual test results.
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 1 minute 42 seconds
[INFO] Finished at: Thu Mar 15 06:28:08 UTC 2012
[INFO] Final 

[GUMP@vmgump]: Project commons-proxy-test (in module apache-commons) failed

2012-03-15 Thread Gump
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 gene...@gump.apache.org.

Project commons-proxy-test has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 32 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-proxy-test :  Apache Commons


Full details are available at:

http://vmgump.apache.org/gump/public/apache-commons/commons-proxy-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -WARNING- Overriding Maven settings: 
[/srv/gump/public/workspace/apache-commons/proxy/gump_mvn_settings.xml]
 -DEBUG- (Apache Gump generated) Apache Maven Settings in: 
/srv/gump/public/workspace/apache-commons/proxy/gump_mvn_settings.xml
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: /srv/gump/public/workspace/apache-commons/proxy/pom.xml
 -INFO- Project Reports in: 
/srv/gump/public/workspace/apache-commons/proxy/target/surefire-reports



The following work was performed:
http://vmgump.apache.org/gump/public/apache-commons/commons-proxy-test/gump_work/build_apache-commons_commons-proxy-test.html
Work Name: build_apache-commons_commons-proxy-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 13 secs
Command Line: /opt/maven2/bin/mvn --batch-mode --settings 
/srv/gump/public/workspace/apache-commons/proxy/gump_mvn_settings.xml test 
[Working Directory: /srv/gump/public/workspace/apache-commons/proxy]
M2_HOME: /opt/maven2
-
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.commons.proxy.factory.util.TestMethodSignature
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.commons.proxy.provider.TestConstantProvider
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.commons.proxy.interceptor.TestFilteredInterceptor
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec
Running org.apache.commons.proxy.interceptor.filter.TestPatternFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.apache.commons.proxy.interceptor.TestSerializingInterceptor
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.052 sec
Running org.apache.commons.proxy.interceptor.TestInterceptorChain
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.commons.proxy.invoker.TestNullInvoker
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec
Running org.apache.commons.proxy.provider.remoting.TestBurlapProvider
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.apache.commons.proxy.exception.TestDelegateProviderException
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.commons.proxy.invoker.TestChainInvoker
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.apache.commons.proxy.factory.javassist.TestJavassistProxyFactory
Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.199 sec
Running org.apache.commons.proxy.exception.TestProxyFactoryException
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.apache.commons.proxy.interceptor.filter.TestReturnTypeFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.commons.proxy.provider.TestBeanProvider
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec

Results :

Tests in error: 
  testInvalidHandlerName(org.apache.commons.proxy.invoker.TestXmlRpcInvoker)

Tests run: 179, Failures: 0, Errors: 1, Skipped: 0

[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] There are test failures.

Please refer to 
/srv/gump/public/workspace/apache-commons/proxy/target/surefire-reports for the 
individual test results.
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 12 seconds
[INFO] Finished at: Thu Mar 15 06:30:05 UTC 2012
[INFO] Final Memory: 24M/58M
[INFO] 
-

To subscribe to this information via syndicated feeds:
- RSS: 
http://vmgump.apache.org/gump/public/apache-commons/commons-proxy-test/rss.xml
- Atom: 

[GUMP@vmgump]: Project commons-id (in module commons-sandbox) failed

2012-03-15 Thread Gump
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 gene...@gump.apache.org.

Project commons-id has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 6 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-id :  Commons Identifier Package


Full details are available at:
http://vmgump.apache.org/gump/public/commons-sandbox/commons-id/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole jar output [commons-id-15032012.jar] identifier set to project 
name
 -DEBUG- (Apache Gump generated) Apache Maven Properties in: 
/srv/gump/public/workspace/commons-sandbox/id/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: /srv/gump/public/workspace/commons-sandbox/id/project.xml
 -DEBUG- Maven project properties in: 
/srv/gump/public/workspace/commons-sandbox/id/project.properties
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/commons-sandbox/commons-id/gump_work/build_commons-sandbox_commons-id.html
Work Name: build_commons-sandbox_commons-id (Type: Build)
Work ended in a state of : Failed
Elapsed: 26 secs
Command Line: maven --offline jar 
[Working Directory: /srv/gump/public/workspace/commons-sandbox/id]
-
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.847 sec
[junit] Running org.apache.commons.id.uuid.state.NodeTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.325 sec
[junit] Running 
org.apache.commons.id.uuid.state.ReadOnlyResourceStateImplTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.439 sec
[junit] Running org.apache.commons.id.uuid.state.ReadWriteFileStateImplTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.466 sec
[junit] Running org.apache.commons.id.uuid.state.StateHelperTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.332 sec
[junit] Running org.apache.commons.id.uuid.state.InMemoryStateImplTest
[junit] Tests run: 5, Failures: 1, Errors: 0, Time elapsed: 0.337 sec
[junit] [ERROR] TEST org.apache.commons.id.uuid.state.InMemoryStateImplTest 
FAILED
[junit] Running org.apache.commons.id.uuid.UUIDTest
[junit] Tests run: 17, Failures: 0, Errors: 0, Time elapsed: 0.282 sec
[junit] Running org.apache.commons.id.uuid.NodeManagerImplTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.427 sec
[junit] Running org.apache.commons.id.uuid.task.UUIDTaskTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.485 sec
[junit] Running org.apache.commons.id.uuid.clock.ThreadClockImplTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.305 sec
[junit] Running org.apache.commons.id.uuid.clock.SystemClockImplTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.26 sec
[junit] Running org.apache.commons.id.serial.AlphanumericGeneratorTest
[junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.287 sec
[junit] Running org.apache.commons.id.serial.LongGeneratorTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.286 sec
[junit] Running org.apache.commons.id.serial.PrefixedNumericGeneratorTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.281 sec
[junit] Running org.apache.commons.id.serial.NumericGeneratorTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.262 sec
[junit] Running 
org.apache.commons.id.serial.PrefixedLeftPaddedNumericGeneratorTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.256 sec
[junit] Running 
org.apache.commons.id.serial.PrefixedAlphanumericGeneratorTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.248 sec
[junit] Running 
org.apache.commons.id.serial.TimeBasedAlphanumericIdentifierGeneratorTest
[junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 0.757 sec
[junit] Running org.apache.commons.id.CompositeIdentifierGeneratorTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.28 sec
[junit] Running org.apache.commons.id.ConstantIdentifierGeneratorTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.262 sec

BUILD FAILED
File.. /home/gump/.maven/cache/maven-test-plugin-1.6.2/plugin.jelly
Element... fail
Line.. 181
Column 54
There were test failures.
Total time: 25 seconds
Finished at: Thu Mar 15 06:52:00 UTC 2012

-

To subscribe to this information via 

[GUMP@vmgump]: Project commons-vfs2-test (in module apache-commons) failed

2012-03-15 Thread Gump
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 gene...@gump.apache.org.

Project commons-vfs2-test has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 32 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-vfs2-test :  Apache Commons


Full details are available at:

http://vmgump.apache.org/gump/public/apache-commons/commons-vfs2-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -WARNING- Overriding Maven settings: 
[/srv/gump/public/workspace/apache-commons/vfs/gump_mvn_settings.xml]
 -DEBUG- (Apache Gump generated) Apache Maven Settings in: 
/srv/gump/public/workspace/apache-commons/vfs/gump_mvn_settings.xml
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: /srv/gump/public/workspace/apache-commons/vfs/pom.xml
 -INFO- Project Reports in: 
/srv/gump/public/workspace/apache-commons/vfs/core/target/surefire-reports



The following work was performed:
http://vmgump.apache.org/gump/public/apache-commons/commons-vfs2-test/gump_work/build_apache-commons_commons-vfs2-test.html
Work Name: build_apache-commons_commons-vfs2-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 1 min 29 secs
Command Line: /opt/maven2/bin/mvn --batch-mode --settings 
/srv/gump/public/workspace/apache-commons/vfs/gump_mvn_settings.xml package 
[Working Directory: /srv/gump/public/workspace/apache-commons/vfs]
M2_HOME: /opt/maven2
-
Tests in error: 
  
testDefaultInstance(org.apache.commons.vfs2.test.FileSystemManagerFactoryTestCase):
 Could not create a file system manager of class 
org.apache.commons.vfs2.impl.StandardFileSystemManager.
  org.apache.commons.vfs2.PatternFileSelectorTest: Could not create a file 
system manager of class 
org.apache.commons.vfs2.impl.StandardFileSystemManager.
  org.apache.commons.vfs2.FileTypeSelectorTest: Could not create a file system 
manager of class org.apache.commons.vfs2.impl.StandardFileSystemManager.
  org.apache.commons.vfs2.FileIteratorTest: Could not create a file system 
manager of class org.apache.commons.vfs2.impl.StandardFileSystemManager.
  
junit.framework.TestSuite@c75e4fc(org.apache.commons.vfs2.test.CacheTestSuite): 
org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
  
junit.framework.TestSuite@7e78fc6(org.apache.commons.vfs2.test.CacheTestSuite): 
org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
  
testDelegatingBad(org.apache.commons.vfs2.util.DelegatingFileSystemOptionsBuilderTest):
 
org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
  
testConfiguration(org.apache.commons.vfs2.util.DelegatingFileSystemOptionsBuilderTest):
 
org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
  
testDelegatingGood(org.apache.commons.vfs2.util.DelegatingFileSystemOptionsBuilderTest):
 
org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
  
junit.framework.TestSuite@379e8f17(org.apache.commons.vfs2.test.ProviderTestSuite):
 
org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
  
junit.framework.TestSuite@39385660(org.apache.commons.vfs2.test.ProviderTestSuite):
 
org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
  
junit.framework.TestSuite@44a613f8(org.apache.commons.vfs2.test.ProviderTestSuite):
 
org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
  
junit.framework.TestSuite@40589e56(org.apache.commons.vfs2.test.ProviderTestSuite):
 
org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
  
junit.framework.TestSuite@6c69d02b(org.apache.commons.vfs2.provider.ftp.test.FtpProviderTestCase$1):
 
org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
  
junit.framework.TestSuite@7c0b6548(org.apache.commons.vfs2.test.ProviderTestSuite):
 
org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
  org.apache.commons.vfs2.provider.test.FileObjectSortTestCase: Could not 
create a file system manager of class 
org.apache.commons.vfs2.impl.StandardFileSystemManager.
  

Re: [csv] Headers

2012-03-15 Thread Benedikt Ritter
Am 15. März 2012 01:58 schrieb Emmanuel Bourg ebo...@apache.org:
 There is another alternative, we might replace the records returned as a
 String[] by a CSVRecord class able to access the fields by id or by name.
 This would be similar to a JDBC resultset (except for the looping logic)


sounds good. This discussion showed, that a record is more than a
String array. So having a specialized class is a good idea.

 This avoids the duplication of the parser, which might still be generified
 later to support custom beans.

 The example becomes:

  CSVFormat format = CSVFormat.DEFAULT.withHeader();

  for (CSVRecord record : format.parse(in)) {

      Person person = new Person();
      person.setName(record.get(name));
      person.setEmail(record.get(email));
      person.setPhone(record.get(phone));
      persons.add(person);
  }

 The record is not a Map to keep it simple, it only exposes 3 methods:
 get(int), get(String) and size()


I'm not sure if I understand the approach completely. The Header can
not be accessed as a CSVRecord, right? CSVRecords know the header
values through get(string). What happens if the format does not
support a header? UnsupportedOperationException?
If I got you right, we could use getHeaders() to know, which header
values are available.

Maybe it would be useful to have the record implement iterable as well.

Benedikt

 Emmanuel Bourg



-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [csv] Headers

2012-03-15 Thread Emmanuel Bourg

Le 15/03/2012 08:55, Benedikt Ritter a écrit :


I'm not sure if I understand the approach completely. The Header can
not be accessed as a CSVRecord, right? CSVRecords know the header
values through get(string). What happens if the format does not
support a header? UnsupportedOperationException?


Yes, or IllegalStateException.



If I got you right, we could use getHeaders() to know, which header
values are available.


The actual header would be returned by parser.getHeader().



Maybe it would be useful to have the record implement iterable as well.


Or have a method return the array of values if you want to iterate over it.

Emmanuel Bourg



smime.p7s
Description: S/MIME Cryptographic Signature


[continuum] BUILD FAILURE: Apache Commons - Apache Commons Digester - Default Maven 2 Build Definition (Java 1.5)

2012-03-15 Thread Continuum@vmbuild
Online report : 
http://vmbuild.apache.org/continuum/buildResult.action?buildId=20142projectId=75

Build statistics:
  State: Failed
  Previous State: Failed
  Started at: Thu 15 Mar 2012 10:20:10 +
  Finished at: Thu 15 Mar 2012 10:21:20 +
  Total time: 1m 10s
  Build Trigger: Schedule
  Build Number: 162
  Exit code: 1
  Building machine hostname: vmbuild
  Operating system : Linux(unknown)
  Java Home version : 
  java version 1.6.0_30
  Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
  Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)

  Builder version :
  Apache Maven 2.2.1 (r801777; 2009-08-06 19:16:01+)
  Java version: 1.6.0_30
  Java home: /usr/lib/jvm/jdk1.6.0_30/jre
  Default locale: en_US, platform encoding: ANSI_X3.4-1968
  OS name: linux version: 2.6.32-31-server arch: amd64 Family: 
unix


SCM Changes:

Changed: simonetripodi @ Thu 15 Mar 2012 09:57:47 +
Comment: imported testcase for [DIGESTER-163]
Files changed:
  
/commons/proper/digester/trunk/core/src/test/java/org/apache/commons/digester3/binder/Digester163TestCase.java
 ( 1300873 )
  
/commons/proper/digester/trunk/core/src/test/java/org/apache/commons/digester3/binder/Entity.java
 ( 1300873 )
  
/commons/proper/digester/trunk/core/src/test/resources/org/apache/commons/digester3/binder
 ( 1300873 )
  
/commons/proper/digester/trunk/core/src/test/resources/org/apache/commons/digester3/binder/rules.xml
 ( 1300873 )
  
/commons/proper/digester/trunk/core/src/test/resources/org/apache/commons/digester3/binder/test.xml
 ( 1300873 )


Dependencies Changes:

No dependencies changed



Build Definition:

POM filename: pom.xml
Goals: clean deploy   
Arguments: --batch-mode -Pjava-1.5
Build Fresh: false
Always Build: false
Default Build Definition: true
Schedule: COMMONS_SCHEDULE
Profile Name: Maven 2.2.1
Description: Default Maven 2 Build Definition (Java 1.5)


Test Summary:

Tests: 209
Failures: 0
Errors: 0
Success Rate: 100
Total time: 4.088





-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



[continuum] BUILD FAILURE: Apache Commons - Apache Commons Digester - Default Maven 2 Build Definition (Java 1.5)

2012-03-15 Thread Continuum@vmbuild
Online report : 
http://vmbuild.apache.org/continuum/buildResult.action?buildId=20144projectId=75

Build statistics:
  State: Failed
  Previous State: Failed
  Started at: Thu 15 Mar 2012 11:20:09 +
  Finished at: Thu 15 Mar 2012 11:21:19 +
  Total time: 1m 9s
  Build Trigger: Schedule
  Build Number: 162
  Exit code: 1
  Building machine hostname: vmbuild
  Operating system : Linux(unknown)
  Java Home version : 
  java version 1.6.0_30
  Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
  Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)

  Builder version :
  Apache Maven 2.2.1 (r801777; 2009-08-06 19:16:01+)
  Java version: 1.6.0_30
  Java home: /usr/lib/jvm/jdk1.6.0_30/jre
  Default locale: en_US, platform encoding: ANSI_X3.4-1968
  OS name: linux version: 2.6.32-31-server arch: amd64 Family: 
unix


SCM Changes:

Changed: simonetripodi @ Thu 15 Mar 2012 10:46:53 +
Comment: added recommendations on using shortcut methods
Files changed:
  
/commons/proper/digester/trunk/core/src/main/java/org/apache/commons/digester3/binder/DigesterLoader.java
 ( 1300903 )


Dependencies Changes:

No dependencies changed



Build Definition:

POM filename: pom.xml
Goals: clean deploy   
Arguments: --batch-mode -Pjava-1.5
Build Fresh: false
Always Build: false
Default Build Definition: true
Schedule: COMMONS_SCHEDULE
Profile Name: Maven 2.2.1
Description: Default Maven 2 Build Definition (Java 1.5)


Test Summary:

Tests: 209
Failures: 0
Errors: 0
Success Rate: 100
Total time: 4.4019995





-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: svn commit: r1300925 - /commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/AccessibleObjectsRegistry.java

2012-03-15 Thread sebb
On 15 March 2012 11:26,  simonetrip...@apache.org wrote:
 Author: simonetripodi
 Date: Thu Mar 15 11:26:25 2012
 New Revision: 1300925

 URL: http://svn.apache.org/viewvc?rev=1300925view=rev
 Log:
 just incrementally built the hashcode in the constructor


I wondered why you did not use the java.lang.String approach, but I
see the class is used in a HashMap so the hashCode will always be
needed.
Might be an idea to note this in the ctor?

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: svn commit: r1300925 - /commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/AccessibleObjectsRegistry.java

2012-03-15 Thread Benedikt Ritter
Am 15. März 2012 12:59 schrieb sebb seb...@gmail.com:
 On 15 March 2012 11:26,  simonetrip...@apache.org wrote:
 Author: simonetripodi
 Date: Thu Mar 15 11:26:25 2012
 New Revision: 1300925

 URL: http://svn.apache.org/viewvc?rev=1300925view=rev
 Log:
 just incrementally built the hashcode in the constructor


 I wondered why you did not use the java.lang.String approach, but I
 see the class is used in a HashMap so the hashCode will always be
 needed.
 Might be an idea to note this in the ctor?


AccessibleObjectDescriptor is a nested private class of the package
private AccessibleObjectRegistry. So users will never create
AccessibleObjectDescriptors. The class comment says Represents the
key to looking up an AccessibleObject by reflection.
Would be a bit redundant to add yet another comment to the constructor.

 -
 To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
 For additional commands, e-mail: dev-h...@commons.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



[CSV] Performance

2012-03-15 Thread sebb
In my testing, using final class variables for delimiter, escape etc
(set in ctor) shaves about 1 sec off the time to read the world town
data file compared with accessing these fields inline through the
format field.

Average time goes from c. 25.5 to c. 24.5 which is a 4% improvement.

I suspect this is partly because the fetches are currently in loops
rather than any getter overhead.

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [CSV] Performance

2012-03-15 Thread Emmanuel Bourg

Le 15/03/2012 13:34, sebb a écrit :

In my testing, using final class variables for delimiter, escape etc
(set in ctor) shaves about 1 sec off the time to read the world town
data file compared with accessing these fields inline through the
format field.

Average time goes from c. 25.5 to c. 24.5 which is a 4% improvement.

I suspect this is partly because the fetches are currently in loops
rather than any getter overhead.


Did you run with the client or the server VM? My tests were all with the 
server VM.



Emmanuel Bourg



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [CSV] Performance

2012-03-15 Thread Benedikt Ritter
Am 15. März 2012 13:50 schrieb Gary Gregory garydgreg...@gmail.com:
 Can you put your perf test code and resources in SVN so I do not have to
 write on please?


Hi Gary,

have a look at http://markmail.org/message/x73i3hl63rjqdyfa (I agree
with you, that having a clean performance test in SVN would be better)

Regards,
Benedikt

 Gary

 On Thu, Mar 15, 2012 at 8:34 AM, sebb seb...@gmail.com wrote:

 In my testing, using final class variables for delimiter, escape etc
 (set in ctor) shaves about 1 sec off the time to read the world town
 data file compared with accessing these fields inline through the
 format field.

 Average time goes from c. 25.5 to c. 24.5 which is a 4% improvement.

 I suspect this is partly because the fetches are currently in loops
 rather than any getter overhead.

 -
 To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
 For additional commands, e-mail: dev-h...@commons.apache.org




 --
 E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
 JUnit in Action, 2nd Ed: http://goog_1249600977http://bit.ly/ECvg0
 Spring Batch in Action: http://s.apache.org/HOqhttp://bit.ly/bqpbCK
 Blog: http://garygregory.wordpress.com
 Home: http://garygregory.com/
 Tweet! http://twitter.com/GaryGregory

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [CSV] Performance

2012-03-15 Thread sebb
On 15 March 2012 12:43, Emmanuel Bourg ebo...@apache.org wrote:
 Le 15/03/2012 13:34, sebb a écrit :

 In my testing, using final class variables for delimiter, escape etc
 (set in ctor) shaves about 1 sec off the time to read the world town
 data file compared with accessing these fields inline through the
 format field.

 Average time goes from c. 25.5 to c. 24.5 which is a 4% improvement.

 I suspect this is partly because the fetches are currently in loops
 rather than any getter overhead.


 Did you run with the client or the server VM? My tests were all with the
 server VM.

Eclipse, so probably client VM?


 Emmanuel Bourg


-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [CSV] Performance

2012-03-15 Thread Emmanuel Bourg

Le 15/03/2012 14:13, sebb a écrit :


Eclipse, so probably client VM?


Probably. You can print the java.vm.name system property at the 
beginning of the test, that will tell you the VM used.


Emmanuel Bourg



smime.p7s
Description: S/MIME Cryptographic Signature


Re: svn commit: r1300977 - in /commons/proper/csv/trunk: ./ src/test/java/org/apache/commons/csv/

2012-03-15 Thread Benedikt Ritter
Am 15. März 2012 14:44 schrieb  ggreg...@apache.org:
 Author: ggregory
 Date: Thu Mar 15 13:44:44 2012
 New Revision: 1300977

 URL: http://svn.apache.org/viewvc?rev=1300977view=rev
 Log:
 Update to JUnit 4.10 from 3.8.1.


nice work! how about a static import of org.junit.Assert.* ?

 Modified:
    commons/proper/csv/trunk/   (props changed)
    commons/proper/csv/trunk/pom.xml
    
 commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java
    
 commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVLexerTest.java
    
 commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVParserTest.java
    
 commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVPrinterTest.java
    
 commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/ExtendedBufferedReaderTest.java

 Propchange: commons/proper/csv/trunk/
 --
 --- svn:ignore (original)
 +++ svn:ignore Thu Mar 15 13:44:44 2012
 @@ -2,3 +2,5 @@
  .project
  target
  .settings
 +maven-eclipse.xml
 +.externalToolBuilders

 Modified: commons/proper/csv/trunk/pom.xml
 URL: 
 http://svn.apache.org/viewvc/commons/proper/csv/trunk/pom.xml?rev=1300977r1=1300976r2=1300977view=diff
 ==
 --- commons/proper/csv/trunk/pom.xml (original)
 +++ commons/proper/csv/trunk/pom.xml Thu Mar 15 13:44:44 2012
 @@ -16,7 +16,7 @@
     dependency
       groupIdjunit/groupId
       artifactIdjunit/artifactId
 -      version3.8.1/version
 +      version4.10/version
       scopetest/scope
     /dependency
   /dependencies

 Modified: 
 commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java
 URL: 
 http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java?rev=1300977r1=1300976r2=1300977view=diff
 ==
 --- 
 commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java
  (original)
 +++ 
 commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java
  Thu Mar 15 13:44:44 2012
 @@ -22,10 +22,12 @@ import java.io.ByteArrayOutputStream;
  import java.io.ObjectInputStream;
  import java.io.ObjectOutputStream;

 -import junit.framework.TestCase;
 +import org.junit.Assert;
 +import org.junit.Test;

 -public class CSVFormatTest extends TestCase {
 +public class CSVFormatTest {

 +    @Test
     public void testImmutalibity() {
         CSVFormat format = new CSVFormat('!', '!', '!', '!', true, true, 
 true, true, \r\n);

 @@ -39,91 +41,94 @@ public class CSVFormatTest extends TestC
         format.withEmptyLinesIgnored(false);
         format.withUnicodeEscapesInterpreted(false);

 -        assertEquals('!', format.getDelimiter());
 -        assertEquals('!', format.getEncapsulator());
 -        assertEquals('!', format.getCommentStart());
 -        assertEquals('!', format.getEscape());
 -        assertEquals(\r\n, format.getLineSeparator());
 -
 -        assertEquals(true, format.isLeadingSpacesIgnored());
 -        assertEquals(true, format.isTrailingSpacesIgnored());
 -        assertEquals(true, format.isEmptyLinesIgnored());
 -        assertEquals(true, format.isUnicodeEscapesInterpreted());
 +        Assert.assertEquals('!', format.getDelimiter());
 +        Assert.assertEquals('!', format.getEncapsulator());
 +        Assert.assertEquals('!', format.getCommentStart());
 +        Assert.assertEquals('!', format.getEscape());
 +        Assert.assertEquals(\r\n, format.getLineSeparator());
 +
 +        Assert.assertEquals(true, format.isLeadingSpacesIgnored());
 +        Assert.assertEquals(true, format.isTrailingSpacesIgnored());
 +        Assert.assertEquals(true, format.isEmptyLinesIgnored());
 +        Assert.assertEquals(true, format.isUnicodeEscapesInterpreted());
     }

 +    @Test
     public void testMutators() {
         CSVFormat format = new CSVFormat('!', '!', '!', '!', true, true, 
 true, true, \r\n);

 -        assertEquals('?', format.withDelimiter('?').getDelimiter());
 -        assertEquals('?', format.withEncapsulator('?').getEncapsulator());
 -        assertEquals('?', format.withCommentStart('?').getCommentStart());
 -        assertEquals(?, format.withLineSeparator(?).getLineSeparator());
 -        assertEquals('?', format.withEscape('?').getEscape());
 -
 -        assertEquals(false, 
 format.withLeadingSpacesIgnored(false).isLeadingSpacesIgnored());
 -        assertEquals(false, 
 format.withTrailingSpacesIgnored(false).isTrailingSpacesIgnored());
 -        assertEquals(false, 
 format.withSurroundingSpacesIgnored(false).isLeadingSpacesIgnored());
 -        assertEquals(false, 
 format.withSurroundingSpacesIgnored(false).isTrailingSpacesIgnored());
 -        assertEquals(false, 
 format.withEmptyLinesIgnored(false).isEmptyLinesIgnored());
 -        assertEquals(false, 
 

Re: svn commit: r1300977 - in /commons/proper/csv/trunk: ./ src/test/java/org/apache/commons/csv/

2012-03-15 Thread Emmanuel Bourg

Aaargh not now, it conflicts with my pending changes :(


Le 15/03/2012 14:44, ggreg...@apache.org a écrit :

Author: ggregory
Date: Thu Mar 15 13:44:44 2012
New Revision: 1300977

URL: http://svn.apache.org/viewvc?rev=1300977view=rev
Log:
Update to JUnit 4.10 from 3.8.1.

Modified:
 commons/proper/csv/trunk/   (props changed)
 commons/proper/csv/trunk/pom.xml
 
commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java
 
commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVLexerTest.java
 
commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVParserTest.java
 
commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVPrinterTest.java
 
commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/ExtendedBufferedReaderTest.java

Propchange: commons/proper/csv/trunk/
--
--- svn:ignore (original)
+++ svn:ignore Thu Mar 15 13:44:44 2012
@@ -2,3 +2,5 @@
  .project
  target
  .settings
+maven-eclipse.xml
+.externalToolBuilders

Modified: commons/proper/csv/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/csv/trunk/pom.xml?rev=1300977r1=1300976r2=1300977view=diff
==
--- commons/proper/csv/trunk/pom.xml (original)
+++ commons/proper/csv/trunk/pom.xml Thu Mar 15 13:44:44 2012
@@ -16,7 +16,7 @@
  dependency
groupIdjunit/groupId
artifactIdjunit/artifactId
-version3.8.1/version
+version4.10/version
scopetest/scope
  /dependency
/dependencies

Modified: 
commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java?rev=1300977r1=1300976r2=1300977view=diff
==
--- 
commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java
 (original)
+++ 
commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java
 Thu Mar 15 13:44:44 2012
@@ -22,10 +22,12 @@ import java.io.ByteArrayOutputStream;
  import java.io.ObjectInputStream;
  import java.io.ObjectOutputStream;

-import junit.framework.TestCase;
+import org.junit.Assert;
+import org.junit.Test;

-public class CSVFormatTest extends TestCase {
+public class CSVFormatTest {

+@Test
  public void testImmutalibity() {
  CSVFormat format = new CSVFormat('!', '!', '!', '!', true, true, true, true, 
\r\n);

@@ -39,91 +41,94 @@ public class CSVFormatTest extends TestC
  format.withEmptyLinesIgnored(false);
  format.withUnicodeEscapesInterpreted(false);

-assertEquals('!', format.getDelimiter());
-assertEquals('!', format.getEncapsulator());
-assertEquals('!', format.getCommentStart());
-assertEquals('!', format.getEscape());
-assertEquals(\r\n, format.getLineSeparator());
-
-assertEquals(true, format.isLeadingSpacesIgnored());
-assertEquals(true, format.isTrailingSpacesIgnored());
-assertEquals(true, format.isEmptyLinesIgnored());
-assertEquals(true, format.isUnicodeEscapesInterpreted());
+Assert.assertEquals('!', format.getDelimiter());
+Assert.assertEquals('!', format.getEncapsulator());
+Assert.assertEquals('!', format.getCommentStart());
+Assert.assertEquals('!', format.getEscape());
+Assert.assertEquals(\r\n, format.getLineSeparator());
+
+Assert.assertEquals(true, format.isLeadingSpacesIgnored());
+Assert.assertEquals(true, format.isTrailingSpacesIgnored());
+Assert.assertEquals(true, format.isEmptyLinesIgnored());
+Assert.assertEquals(true, format.isUnicodeEscapesInterpreted());
  }

+@Test
  public void testMutators() {
  CSVFormat format = new CSVFormat('!', '!', '!', '!', true, true, true, true, 
\r\n);

-assertEquals('?', format.withDelimiter('?').getDelimiter());
-assertEquals('?', format.withEncapsulator('?').getEncapsulator());
-assertEquals('?', format.withCommentStart('?').getCommentStart());
-assertEquals(?, format.withLineSeparator(?).getLineSeparator());
-assertEquals('?', format.withEscape('?').getEscape());
-
-assertEquals(false, 
format.withLeadingSpacesIgnored(false).isLeadingSpacesIgnored());
-assertEquals(false, 
format.withTrailingSpacesIgnored(false).isTrailingSpacesIgnored());
-assertEquals(false, 
format.withSurroundingSpacesIgnored(false).isLeadingSpacesIgnored());
-assertEquals(false, 
format.withSurroundingSpacesIgnored(false).isTrailingSpacesIgnored());
-assertEquals(false, 
format.withEmptyLinesIgnored(false).isEmptyLinesIgnored());
-assertEquals(false, 
format.withUnicodeEscapesInterpreted(false).isUnicodeEscapesInterpreted());
+

Re: svn commit: r1300977 - in /commons/proper/csv/trunk: ./ src/test/java/org/apache/commons/csv/

2012-03-15 Thread Gary Gregory
On Thu, Mar 15, 2012 at 9:49 AM, Emmanuel Bourg ebo...@apache.org wrote:

 Aaargh not now, it conflicts with my pending changes :(


Zut alors! How was I to know :(

G




 Le 15/03/2012 14:44, ggreg...@apache.org a écrit :

  Author: ggregory
 Date: Thu Mar 15 13:44:44 2012
 New Revision: 1300977

 URL: 
 http://svn.apache.org/viewvc?**rev=1300977view=revhttp://svn.apache.org/viewvc?rev=1300977view=rev
 Log:
 Update to JUnit 4.10 from 3.8.1.

 Modified:
 commons/proper/csv/trunk/   (props changed)
 commons/proper/csv/trunk/pom.**xml
 commons/proper/csv/trunk/src/**test/java/org/apache/commons/**
 csv/CSVFormatTest.java
 commons/proper/csv/trunk/src/**test/java/org/apache/commons/**
 csv/CSVLexerTest.java
 commons/proper/csv/trunk/src/**test/java/org/apache/commons/**
 csv/CSVParserTest.java
 commons/proper/csv/trunk/src/**test/java/org/apache/commons/**
 csv/CSVPrinterTest.java
 commons/proper/csv/trunk/src/**test/java/org/apache/commons/**csv/**
 ExtendedBufferedReaderTest.**java

 Propchange: commons/proper/csv/trunk/
 --**--**
 --
 --- svn:ignore (original)
 +++ svn:ignore Thu Mar 15 13:44:44 2012
 @@ -2,3 +2,5 @@
  .project
  target
  .settings
 +maven-eclipse.xml
 +.externalToolBuilders

 Modified: commons/proper/csv/trunk/pom.**xml
 URL: http://svn.apache.org/viewvc/**commons/proper/csv/trunk/pom.**
 xml?rev=1300977r1=1300976r2=**1300977view=diffhttp://svn.apache.org/viewvc/commons/proper/csv/trunk/pom.xml?rev=1300977r1=1300976r2=1300977view=diff
 ==**==**
 ==
 --- commons/proper/csv/trunk/pom.**xml (original)
 +++ commons/proper/csv/trunk/pom.**xml Thu Mar 15 13:44:44 2012
 @@ -16,7 +16,7 @@
  dependency
groupIdjunit/groupId
artifactIdjunit/artifactId
 -version3.8.1/version
 +version4.10/version
scopetest/scope
  /dependency
/dependencies

 Modified: commons/proper/csv/trunk/src/**test/java/org/apache/commons/**
 csv/CSVFormatTest.java
 URL: http://svn.apache.org/viewvc/**commons/proper/csv/trunk/src/**
 test/java/org/apache/commons/**csv/CSVFormatTest.java?rev=**
 1300977r1=1300976r2=1300977**view=diffhttp://svn.apache.org/viewvc/commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java?rev=1300977r1=1300976r2=1300977view=diff
 ==**==**
 ==
 --- 
 commons/proper/csv/trunk/src/**test/java/org/apache/commons/**csv/CSVFormatTest.java
 (original)
 +++ 
 commons/proper/csv/trunk/src/**test/java/org/apache/commons/**csv/CSVFormatTest.java
 Thu Mar 15 13:44:44 2012
 @@ -22,10 +22,12 @@ import java.io.ByteArrayOutputStream;
  import java.io.ObjectInputStream;
  import java.io.ObjectOutputStream;

 -import junit.framework.TestCase;
 +import org.junit.Assert;
 +import org.junit.Test;

 -public class CSVFormatTest extends TestCase {
 +public class CSVFormatTest {

 +@Test
  public void testImmutalibity() {
  CSVFormat format = new CSVFormat('!', '!', '!', '!', true, true,
 true, true, \r\n);

 @@ -39,91 +41,94 @@ public class CSVFormatTest extends TestC
  format.withEmptyLinesIgnored(**false);
  format.**withUnicodeEscapesInterpreted(**false);

 -assertEquals('!', format.getDelimiter());
 -assertEquals('!', format.getEncapsulator());
 -assertEquals('!', format.getCommentStart());
 -assertEquals('!', format.getEscape());
 -assertEquals(\r\n, format.getLineSeparator());
 -
 -assertEquals(true, format.isLeadingSpacesIgnored(**));
 -assertEquals(true, format.**isTrailingSpacesIgnored());
 -assertEquals(true, format.isEmptyLinesIgnored());
 -assertEquals(true, format.**isUnicodeEscapesInterpreted())**;
 +Assert.assertEquals('!', format.getDelimiter());
 +Assert.assertEquals('!', format.getEncapsulator());
 +Assert.assertEquals('!', format.getCommentStart());
 +Assert.assertEquals('!', format.getEscape());
 +Assert.assertEquals(\r\n, format.getLineSeparator());
 +
 +Assert.assertEquals(true, format.isLeadingSpacesIgnored(**));
 +Assert.assertEquals(true, format.**isTrailingSpacesIgnored());
 +Assert.assertEquals(true, format.isEmptyLinesIgnored());
 +Assert.assertEquals(true, format.**
 isUnicodeEscapesInterpreted())**;
  }

 +@Test
  public void testMutators() {
  CSVFormat format = new CSVFormat('!', '!', '!', '!', true, true,
 true, true, \r\n);

 -assertEquals('?', format.withDelimiter('?').**getDelimiter());
 -assertEquals('?', format.withEncapsulator('?').**
 getEncapsulator());
 -assertEquals('?', format.withCommentStart('?').**
 getCommentStart());
 -assertEquals(?, format.withLineSeparator(?).**
 getLineSeparator());
 -assertEquals('?', format.withEscape('?').**getEscape());
 

Re: svn commit: r1300977 - in /commons/proper/csv/trunk: ./ src/test/java/org/apache/commons/csv/

2012-03-15 Thread Emmanuel Bourg

Le 15/03/2012 14:59, Gary Gregory a écrit :


Zut alors! How was I to know :(


By asking the list first I guess :)

Could you just add the static import please? This will reduce the conflicts.

Emmanuel Bourg




smime.p7s
Description: S/MIME Cryptographic Signature


[GUMP@vmgump]: Project commons-exec-test (in module apache-commons) failed

2012-03-15 Thread Gump
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 gene...@gump.apache.org.

Project commons-exec-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-exec-test :  Apache Commons


Full details are available at:

http://vmgump.apache.org/gump/public/apache-commons/commons-exec-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -WARNING- Overriding Maven settings: 
[/srv/gump/public/workspace/apache-commons/exec/gump_mvn_settings.xml]
 -DEBUG- (Apache Gump generated) Apache Maven Settings in: 
/srv/gump/public/workspace/apache-commons/exec/gump_mvn_settings.xml
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: /srv/gump/public/workspace/apache-commons/exec/pom.xml
 -INFO- Project Reports in: 
/srv/gump/public/workspace/apache-commons/exec/target/surefire-reports



The following work was performed:
http://vmgump.apache.org/gump/public/apache-commons/commons-exec-test/gump_work/build_apache-commons_commons-exec-test.html
Work Name: build_apache-commons_commons-exec-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 1 min 24 secs
Command Line: /opt/maven2/bin/mvn --batch-mode --settings 
/srv/gump/public/workspace/apache-commons/exec/gump_mvn_settings.xml test 
[Working Directory: /srv/gump/public/workspace/apache-commons/exec]
M2_HOME: /opt/maven2
-
FOO..
org.apache.commons.exec.ExecuteException: Process exited with an error: 143 
(Exit value: 143)
Process completed in 2013 millis; below is its output
Process timed out and was killed.
Executing [sh, -c, src/test/scripts/invoker.sh]
invoker.sh -- going to start daemon process
cd: 21: can't cd to ../../../target
invoker.sh --  daemon process was started
Process completed in 8027 millis; above is its output
0: process has terminated: false
1: process has terminated: false
2: process has terminated: false
3: process has terminated: false
4: process has terminated: false
5: process has terminated: false
Preparing to execute process - commandLine=[/bin/ls, /opt]
Process spun off successfully - process=/bin/ls
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.022 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.028 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.022 ms
Process completed in 2004 millis; below is its output
Process timed out and was killed by watchdog.
gdal_translate
HDF5:/home/kk/grass/data/4404.he5://HDFEOS/GRIDS/OMI_Column_Amount_O3/Data_Fields/ColumnAmountO3/home/kk/4.tif
FOO..
Preparing to execute process - commandLine=[/bin/ls, /opt]
Process spun off successfully - process=/bin/ls
Tests run: 40, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 72.814 sec  
FAILURE!

Results :

Failed tests: 
  testExec_60(org.apache.commons.exec.DefaultExecutorTest)

Tests run: 95, Failures: 1, Errors: 0, Skipped: 0

[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] There are test failures.

Please refer to 
/srv/gump/public/workspace/apache-commons/exec/target/surefire-reports for the 
individual test results.
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 1 minute 23 seconds
[INFO] Finished at: Thu Mar 15 14:42:42 UTC 2012
[INFO] Final Memory: 25M/65M
[INFO] 
-

To subscribe to this information via syndicated feeds:
- RSS: 
http://vmgump.apache.org/gump/public/apache-commons/commons-exec-test/rss.xml
- Atom: 
http://vmgump.apache.org/gump/public/apache-commons/commons-exec-test/atom.xml

== Gump Tracking Only ===
Produced by Apache Gump(TM) version 2.3.
Gump Run 05001215032012, vmgump.apache.org:vmgump:05001215032012
Gump E-mail Identifier (unique within run) #1.

--
Apache Gump
http://gump.apache.org/ [Instance: vmgump]

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: svn commit: r1300977 - in /commons/proper/csv/trunk: ./ src/test/java/org/apache/commons/csv/

2012-03-15 Thread Emmanuel Bourg

Le 15/03/2012 15:39, Gary Gregory a écrit :


Yuck! I like to see the receiver of the message I am sending. The only time
I can see SI being justified to in math expressions (X * Y + 1 type of
stuff)


I agree, but that depends on the context. In a unit test it's not really 
ambiguous.


I'll check JUnit in Action and see what's the preferred form ;)

Emmanuel Bourg



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [CSV] Performance

2012-03-15 Thread Ted Dunning
I built a limited CSV package for parsing data in Mahout at one point.  I
doubt that it was general enough to be helpful here, but the experience
might be.

The thing that *really* made a big difference in speed was to avoid copies
and conversions to String.  To do that, I built a state machine that
operated on bytes to do the parsing from byte arrays.  The parser passed
around offsets only.  Then when converting data, I converted directly from
the original byte array into the target type.  For the most common case (in
my data) of converting to Integers, this eliminated masses of cons'ing and
because the conversion was special purpose (I assumed UTF8 encoding and
assumed that numbers could only use ASCII range digits), the conversion to
integers was particularly fast.

Overall, this made about a 20x difference in speed.  This is not 20%; the
final time was 5% of the original.

On Thu, Mar 15, 2012 at 8:34 AM, sebb seb...@gmail.com wrote:

 In my testing, using final class variables for delimiter, escape etc
 (set in ctor) shaves about 1 sec off the time to read the world town
 data file compared with accessing these fields inline through the
 format field.

 Average time goes from c. 25.5 to c. 24.5 which is a 4% improvement.

 I suspect this is partly because the fetches are currently in loops
 rather than any getter overhead.

 -
 To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
 For additional commands, e-mail: dev-h...@commons.apache.org




Re: [CSV] Performance

2012-03-15 Thread Emmanuel Bourg
Thank you for sharing your experience Ted. Do you have a link to the 
code of your parser? I'd like to get a look.


Currently the data flow in Commons CSV is:

1. Buffer the data in the BufferedReader
2. Accumulate data in a reusable buffer for the current token
3. Turn the token buffer into a String

I was also thinking at something similar to reduce the string copies. 
The token from the CSVLexer could probably contain a CharSequence 
instead of a String. The CharSequence would be backed by the same array 
for all the fields of the record. Thus if a field isn't read by the user 
we don't pay the cost to convert it into a String. But this prevents the 
reuse of the buffer, and that means more work for the GC.


Emmanuel Bourg


Le 15/03/2012 15:49, Ted Dunning a écrit :

I built a limited CSV package for parsing data in Mahout at one point.  I
doubt that it was general enough to be helpful here, but the experience
might be.

The thing that *really* made a big difference in speed was to avoid copies
and conversions to String.  To do that, I built a state machine that
operated on bytes to do the parsing from byte arrays.  The parser passed
around offsets only.  Then when converting data, I converted directly from
the original byte array into the target type.  For the most common case (in
my data) of converting to Integers, this eliminated masses of cons'ing and
because the conversion was special purpose (I assumed UTF8 encoding and
assumed that numbers could only use ASCII range digits), the conversion to
integers was particularly fast.

Overall, this made about a 20x difference in speed.  This is not 20%; the
final time was 5% of the original.




smime.p7s
Description: S/MIME Cryptographic Signature


[continuum] BUILD FAILURE: Apache Commons - Apache Commons Digester - Default Maven 2 Build Definition (Java 1.5)

2012-03-15 Thread Continuum@vmbuild
Online report : 
http://vmbuild.apache.org/continuum/buildResult.action?buildId=20150projectId=75

Build statistics:
  State: Failed
  Previous State: Failed
  Started at: Thu 15 Mar 2012 15:20:10 +
  Finished at: Thu 15 Mar 2012 15:21:11 +
  Total time: 1m 1s
  Build Trigger: Schedule
  Build Number: 162
  Exit code: 1
  Building machine hostname: vmbuild
  Operating system : Linux(unknown)
  Java Home version : 
  java version 1.6.0_30
  Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
  Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)

  Builder version :
  Apache Maven 2.2.1 (r801777; 2009-08-06 19:16:01+)
  Java version: 1.6.0_30
  Java home: /usr/lib/jvm/jdk1.6.0_30/jre
  Default locale: en_US, platform encoding: ANSI_X3.4-1968
  OS name: linux version: 2.6.32-31-server arch: amd64 Family: 
unix


SCM Changes:

Changed: simonetripodi @ Thu 15 Mar 2012 14:36:48 +
Comment: yet another attempt to make the loader failing
Files changed:
  
/commons/proper/digester/trunk/core/src/test/java/org/apache/commons/digester3/binder/Digester163TestCase.java
 ( 1301007 )
  
/commons/proper/digester/trunk/core/src/test/resources/org/apache/commons/digester3/binder/test.xml
 ( 1301007 )


Dependencies Changes:

No dependencies changed



Build Definition:

POM filename: pom.xml
Goals: clean deploy   
Arguments: --batch-mode -Pjava-1.5
Build Fresh: false
Always Build: false
Default Build Definition: true
Schedule: COMMONS_SCHEDULE
Profile Name: Maven 2.2.1
Description: Default Maven 2 Build Definition (Java 1.5)


Test Summary:

Tests: 209
Failures: 1
Errors: 0
Success Rate: 99
Total time: 3.455


Test Failures:


Digester163TestCase
test :
  junit.framework.AssertionFailedError
  junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:48)
at 
org.apache.commons.digester3.binder.Digester163TestCase.test(Digester163TestCase.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at 
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
at 

Re: [CSV] Performance

2012-03-15 Thread sebb
On 15 March 2012 13:17, Emmanuel Bourg ebo...@apache.org wrote:
 Le 15/03/2012 14:13, sebb a écrit :


 Eclipse, so probably client VM?


 Probably. You can print the java.vm.name system property at the beginning of
 the test, that will tell you the VM used.

It was client.

I've now tried with server, and it is slower when using class fields
created by the ctor.
Curious - perhaps it is a data localisation issue, though I would have
thought the optimiser could have fetched those into local variables.

So I then tried hauling the format method calls out of the loops into
final local variables.
This improves performance (slightly) in both client and server mode.

 Emmanuel Bourg


-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [CSV] Performance

2012-03-15 Thread Emmanuel Bourg

Le 15/03/2012 16:45, sebb a écrit :


So I then tried hauling the format method calls out of the loops into
final local variables.
This improves performance (slightly) in both client and server mode.


Could you show some code please? I'm unable to reproduce this. I used 
local variables in simpleTokenLexer and the performance degrades by 14% 
(HotSpot server VM, JDK 6u31, Core 2 Duo).


Emmanuel Bourg



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [CSV] Performance

2012-03-15 Thread sebb
On 15 March 2012 16:10, Emmanuel Bourg ebo...@apache.org wrote:
 Le 15/03/2012 16:45, sebb a écrit :


 So I then tried hauling the format method calls out of the loops into
 final local variables.
 This improves performance (slightly) in both client and server mode.


 Could you show some code please?

Ditto.

 I'm unable to reproduce this. I used local
 variables in simpleTokenLexer and the performance degrades by 14% (HotSpot
 server VM, JDK 6u31, Core 2 Duo).

I also used local vars in the other methods.

See http://people.apache.org/~sebb/CSV/

 Emmanuel Bourg


-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [CSV] Performance

2012-03-15 Thread Emmanuel Bourg

Le 15/03/2012 17:42, sebb a écrit :


I also used local vars in the other methods.

See http://people.apache.org/~sebb/CSV/


Thank you. You also reordered the if in simpleTokenLexer, that may 
explain the difference. I'll give it a try.


Emmanuel Bourg




smime.p7s
Description: S/MIME Cryptographic Signature


Re: [CSV] Performance

2012-03-15 Thread sebb
On 15 March 2012 16:48, Emmanuel Bourg ebo...@apache.org wrote:
 Le 15/03/2012 17:42, sebb a écrit :


 I also used local vars in the other methods.

 See http://people.apache.org/~sebb/CSV/


 Thank you. You also reordered the if in simpleTokenLexer, that may explain
 the difference. I'll give it a try.

I'd forgotten about that; I thought I'd reverted that.

If I revert it, I still get a better time with Lexer2, though not
quite as good an improvement.

 Emmanuel Bourg



-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [CSV] Performance

2012-03-15 Thread Emmanuel Bourg

Le 15/03/2012 18:06, sebb a écrit :


If I revert it, I still get a better time with Lexer2, though not
quite as good an improvement.


I ran my perf test, Lexer2 is slower on my system :( The order of the if 
doesn't change much here.


Emmanuel Bourg



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [csv] Why does CSVFormat provide a validate() method instead of validating parameters passed to its constructor?

2012-03-15 Thread Benedikt Ritter
Am 14. März 2012 22:47 schrieb sebb seb...@gmail.com:
 On 14 March 2012 21:40, Benedikt Ritter benerit...@googlemail.com wrote:
 Am 14. März 2012 22:33 schrieb Emmanuel Bourg ebo...@apache.org:
 Le 14/03/2012 22:25, Benedikt Ritter a écrit :


 I agree with you on this. However, I think it would be better to tie
 validation to the object creation. Maybe the Builder Pattern like
 shown in Effective Java p. 14-15 is a reasonable solution for this
 case? It would be a bit more verbose, but we can be sure that
 everything will be validated.


 That's too verbose, please let's keep this simple API.


 okay!
 although, I don't find
 CSVFormat format =
 CSVFormat.defaults().withDelimiter('#').withCommentStart('/').build()
 too verbose ;)

 Agree entirely.

 And parse and format could perform an implicit build().

 It would also allow one to eliminate the additional instance creation.


How about you Emmanuel? Could sebb convince you? ;-) How about this:
I'll create a patch and attach it to JIRA. Then we'll have a better
basis for discussion.

 Bonne nuit!

 Gute Nacht ?

 Benedikt

 Emmanuel Bourg


 -
 To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
 For additional commands, e-mail: dev-h...@commons.apache.org


 -
 To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
 For additional commands, e-mail: dev-h...@commons.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [csv] Why does CSVFormat provide a validate() method instead of validating parameters passed to its constructor?

2012-03-15 Thread Emmanuel Bourg

Le 15/03/2012 20:26, Benedikt Ritter a écrit :


How about you Emmanuel? Could sebb convince you? ;-) How about this:
I'll create a patch and attach it to JIRA. Then we'll have a better
basis for discussion.


Sorry but I'm not convinced. I see exactly where this leads.

If you have some free time and want to do something fun you can try 
reimplementing the parser with less array copies. Commons CSV is still 
behind the other APIs on the performance side.


Emmanuel Bourg



smime.p7s
Description: S/MIME Cryptographic Signature


[continuum] BUILD FAILURE: Apache Commons - Apache Commons Digester - Default Maven 2 Build Definition (Java 1.5)

2012-03-15 Thread Continuum@vmbuild
Online report : 
http://vmbuild.apache.org/continuum/buildResult.action?buildId=20159projectId=75

Build statistics:
  State: Failed
  Previous State: Failed
  Started at: Thu 15 Mar 2012 20:20:11 +
  Finished at: Thu 15 Mar 2012 20:21:37 +
  Total time: 1m 25s
  Build Trigger: Schedule
  Build Number: 162
  Exit code: 1
  Building machine hostname: vmbuild
  Operating system : Linux(unknown)
  Java Home version : 
  java version 1.6.0_30
  Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
  Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)

  Builder version :
  Apache Maven 2.2.1 (r801777; 2009-08-06 19:16:01+)
  Java version: 1.6.0_30
  Java home: /usr/lib/jvm/jdk1.6.0_30/jre
  Default locale: en_US, platform encoding: ANSI_X3.4-1968
  OS name: linux version: 2.6.32-31-server arch: amd64 Family: 
unix


SCM Changes:

Changed: simonetripodi @ Thu 15 Mar 2012 20:04:56 +
Comment: added (occasionally) failing test related to [DIGESTER-163]
Files changed:
  
/commons/proper/digester/trunk/core/src/test/java/org/apache/commons/digester3/binder/Digester163TestCase.java
 ( 1301174 )
  
/commons/proper/digester/trunk/core/src/test/resources/org/apache/commons/digester3/binder/rules.xml
 ( 1301174 )
  
/commons/proper/digester/trunk/core/src/test/resources/org/apache/commons/digester3/binder/test.xml
 ( 1301174 )

Changed: simonetripodi @ Thu 15 Mar 2012 20:09:31 +
Comment: potential fix for [DIGESTER-163]
Files changed:
  
/commons/proper/digester/trunk/core/src/main/java/org/apache/commons/digester3/binder/AbstractRulesModule.java
 ( 1301177 )


Dependencies Changes:

No dependencies changed



Build Definition:

POM filename: pom.xml
Goals: clean deploy   
Arguments: --batch-mode -Pjava-1.5
Build Fresh: false
Always Build: false
Default Build Definition: true
Schedule: COMMONS_SCHEDULE
Profile Name: Maven 2.2.1
Description: Default Maven 2 Build Definition (Java 1.5)


Test Summary:

Tests: 210
Failures: 0
Errors: 0
Success Rate: 100
Total time: 3.396





-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: svn commit: r1301220 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/export/

2012-03-15 Thread Simone Tripodi
Hi Thomas!
can I kindly ask you please to help me on merging modifications on
/trunk to the experimental branch?
I completed the drop the markers work but I still need to complete
the exporters...

Hope you can help, thanks in advance!
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/



On Thu, Mar 15, 2012 at 10:46 PM,  t...@apache.org wrote:
 Author: tn
 Date: Thu Mar 15 21:46:12 2012
 New Revision: 1301220

 URL: http://svn.apache.org/viewvc?rev=1301220view=rev
 Log:
 Improved javadoc and fixed class typo in export package.

 Added:
    
 commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/export/ExportSelector.java
      - copied, changed from r1301200, 
 commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/export/ExportSelctor.java
    
 commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/export/NamedExportSelector.java
      - copied, changed from r1301200, 
 commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/export/NamedExportSelctor.java
 Removed:
    
 commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/export/ExportSelctor.java
    
 commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/export/NamedExportSelctor.java
 Modified:
    
 commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/export/AbstractExporter.java
    
 commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/export/DefaultNamedExportSelector.java
    
 commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/export/DefaultToStreamBuilder.java
    
 commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/export/GraphExportException.java
    
 commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/export/ToStreamBuilder.java

 Modified: 
 commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/export/AbstractExporter.java
 URL: 
 http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/export/AbstractExporter.java?rev=1301220r1=1301219r2=1301220view=diff
 ==
 --- 
 commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/export/AbstractExporter.java
  (original)
 +++ 
 commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/export/AbstractExporter.java
  Thu Mar 15 21:46:12 2012
 @@ -69,9 +69,7 @@ abstract class AbstractExporterV extend
         catch ( Exception e )
         {
             throw new GraphExportException( e, an error occurred while 
 exporting graph %s (named %s) to writer %s,
 -                                            graph,
 -                                            name,
 -                                            writer );
 +                                            graph, name, writer );
         }
         finally
         {

 Modified: 
 commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/export/DefaultNamedExportSelector.java
 URL: 
 http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/export/DefaultNamedExportSelector.java?rev=1301220r1=1301219r2=1301220view=diff
 ==
 --- 
 commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/export/DefaultNamedExportSelector.java
  (original)
 +++ 
 commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/export/DefaultNamedExportSelector.java
  Thu Mar 15 21:46:12 2012
 @@ -26,7 +26,7 @@ import org.apache.commons.graph.Graph;
  import org.apache.commons.graph.Vertex;

  final class DefaultNamedExportSelectorV extends Vertex, E extends Edge, G 
 extends GraphV, E
 -    implements NamedExportSelctorV, E, G
 +    implements NamedExportSelectorV, E, G
  {

     private final G graph;
 @@ -35,31 +35,40 @@ final class DefaultNamedExportSelectorV

     private final String name;

 -    public DefaultNamedExportSelector( G graph, Writer writer )
 +    public DefaultNamedExportSelector( final G graph, final Writer writer )
     {
         this( graph, writer, null );
     }

 -    public DefaultNamedExportSelector( G graph, Writer writer, String name )
 +    public DefaultNamedExportSelector( final G graph, final Writer writer, 
 final String name )
     {
         this.graph = graph;
         this.writer = writer;
         this.name = name;
     }

 +    /**
 +     * {@inheritDoc}
 +     */
     public void usingDotNotation()
         throws GraphExportException
     {
         new DotExporterV, E, G( graph, writer, name ).export();
     }

 +    /**
 +     * {@inheritDoc}
 +     */
     public void usingGraphMLFormat()
         throws GraphExportException
     {
         new GraphMLExporterV, E, G( graph, writer, name ).export();
     }

 -    public ExportSelctorV, E, G withName( String name )
 +    /**
 +     * {@inheritDoc}
 +     

Re: svn commit: r1301220 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/export/

2012-03-15 Thread Thomas Neidhart
On 03/15/2012 10:50 PM, Simone Tripodi wrote:
 Hi Thomas!
 can I kindly ask you please to help me on merging modifications on
 /trunk to the experimental branch?
 I completed the drop the markers work but I still need to complete
 the exporters...
 
 Hope you can help, thanks in advance!

Hi Simone,

I can take a look tomorrow.

Cheers,

Thomas

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: svn commit: r1301220 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/export/

2012-03-15 Thread Simone Tripodi
thanks a lot in advance, very appreciated!
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/



On Thu, Mar 15, 2012 at 10:56 PM, Thomas Neidhart
thomas.neidh...@gmail.com wrote:
 On 03/15/2012 10:50 PM, Simone Tripodi wrote:
 Hi Thomas!
 can I kindly ask you please to help me on merging modifications on
 /trunk to the experimental branch?
 I completed the drop the markers work but I still need to complete
 the exporters...

 Hope you can help, thanks in advance!

 Hi Simone,

 I can take a look tomorrow.

 Cheers,

 Thomas

 -
 To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
 For additional commands, e-mail: dev-h...@commons.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



[continuum] BUILD FAILURE: Apache Commons - Apache Commons Digester - Default Maven 2 Build Definition (Java 1.5)

2012-03-15 Thread Continuum@vmbuild
Online report : 
http://vmbuild.apache.org/continuum/buildResult.action?buildId=20163projectId=75

Build statistics:
  State: Failed
  Previous State: Failed
  Started at: Thu 15 Mar 2012 22:20:09 +
  Finished at: Thu 15 Mar 2012 22:21:26 +
  Total time: 1m 17s
  Build Trigger: Schedule
  Build Number: 162
  Exit code: 1
  Building machine hostname: vmbuild
  Operating system : Linux(unknown)
  Java Home version : 
  java version 1.6.0_30
  Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
  Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)

  Builder version :
  Apache Maven 2.2.1 (r801777; 2009-08-06 19:16:01+)
  Java version: 1.6.0_30
  Java home: /usr/lib/jvm/jdk1.6.0_30/jre
  Default locale: en_US, platform encoding: ANSI_X3.4-1968
  OS name: linux version: 2.6.32-31-server arch: amd64 Family: 
unix


SCM Changes:

Changed: simonetripodi @ Thu 15 Mar 2012 21:41:36 +
Comment: less efficient, but that should fix [DIGESTER-163]
Files changed:
  
/commons/proper/digester/trunk/core/src/main/java/org/apache/commons/digester3/xmlrules/FromXmlRulesModule.java
 ( 1301217 )


Dependencies Changes:

No dependencies changed



Build Definition:

POM filename: pom.xml
Goals: clean deploy   
Arguments: --batch-mode -Pjava-1.5
Build Fresh: false
Always Build: false
Default Build Definition: true
Schedule: COMMONS_SCHEDULE
Profile Name: Maven 2.2.1
Description: Default Maven 2 Build Definition (Java 1.5)


Test Summary:

Tests: 210
Failures: 0
Errors: 0
Success Rate: 100
Total time: 3.473





-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: svn commit: r1301177 - /commons/proper/digester/trunk/core/src/main/java/org/apache/commons/digester3/binder/AbstractRulesModule.java

2012-03-15 Thread sebb
On 15 March 2012 20:09,  simonetrip...@apache.org wrote:
 Author: simonetripodi
 Date: Thu Mar 15 20:09:31 2012
 New Revision: 1301177

 URL: http://svn.apache.org/viewvc?rev=1301177view=rev
 Log:
 potential fix for [DIGESTER-163]

If the problem is due to multi-threading issues, isn't that because
the same instance is being shared between threads, presumably on
purpose?

If so, using ThreadLocal may fix the immediate problem, but won't it
prevent the data being shared?

 Modified:
    
 commons/proper/digester/trunk/core/src/main/java/org/apache/commons/digester3/binder/AbstractRulesModule.java

 Modified: 
 commons/proper/digester/trunk/core/src/main/java/org/apache/commons/digester3/binder/AbstractRulesModule.java
 URL: 
 http://svn.apache.org/viewvc/commons/proper/digester/trunk/core/src/main/java/org/apache/commons/digester3/binder/AbstractRulesModule.java?rev=1301177r1=1301176r2=1301177view=diff
 ==
 --- 
 commons/proper/digester/trunk/core/src/main/java/org/apache/commons/digester3/binder/AbstractRulesModule.java
  (original)
 +++ 
 commons/proper/digester/trunk/core/src/main/java/org/apache/commons/digester3/binder/AbstractRulesModule.java
  Thu Mar 15 20:09:31 2012
 @@ -28,26 +28,26 @@ public abstract class AbstractRulesModul
     implements RulesModule
  {

 -    private RulesBinder rulesBinder;
 +    private final ThreadLocalRulesBinder rulesBinders = new 
 ThreadLocalRulesBinder();

     /**
      * {@inheritDoc}
      */
     public final void configure( RulesBinder rulesBinder )
     {
 -        if ( this.rulesBinder != null )
 +        if ( rulesBinders.get() != null )
         {
             throw new IllegalStateException( Re-entry is not allowed. );
         }

 -        this.rulesBinder = rulesBinder;
 +        rulesBinders.set( rulesBinder );
         try
         {
             configure();
         }
         finally
         {
 -            this.rulesBinder = null;
 +            rulesBinders.remove();
         }
     }

 @@ -68,7 +68,7 @@ public abstract class AbstractRulesModul
      */
     protected void addError( String messagePattern, Object... arguments )
     {
 -        rulesBinder.addError( messagePattern, arguments );
 +        rulesBinders.get().addError( messagePattern, arguments );
     }

     /**
 @@ -80,7 +80,7 @@ public abstract class AbstractRulesModul
      */
     protected void addError( Throwable t )
     {
 -        rulesBinder.addError( t );
 +        rulesBinders.get().addError( t );
     }

     /**
 @@ -91,7 +91,7 @@ public abstract class AbstractRulesModul
      */
     protected void install( RulesModule rulesModule )
     {
 -        rulesBinder.install( rulesModule );
 +        rulesBinders.get().install( rulesModule );
     }

     /**
 @@ -103,7 +103,7 @@ public abstract class AbstractRulesModul
      */
     protected LinkedRuleBuilder forPattern( String pattern )
     {
 -        return rulesBinder.forPattern( pattern );
 +        return rulesBinders.get().forPattern( pattern );
     }

     /**
 @@ -113,7 +113,7 @@ public abstract class AbstractRulesModul
      */
     protected RulesBinder rulesBinder()
     {
 -        return rulesBinder;
 +        return rulesBinders.get();
     }

  }



-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



[continuum] BUILD ERROR: Apache Commons - Commons Net - Default Maven 2 Build Definition (Java 1.5)

2012-03-15 Thread Continuum@vmbuild
Online report : 
http://vmbuild.apache.org/continuum/buildResult.action?buildId=20166projectId=107

Build statistics:
  State: Error
  Previous State: Ok
  Started at: Fri 16 Mar 2012 00:21:16 +
  Finished at: Fri 16 Mar 2012 00:21:18 +
  Total time: 1s
  Build Trigger: Schedule
  Build Number: 0
  Exit code: 0
  Building machine hostname: vmbuild
  Operating system : Linux(unknown)
  Java Home version : 
  java version 1.6.0_30
  Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
  Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)

  Builder version :
  Apache Maven 2.2.1 (r801777; 2009-08-06 19:16:01+)
  Java version: 1.6.0_30
  Java home: /usr/lib/jvm/jdk1.6.0_30/jre
  Default locale: en_US, platform encoding: ANSI_X3.4-1968
  OS name: linux version: 2.6.32-31-server arch: amd64 Family: 
unix


SCM Changes:

Changed: sebb @ Thu 15 Mar 2012 23:51:31 +
Comment: Length check does not need to be protected by lock
Files changed:
  
/commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/DotTerminatedMessageReader.java
 ( 1301276 )


Dependencies Changes:

No dependencies changed



Build Definition:

POM filename: pom.xml
Goals: clean deploy   
Arguments: --batch-mode -Pjava-1.5
Build Fresh: false
Always Build: false
Default Build Definition: true
Schedule: COMMONS_SCHEDULE
Profile Name: Maven 2.2.1
Description: Default Maven 2 Build Definition (Java 1.5)


Test Summary:

Tests: 0
Failures: 0
Errors: 0
Total time: 0.0


Build Error:

org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error executing 
action 'execute-builder'
at 
org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction(DefaultBuildController.java:466)
at 
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:166)
at 
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:48)
at 
org.apache.continuum.taskqueueexecutor.ParallelBuildsThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ParallelBuildsThreadedTaskQueueExecutor.java:120)
at 
edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
at 
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.jdo.JDODataStoreException: Error while obtaining connection 
for POID generation : Already closed.
NestedThrowables:
java.sql.SQLException: Already closed.
at 
org.jpox.store.rdbms.RDBMSManager$2.retrieveConnection(RDBMSManager.java:1586)
at 
org.jpox.store.rdbms.poid.AbstractRDBMSPoidGenerator.obtainPoidBlock(AbstractRDBMSPoidGenerator.java:80)
at 
org.jpox.store.poid.AbstractPoidGenerator.obtainPoidBlock(AbstractPoidGenerator.java:187)
at 
org.jpox.store.poid.AbstractPoidGenerator.next(AbstractPoidGenerator.java:95)
at 
org.jpox.store.rdbms.RDBMSManager.getStrategyValue(RDBMSManager.java:1634)
at 
org.jpox.state.StateManagerImpl.populateStrategyFields(StateManagerImpl.java:812)
at org.jpox.state.StateManagerImpl.init(StateManagerImpl.java:582)
at 
org.jpox.state.StateManagerFactory.newStateManager(StateManagerFactory.java:105)
at 
org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1205)
at 
org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1277)
at 
org.codehaus.plexus.jdo.PlexusJdoUtils.makePersistent(PlexusJdoUtils.java:175)
at 
org.apache.continuum.dao.AbstractDao.makePersistent(AbstractDao.java:193)
at 
org.apache.continuum.dao.BuildResultDaoImpl.addBuildResult(BuildResultDaoImpl.java:104)
at 
org.apache.maven.continuum.core.action.ExecuteBuilderContinuumAction.execute(ExecuteBuilderContinuumAction.java:119)
 

[GUMP@vmgump]: Project commons-digester3 (in module apache-commons) failed

2012-03-15 Thread Gump
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 gene...@gump.apache.org.

Project commons-digester3 has an issue affecting its community integration.
This issue affects 2 projects,
 and has been outstanding for 66 runs.
The current state of this project is 'Failed', with reason 'Missing Build 
Outputs'.
For reference only, the following projects are affected by this:
- commons-digester3 :  XML to Java Object Configuration
- commons-digester3-test :  Apache Commons


Full details are available at:

http://vmgump.apache.org/gump/public/apache-commons/commons-digester3/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole jar output [commons-digester3-*[0-9T].jar] identifier set to 
project name
 -DEBUG- (Apache Gump generated) Apache Maven Settings in: 
/srv/gump/public/workspace/apache-commons/digester/gump_mvn_settings.xml
 -DEBUG- Maven POM in: 
/srv/gump/public/workspace/apache-commons/digester/pom.xml
 -INFO- Failed with reason missing build outputs
 -ERROR- Missing Output: 
/srv/gump/public/workspace/apache-commons/digester/target/commons-digester3-*[0-9T].jar
 -ERROR- See Directory Listing Work for Missing Outputs
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/apache-commons/commons-digester3/gump_work/build_apache-commons_commons-digester3.html
Work Name: build_apache-commons_commons-digester3 (Type: Build)
Work ended in a state of : Success
Elapsed: 1 min 37 secs
Command Line: /opt/maven2/bin/mvn --batch-mode -DskipTests=true --settings 
/srv/gump/public/workspace/apache-commons/digester/gump_mvn_settings.xml 
package 
[Working Directory: /srv/gump/public/workspace/apache-commons/digester]
M2_HOME: /opt/maven2
-
Downloading: 
http://localhost:8192/maven2/org/codehaus/plexus/plexus-archiver/1.1/plexus-archiver-1.1.pom

Downloading: 
http://localhost:8192/maven2/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.pom

Downloading: 
http://localhost:8192/maven2/org/apache/maven/shared/maven-repository-builder/1.0-alpha-2/maven-repository-builder-1.0-alpha-2.pom

Downloading: 
http://localhost:8192/maven2/org/apache/maven/shared/maven-common-artifact-filters/1.0-alpha-1/maven-common-artifact-filters-1.0-alpha-1.pom

Downloading: 
http://localhost:8192/maven2/org/apache/maven/shared/maven-shared-components/6/maven-shared-components-6.pom

Downloading: 
http://localhost:8192/maven2/org/codehaus/plexus/plexus-archiver/1.1/plexus-archiver-1.1.jar
Downloading: 
http://localhost:8192/maven2/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar


Downloading: 
http://localhost:8192/maven2/org/apache/maven/shared/maven-repository-builder/1.0-alpha-2/maven-repository-builder-1.0-alpha-2.jar

[INFO] [assembly:single {execution: default}]
[INFO] Reading assembly descriptor: 
/srv/gump/public/workspace/apache-commons/digester/dist/src/main/assembly/bin.xml
[INFO] Reading assembly descriptor: 
/srv/gump/public/workspace/apache-commons/digester/dist/src/main/assembly/src.xml
[INFO] Building tar : 
/srv/gump/public/workspace/apache-commons/digester/dist/target/commons-digester3-3.3-SNAPSHOT-bin.tar.gz
[INFO] Building zip: 
/srv/gump/public/workspace/apache-commons/digester/dist/target/commons-digester3-3.3-SNAPSHOT-bin.zip
[INFO] Building tar : 
/srv/gump/public/workspace/apache-commons/digester/dist/target/commons-digester3-3.3-SNAPSHOT-src.tar.gz
[INFO] Building zip: 
/srv/gump/public/workspace/apache-commons/digester/dist/target/commons-digester3-3.3-SNAPSHOT-src.zip
[INFO] 
[INFO] 
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Commons Digester ... SUCCESS [10.316s]
[INFO] Apache Commons Digester :: Core ... SUCCESS [31.387s]
[INFO] Apache Commons Digester :: Annotations Processor .. SUCCESS [2.673s]
[INFO] Commons Digester :: Examples .. SUCCESS [0.490s]
[INFO] Apache Commons Digester :: Examples :: Annotations :: Atom  SUCCESS 
[3.257s]
[INFO] Apache Commons Digester :: Examples :: API :: Address Book  SUCCESS 
[2.152s]
[INFO] Apache Commons Digester :: Examples :: API :: Catalog . SUCCESS [1.606s]
[INFO] Apache Commons Digester :: Examples :: API :: DB Insert  SUCCESS [2.179s]
[INFO] Apache Commons Digester :: Examples :: API :: Document Markup  SUCCESS 
[1.611s]
[INFO] Apache Commons Digester :: Examples :: EDSL :: Atom ... SUCCESS [1.901s]
[INFO] Apache Commons Digester :: Examples :: Plugins :: Pipeline  SUCCESS 
[1.625s]
[INFO] Apache Commons Digester :: 

[GUMP@vmgump]: Project commons-collections4-testframework (in module apache-commons) failed

2012-03-15 Thread Gump
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 gene...@gump.apache.org.

Project commons-collections4-testframework has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 5 runs.
The current state of this project is 'Failed', with reason 'Missing Build 
Outputs'.
For reference only, the following projects are affected by this:
- commons-collections4-testframework :  Apache Commons


Full details are available at:

http://vmgump.apache.org/gump/public/apache-commons/commons-collections4-testframework/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole jar output [commons-collections-testframework-*[0-9T].jar] 
identifier set to project name
 -INFO- Failed with reason missing build outputs
 -ERROR- Missing Output: 
/srv/gump/public/workspace/apache-commons/collections/target/commons-collections-testframework-*[0-9T].jar
 -ERROR- See Directory Listing Work for Missing Outputs
 -INFO- Failed to extract fallback artifacts from Gump Repository

To subscribe to this information via syndicated feeds:
- RSS: 
http://vmgump.apache.org/gump/public/apache-commons/commons-collections4-testframework/rss.xml
- Atom: 
http://vmgump.apache.org/gump/public/apache-commons/commons-collections4-testframework/atom.xml

== Gump Tracking Only ===
Produced by Apache Gump(TM) version 2.3.
Gump Run 1216032012, vmgump.apache.org:vmgump:1216032012
Gump E-mail Identifier (unique within run) #18.

--
Apache Gump
http://gump.apache.org/ [Instance: vmgump]

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



[GUMP@vmgump]: Project commons-scxml-test (in module apache-commons) failed

2012-03-15 Thread Gump
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 gene...@gump.apache.org.

Project commons-scxml-test has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 47 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-scxml-test :  Apache Commons


Full details are available at:

http://vmgump.apache.org/gump/public/apache-commons/commons-scxml-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -WARNING- Overriding Maven settings: 
[/srv/gump/public/workspace/apache-commons/scxml/gump_mvn_settings.xml]
 -DEBUG- (Apache Gump generated) Apache Maven Settings in: 
/srv/gump/public/workspace/apache-commons/scxml/gump_mvn_settings.xml
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: /srv/gump/public/workspace/apache-commons/scxml/pom.xml
 -INFO- Project Reports in: 
/srv/gump/public/workspace/apache-commons/scxml/target/surefire-reports



The following work was performed:
http://vmgump.apache.org/gump/public/apache-commons/commons-scxml-test/gump_work/build_apache-commons_commons-scxml-test.html
Work Name: build_apache-commons_commons-scxml-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 20 secs
Command Line: /opt/maven2/bin/mvn --batch-mode -Dsimplelog.defaultlog=info 
--settings 
/srv/gump/public/workspace/apache-commons/scxml/gump_mvn_settings.xml test 
[Working Directory: /srv/gump/public/workspace/apache-commons/scxml]
M2_HOME: /opt/maven2
-
[INFO] SimpleSCXMLListener - /s2/s2.1/e1.2
[INFO] SimpleSCXMLListener - /s2/s2.1/e1.2
[INFO] SimpleSCXMLListener - /s2/s2.1
[INFO] SimpleSCXMLListener - /s2
[INFO] SimpleSCXMLListener - transition (event = s2.1.done, cond = null, from = 
/s2, to = /s3)
[INFO] SimpleSCXMLListener - /s3
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.145 sec
Running org.apache.commons.scxml.issues.Issue64Test
[INFO] SCXMLSemantics - null: Begin transition bug test ...
[INFO] SimpleSCXMLListener - /tranbug
[INFO] SimpleSCXMLListener - /tranbug
[INFO] SCXMLSemantics - null: somedata
[INFO] SCXMLSemantics - null: *somedata
[INFO] SimpleSCXMLListener - transition (event = show.bug, cond = null, from = 
/tranbug, to = /end)
[INFO] SimpleSCXMLListener - /end
[WARN] SCXMLParser - Ignoring element misplaced in namespace 
http://www.w3.org/2005/07/scxml; at 
file:/srv/gump/public/workspace/apache-commons/scxml/target/test-classes/org/apache/commons/scxml/issues/issue64-02.xml:30:21
 and digester match scxml/datamodel/misplaced
[WARN] SCXMLParser - Ignoring element foo in namespace 
http://www.w3.org/2005/07/scxml; at 
file:/srv/gump/public/workspace/apache-commons/scxml/target/test-classes/org/apache/commons/scxml/issues/issue64-02.xml:36:19
 and digester match scxml/state/onentry/foo
[WARN] SCXMLParser - Ignoring element bar in namespace 
http://my.foo.example/; at 
file:/srv/gump/public/workspace/apache-commons/scxml/target/test-classes/org/apache/commons/scxml/issues/issue64-02.xml:37:22
 and digester match scxml/state/onentry/bar
[WARN] SCXMLParser - Ignoring element datamodel in namespace 
http://www.w3.org/2005/07/scxml; at 
file:/srv/gump/public/workspace/apache-commons/scxml/target/test-classes/org/apache/commons/scxml/issues/issue64-02.xml:41:21
 and digester match scxml/state/transition/datamodel
[WARN] SCXMLParser - Ignoring element data in namespace 
http://www.w3.org/2005/07/scxml; at 
file:/srv/gump/public/workspace/apache-commons/scxml/target/test-classes/org/apache/commons/scxml/issues/issue64-02.xml:42:41
 and digester match scxml/state/transition/datamodel/data
[WARN] SCXMLParser - Ignoring element baz in namespace 
http://my.foo.example/; at 
file:/srv/gump/public/workspace/apache-commons/scxml/target/test-classes/org/apache/commons/scxml/issues/issue64-02.xml:49:14
 and digester match scxml/baz
[INFO] SCXMLSemantics - null: Begin transition bug test ...
[INFO] SimpleSCXMLListener - /tranbug
[INFO] SimpleSCXMLListener - /tranbug
[INFO] SCXMLSemantics - null: null
[WARN] SimpleErrorReporter - EXPRESSION_ERROR (eval(''*' + dummy'):null): 
[INFO] SimpleSCXMLListener - transition (event = show.bug, cond = null, from = 
/tranbug, to = /end)
[INFO] SimpleSCXMLListener - /end
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec

Results :

Failed tests: 
  testCustomActionCallbacks(org.apache.commons.scxml.model.CustomActionTest)

Tests run: 229, Failures: 1, Errors: 0, Skipped: 0

[INFO] 
[ERROR] BUILD FAILURE
[INFO] 

[VOTE] Release Commons IO 2.2-RC1

2012-03-15 Thread Gary Gregory
Hello All:

This is a VOTE to release Commons IO 2.2-RC1

This VOTE is open for at least 72 hours until March 19 2012 at 01:30 EST.

The files:

https://repository.apache.org/content/repositories/orgapachecommons-080/

The tag:

https://svn.apache.org/repos/asf/commons/proper/io/tags/2.2-RC1

The site:

https://people.apache.org/builds/commons/commons-io/2.2/RC1/

New features:
o Use terabyte (TB) , petabyte (PB) and exabyte (EB) in
FileUtils.byteCountToDisplaySize(long size)  Issue: IO-287. Thanks to Ron
Kuris, Gary Gregory.
o FileUtils.listFiles() doesn't return directories  Issue: IO-173. Thanks
to Marcos Vinícius da Silva.
o CharSequenceInputStream to efficiently stream content of a CharSequence
Issue: IO-297. Thanks to Oleg Kalnichevski.
o The second constructor of Tailer class does not pass 'delay' to the third
one  Issue: IO-304. Thanks to liangly.
o TeeOutputStream does not call branch.close() when main.close() throws an
exception  Issue: IO-303. Thanks to fabian.barney.
o ArrayIndexOutOfBoundsException in BOMInputStream when reading a file
without BOM multiple times  Issue: IO-302. Thanks to jsteuerwald, detinho.
o Add IOUtils.closeQuietly(Selector) necessary  Issue: IO-301. Thanks to
kaykay.unique.
o IOUtils.closeQuietly() should take a ServerSocket as a parameter  Issue:
IO-292. Thanks to sebb.
o Add read/readFully methods to IOUtils  Issue: IO-290. Thanks to sebb.
o Supply a ReversedLinesFileReader  Issue: IO-288. Thanks to Georg Henzler.
o Add new function FileUtils.directoryContains.  Issue: IO-291. Thanks to
ggregory.
o FileUtils.contentEquals and IOUtils.contentEquals - Add option to ignore
line endings
Added contentEqualsIgnoreEOL methods to both classes  Issue:
IO-275. Thanks to CJ Aspromgos.

Fixed Bugs:
o FileUtils.moveDirectoryToDirectory removes source directory if
destination is a subdirectory  Issue: IO-300.
o ReaderInputStream#read(byte[] b, int off, int len) should check for valid
parameters  Issue: IO-307.
o ReaderInputStream#read(byte[] b, int off, int len) should always return 0
for length == 0  Issue: IO-306.
o FileUtils#deleteDirectoryOnExit(File) does not work  Issue: IO-276.
Thanks to nkami.
o BoundedInputStream.read() treats max differently from
BoundedInputStream.read(byte[]...)  Issue: IO-273. Thanks to sebb.
o Various methods of class 'org.apache.commons.io.FileUtils' incorrectly
suppress 'java.io.IOException'  Issue: IO-298. Thanks to Christian Schulte.

Changes:
o ReaderInputStream optimization: more efficient reading of small chunks of
data  Issue: IO-296. Thanks to Oleg Kalnichevski.

Thank you,
Gary

-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
JUnit in Action, 2nd Ed: http://bit.ly/ECvg0
Spring Batch in Action: http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory http://twitter.com/GaryGregory


[GUMP@vmgump]: Project commons-configuration-test (in module apache-commons) failed

2012-03-15 Thread Gump
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 gene...@gump.apache.org.

Project commons-configuration-test has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 47 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-configuration-test :  Apache Commons


Full details are available at:

http://vmgump.apache.org/gump/public/apache-commons/commons-configuration-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -WARNING- Overriding Maven settings: 
[/srv/gump/public/workspace/apache-commons/configuration/gump_mvn_settings.xml]
 -DEBUG- (Apache Gump generated) Apache Maven Settings in: 
/srv/gump/public/workspace/apache-commons/configuration/gump_mvn_settings.xml
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/srv/gump/public/workspace/apache-commons/configuration/pom.xml
 -INFO- Project Reports in: 
/srv/gump/public/workspace/apache-commons/configuration/target/surefire-reports



The following work was performed:
http://vmgump.apache.org/gump/public/apache-commons/commons-configuration-test/gump_work/build_apache-commons_commons-configuration-test.html
Work Name: build_apache-commons_commons-configuration-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 1 min 47 secs
Command Line: /opt/maven2/bin/mvn --batch-mode --settings 
/srv/gump/public/workspace/apache-commons/configuration/gump_mvn_settings.xml 
test 
[Working Directory: /srv/gump/public/workspace/apache-commons/configuration]
M2_HOME: /opt/maven2
-
Running org.apache.commons.configuration.TestHierarchicalConfigurationXMLReader
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.apache.commons.configuration.TestNullCompositeConfiguration
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.142 sec
Running org.apache.commons.configuration.interpol.TestConfigurationInterpolator
Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
Running org.apache.commons.configuration.interpol.TestEnvironmentLookup
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.apache.commons.configuration.interpol.TestExprLookup
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
Running org.apache.commons.configuration.interpol.TestConstantLookup
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.apache.commons.configuration.TestPropertiesConfigurationLayout
Tests run: 38, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec
Running org.apache.commons.configuration.TestConfigurationConverter
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.apache.commons.configuration.TestFileConfiguration
Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.755 sec
Running org.apache.commons.configuration.TestPatternSubtreeConfiguration
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
Running org.apache.commons.configuration.TestPropertyConverter
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec
Running org.apache.commons.configuration.TestConfigurationMap
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.commons.configuration.reloading.TestManagedReloadingStrategy
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running 
org.apache.commons.configuration.reloading.TestVFSFileChangedReloadingStrategy
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.019 sec
Running 
org.apache.commons.configuration.reloading.TestFileChangedReloadingStrategy
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.019 sec

Results :

Failed tests:   
testValidation2(org.apache.commons.configuration.TestVFSConfigurationBuilder): 
The test key was not located

Tests run: 1593, Failures: 1, Errors: 0, Skipped: 0

[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] There are test failures.

Please refer to 
/srv/gump/public/workspace/apache-commons/configuration/target/surefire-reports 
for the individual test results.
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 1 minute 46 seconds
[INFO] Finished at: Fri Mar 16 05:59:02 UTC 2012
[INFO] Final