svn commit: r390048 - /jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/ProxyClient.java

2006-03-30 Thread olegk
Author: olegk
Date: Thu Mar 30 01:51:02 2006
New Revision: 390048

URL: http://svn.apache.org/viewcvs?rev=390048view=rev
Log:
PR #39047 (Disallow the use of SecureProtocolSocketFactory with ProxyClient)

Contributed by Oleg Kalnichevski
Reviewed by Roland Weber and Ortwin Glück

Modified:

jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/ProxyClient.java

Modified: 
jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/ProxyClient.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/ProxyClient.java?rev=390048r1=390047r2=390048view=diff
==
--- 
jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/ProxyClient.java
 (original)
+++ 
jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/ProxyClient.java
 Thu Mar 30 01:51:02 2006
@@ -36,7 +36,6 @@
 import org.apache.commons.httpclient.params.HttpConnectionManagerParams;
 import org.apache.commons.httpclient.params.HttpParams;
 
-
 /**
  * A client that provides [EMAIL PROTECTED] java.net.Socket sockets} for 
communicating through HTTP proxies
  * via the HTTP CONNECT method.  This is primarily needed for non-HTTP 
protocols that wish to 
@@ -179,12 +178,16 @@
  */
 public ConnectResponse connect() throws IOException, HttpException {
 
-if (getHostConfiguration().getProxyHost() == null) {
+HostConfiguration hostconf = getHostConfiguration();
+if (hostconf.getProxyHost() == null) {
 throw new IllegalStateException(proxy host must be configured);
 }
-if (getHostConfiguration().getHost() == null) {
+if (hostconf.getHost() == null) {
 throw new IllegalStateException(destination host must be 
configured);
 }
+if (hostconf.getProtocol().isSecure()) {
+throw new IllegalStateException(secure protocol socket factory 
may not be used);
+}
 
 ConnectMethod method = new ConnectMethod();
 method.getParams().setDefaults(getParams());
@@ -194,7 +197,7 @@
 
 HttpMethodDirector director = new HttpMethodDirector(
 connectionManager,
-getHostConfiguration(),
+hostconf,
 getParams(),
 getState()
 );



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r390058 - in /jakarta/commons/proper/httpclient/trunk: ./ src/java/org/apache/commons/httpclient/

2006-03-30 Thread olegk
Author: olegk
Date: Thu Mar 30 02:09:57 2006
New Revision: 390058

URL: http://svn.apache.org/viewcvs?rev=390058view=rev
Log:
PR #36918 (Digest auth uses wrong uri in proxy authentication)

Changelog:
Digest auth scheme fixed to generate correct digest uri in HTTP CONNECT requests

Contributed by Oleg Kalnichevski
Reviewed by Ortwin Glück

Modified:
jakarta/commons/proper/httpclient/trunk/release_notes.txt

jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/ConnectMethod.java

jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/HttpMethodDirector.java

jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/ProxyClient.java

Modified: jakarta/commons/proper/httpclient/trunk/release_notes.txt
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/release_notes.txt?rev=390058r1=390057r2=390058view=diff
==
--- jakarta/commons/proper/httpclient/trunk/release_notes.txt (original)
+++ jakarta/commons/proper/httpclient/trunk/release_notes.txt Thu Mar 30 
02:09:57 2006
@@ -1,3 +1,9 @@
+Changes toward 3.1 
+
+ * 36918 - Digest auth scheme now uses correct digest uri in HTTP CONNECT 
+   requests
+   Contributed by Oleg Kalnichevski olegk at apache.org
+
 Changes since Release 3.0:
 
  * 38818 - Failed CONNECT no longer leaves connection in an inconsistent state

Modified: 
jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/ConnectMethod.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/ConnectMethod.java?rev=390058r1=390057r2=390058view=diff
==
--- 
jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/ConnectMethod.java
 (original)
+++ 
jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/ConnectMethod.java
 Thu Mar 30 02:09:57 2006
@@ -49,13 +49,18 @@
 /** the name of this method */
 public static final String NAME = CONNECT;
 
+private final HostConfiguration targethost;
+
 /**
+ * @deprecated use #ConnectMethod(HttpHost);
+ * 
  * Create a connect method.
  * 
  * @since 3.0
  */
 public ConnectMethod() {
-LOG.trace(enter ConnectMethod());
+super();
+this.targethost = null;
 }
 
 /**
@@ -67,7 +72,21 @@
  *  to the server
  */
 public ConnectMethod(HttpMethod method) {
-LOG.trace(enter ConnectMethod(HttpMethod));
+super();
+this.targethost = null;
+}
+
+/**
+ * Create a connect method.
+ * 
+ * @since 3.0
+ */
+public ConnectMethod(final HostConfiguration targethost) {
+super();
+if (targethost == null) {
+throw new IllegalArgumentException(Target host may not be null);
+}
+this.targethost = targethost;
 }
 
 /**
@@ -78,6 +97,26 @@
 public String getName() {
 return NAME;
 }
+
+public String getPath() {
+if (this.targethost != null) {
+StringBuffer buffer = new StringBuffer();
+buffer.append(this.targethost.getHost()); 
+int port = this.targethost.getPort();
+if (port == -1) {
+port = this.targethost.getProtocol().getDefaultPort();  
+}
+buffer.append(':'); 
+buffer.append(port);
+return buffer.toString();
+} else {
+return /;
+}
+}
+
+public URI getURI() throws URIException {
+return new URI(getPath(), true);
+}
 
 /**
  * This method does nothing. ttCONNECT/tt request is not supposed 
@@ -158,15 +197,17 @@
  */
 protected void writeRequestLine(HttpState state, HttpConnection conn)
 throws IOException, HttpException {
-int port = conn.getPort();
-if (port == -1) {
-port = conn.getProtocol().getDefaultPort();  
-}
 StringBuffer buffer = new StringBuffer();
 buffer.append(getName()); 
 buffer.append(' '); 
-buffer.append(conn.getHost()); 
-if (port  -1) {
+if (this.targethost != null) {
+buffer.append(getPath()); 
+} else {
+int port = conn.getPort();
+if (port == -1) {
+port = conn.getProtocol().getDefaultPort();  
+}
+buffer.append(conn.getHost()); 
 buffer.append(':'); 
 buffer.append(port); 
 }

Modified: 
jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/HttpMethodDirector.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/HttpMethodDirector.java?rev=390058r1=390057r2=390058view=diff

[EMAIL PROTECTED]: Project commons-chain (in module jakarta-commons) failed

2006-03-30 Thread Stefan Bodewig
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-chain has an issue affecting its community integration.
This issue affects 8 projects,
 and has been outstanding for 46 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-chain :  GoF Chain of Responsibility pattern
- commons-jelly-tags-quartz :  Commons Jelly
- fulcrum-quartz :  Services Framework
- myfaces :  JavaServer(tm) Faces implementation
- portals-bridges-jsf :  Support for JSR168 compliant Portlet development
- quartz :  Job Scheduler
- struts-action :  Model 2 Model-View-Controller framework for Servlets and 
JSP
- struts-tiles :  Model 2 Model-View-Controller framework for Servlets and 
JSP


Full details are available at:

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

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-chain-30032006.jar] identifier set to project name
 -INFO- Failed with reason build failed
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-commons/commons-chain/gump_work/build_jakarta-commons_commons-chain.html
Work Name: build_jakarta-commons_commons-chain (Type: Build)
Work ended in a state of : Failed
Elapsed: 17 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only -Dfinal.name=commons-chain-30032006 -f build.xml jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/chain]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/chain/target/classes:/usr/local/gump/public/workspace/jakarta-commons/chain/target/test-classes:/usr/local/gump/packages/jsf-1_1_01/lib/jsf-api.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-30032006.jar:/usr/local/gump/public/workspace/portals-pluto-1.0/api/target/portlet-api-1.0.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar
-
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.298 sec
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.298 sec

[junit] Testcase: testPristine took 0.043 sec
[junit] Testcase: testReadOnly took 0.002 sec
[junit] Testcase: testReadWrite took 0.002 sec
[junit] Testcase: testWriteOnly took 0 sec
[junit] Testcase: testAttributes took 0.001 sec
[junit] Testcase: testContains took 0.001 sec
[junit] Testcase: testEquals took 0.01 sec
[junit] Testcase: testKeySet took 0.001 sec
[junit] Testcase: testPutAll took 0.001 sec
[junit] Testcase: testSeriaization took 0.049 sec
[junit] Running org.apache.commons.chain.web.ChainResourcesTestCase
[junit] Testsuite: org.apache.commons.chain.web.ChainResourcesTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.258 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.258 sec

[junit] Testcase: testGetPaths took 0.077 sec
[junit] Running 
org.apache.commons.chain.web.servlet.ServletGetLocaleCommandTestCase
[junit] Testsuite: 
org.apache.commons.chain.web.servlet.ServletGetLocaleCommandTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.239 sec
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.239 sec

[junit] Testcase: testConfigured took 0.053 sec
[junit] Testcase: testDefaut took 

[EMAIL PROTECTED]: Project commons-chain (in module jakarta-commons) failed

2006-03-30 Thread Stefan Bodewig
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-chain has an issue affecting its community integration.
This issue affects 8 projects,
 and has been outstanding for 46 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-chain :  GoF Chain of Responsibility pattern
- commons-jelly-tags-quartz :  Commons Jelly
- fulcrum-quartz :  Services Framework
- myfaces :  JavaServer(tm) Faces implementation
- portals-bridges-jsf :  Support for JSR168 compliant Portlet development
- quartz :  Job Scheduler
- struts-action :  Model 2 Model-View-Controller framework for Servlets and 
JSP
- struts-tiles :  Model 2 Model-View-Controller framework for Servlets and 
JSP


Full details are available at:

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

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-chain-30032006.jar] identifier set to project name
 -INFO- Failed with reason build failed
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-commons/commons-chain/gump_work/build_jakarta-commons_commons-chain.html
Work Name: build_jakarta-commons_commons-chain (Type: Build)
Work ended in a state of : Failed
Elapsed: 17 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only -Dfinal.name=commons-chain-30032006 -f build.xml jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/chain]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/chain/target/classes:/usr/local/gump/public/workspace/jakarta-commons/chain/target/test-classes:/usr/local/gump/packages/jsf-1_1_01/lib/jsf-api.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-30032006.jar:/usr/local/gump/public/workspace/portals-pluto-1.0/api/target/portlet-api-1.0.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar
-
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.298 sec
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.298 sec

[junit] Testcase: testPristine took 0.043 sec
[junit] Testcase: testReadOnly took 0.002 sec
[junit] Testcase: testReadWrite took 0.002 sec
[junit] Testcase: testWriteOnly took 0 sec
[junit] Testcase: testAttributes took 0.001 sec
[junit] Testcase: testContains took 0.001 sec
[junit] Testcase: testEquals took 0.01 sec
[junit] Testcase: testKeySet took 0.001 sec
[junit] Testcase: testPutAll took 0.001 sec
[junit] Testcase: testSeriaization took 0.049 sec
[junit] Running org.apache.commons.chain.web.ChainResourcesTestCase
[junit] Testsuite: org.apache.commons.chain.web.ChainResourcesTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.258 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.258 sec

[junit] Testcase: testGetPaths took 0.077 sec
[junit] Running 
org.apache.commons.chain.web.servlet.ServletGetLocaleCommandTestCase
[junit] Testsuite: 
org.apache.commons.chain.web.servlet.ServletGetLocaleCommandTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.239 sec
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.239 sec

[junit] Testcase: testConfigured took 0.053 sec
[junit] Testcase: testDefaut took 

[EMAIL PROTECTED]: Project commons-jelly-tags-xml-test (in module commons-jelly) failed

2006-03-30 Thread commons-jelly-tags-xml development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

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


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -WARNING- Overriding Maven properties: 
[/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/build.properties]
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-reports



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml-test/gump_work/build_commons-jelly_commons-jelly-tags-xml-test.html
Work Name: build_commons-jelly_commons-jelly-tags-xml-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 29 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-30032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar
-
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testSetSingleNodeAndAsString(org.apache.commons.jelly.tags.junit.CaseTag$1):
  Caused an ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:294:81:
 x:set You must define an attribute called 'select' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:294:81:
 x:set You must define an attribute called 'select' for this tag.
[junit] at 
org.apache.commons.jelly.tags.xml.SetTag.doTag(SetTag.java:86)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testSetStringLists(org.apache.commons.jelly.tags.junit.CaseTag$1):
Caused an ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:339:82:
 x:set You must define an attribute called 'select' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:339:82:
 x:set You must define an attribute called 'select' for this tag.
[junit] at 
org.apache.commons.jelly.tags.xml.SetTag.doTag(SetTag.java:86)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testEntities(org.apache.commons.jelly.tags.junit.CaseTag$1):  Caused an 
ERROR
[junit] 

[EMAIL PROTECTED]: Project commons-jelly-tags-xml-test (in module commons-jelly) failed

2006-03-30 Thread commons-jelly-tags-xml development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

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


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -WARNING- Overriding Maven properties: 
[/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/build.properties]
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-reports



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml-test/gump_work/build_commons-jelly_commons-jelly-tags-xml-test.html
Work Name: build_commons-jelly_commons-jelly-tags-xml-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 29 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-30032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar
-
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testSetSingleNodeAndAsString(org.apache.commons.jelly.tags.junit.CaseTag$1):
  Caused an ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:294:81:
 x:set You must define an attribute called 'select' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:294:81:
 x:set You must define an attribute called 'select' for this tag.
[junit] at 
org.apache.commons.jelly.tags.xml.SetTag.doTag(SetTag.java:86)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testSetStringLists(org.apache.commons.jelly.tags.junit.CaseTag$1):
Caused an ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:339:82:
 x:set You must define an attribute called 'select' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:339:82:
 x:set You must define an attribute called 'select' for this tag.
[junit] at 
org.apache.commons.jelly.tags.xml.SetTag.doTag(SetTag.java:86)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testEntities(org.apache.commons.jelly.tags.junit.CaseTag$1):  Caused an 
ERROR
[junit] 

DO NOT REPLY [Bug 39152] New: - [VFSrc7] sftp: Url parsing fails with special characters in password part

2006-03-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=39152.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39152

   Summary: [VFSrc7] sftp: Url parsing fails with special characters
in password part
   Product: Commons
   Version: unspecified
  Platform: Other
OS/Version: other
Status: NEW
  Severity: major
  Priority: P3
 Component: VFS
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


When trying to access a file from an url with for example a question mark in 
the password:

sftp://myuser:[EMAIL PROTECTED]/

I get this stack trace:
org.apache.commons.vfs.FileSystemException: Port number is missing from 
URI sftp://myuser:[EMAIL PROTECTED]//.
at org.apache.commons.vfs.provider.HostFileNameParser.extractPort
(HostFileNameParser.java:228)
at org.apache.commons.vfs.provider.HostFileNameParser.extractToPath
(HostFileNameParser.java:133)
at org.apache.commons.vfs.provider.URLFileNameParser.parseUri
(URLFileNameParser.java:47)
at org.apache.commons.vfs.provider.AbstractFileProvider.parseUri
(AbstractFileProvider.java:167)
at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveName
(DefaultFileSystemManager.java:628)
at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveName
(DefaultFileSystemManager.java:563)
at 
org.apache.commons.vfs.provider.AbstractOriginatingFileProvider.findFile
(AbstractOriginatingFileProvider.java:71)
at 
org.apache.commons.vfs.provider.AbstractOriginatingFileProvider.findFile
(AbstractOriginatingFileProvider.java:61)
at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile
(DefaultFileSystemManager.java:524)
at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile
(DefaultFileSystemManager.java:468)
at com.tmobile.so.collector.VFSMoverFile.init(VFSMoverFile.java:125)


I was using VFS rc7 from the subversion repository tag.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 39152] - [VFSrc7] sftp: Url parsing fails with special characters in password part

2006-03-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=39152.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39152





--- Additional Comments From [EMAIL PROTECTED]  2006-03-30 12:44 ---
Created an attachment (id=18005)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=18005action=view)
JUnit Test to reproduce

that's what I use in my project to reproduce/ fix the bug

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r390103 - /jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/GenericFileName.java

2006-03-30 Thread imario
Author: imario
Date: Thu Mar 30 04:10:17 2006
New Revision: 390103

URL: http://svn.apache.org/viewcvs?rev=390103view=rev
Log:
PR: 39152

added '?' to the reserved characters for password

Modified:

jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/GenericFileName.java

Modified: 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/GenericFileName.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/GenericFileName.java?rev=390103r1=390102r2=390103view=diff
==
--- 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/GenericFileName.java
 (original)
+++ 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/GenericFileName.java
 Thu Mar 30 04:10:17 2006
@@ -34,7 +34,7 @@
 private final String password;
 private final int port;
 private static final char[] USERNAME_RESERVED = {':', '@', '/'};
-private static final char[] PASSWORD_RESERVED = {'@', '/'};
+private static final char[] PASSWORD_RESERVED = {'@', '/', '?'};
 
 protected GenericFileName(final String scheme,
   final String hostName,



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 39152] - [VFS] sftp: Url parsing fails with special characters in password part

2006-03-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=39152.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39152


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
Summary|[VFSrc7] sftp: Url parsing  |[VFS] sftp: Url parsing
   |fails with special  |fails with special
   |characters in password part |characters in password part




--- Additional Comments From [EMAIL PROTECTED]  2006-03-30 13:10 ---
Should be fixed now.

Thanks for reporting it.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED]: Project commons-jelly-tags-html (in module commons-jelly) failed

2006-03-30 Thread commons-jelly-tags-html development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

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


Full details are available at:

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

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-jelly-tags-html-30032006.jar] identifier set to 
project name
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-reports
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-html/gump_work/build_commons-jelly_commons-jelly-tags-html.html
Work Name: build_commons-jelly_commons-jelly-tags-html (Type: Build)
Work ended in a state of : Failed
Elapsed: 12 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/commons-jelly-tags-jsl-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-30032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar:/usr/local/gump/packages/nekohtml-0.9.5/nekohtml.jar
-
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testLowerCase(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an 
ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:40:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:40:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] at 
org.apache.commons.jelly.tags.junit.AssertTag.doTag(AssertTag.java:54)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testMixedCase(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an 
ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:47:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:47:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] at 

[EMAIL PROTECTED]: Project commons-jelly-tags-html (in module commons-jelly) failed

2006-03-30 Thread commons-jelly-tags-html development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

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


Full details are available at:

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

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-jelly-tags-html-30032006.jar] identifier set to 
project name
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-reports
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-html/gump_work/build_commons-jelly_commons-jelly-tags-html.html
Work Name: build_commons-jelly_commons-jelly-tags-html (Type: Build)
Work ended in a state of : Failed
Elapsed: 12 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/commons-jelly-tags-jsl-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-30032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar:/usr/local/gump/packages/nekohtml-0.9.5/nekohtml.jar
-
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testLowerCase(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an 
ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:40:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:40:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] at 
org.apache.commons.jelly.tags.junit.AssertTag.doTag(AssertTag.java:54)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testMixedCase(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an 
ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:47:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:47:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] at 

[EMAIL PROTECTED]: Project commons-jelly-tags-jsl-test (in module commons-jelly) failed

2006-03-30 Thread commons-jelly-tags-jsl development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

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


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on ant exists, no need to add for property 
maven.jar.ant-optional.
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -WARNING- Overriding Maven properties: 
[/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties]
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/test-reports



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/gump_work/build_commons-jelly_commons-jelly-tags-jsl-test.html
Work Name: build_commons-jelly_commons-jelly-tags-jsl-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 15 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/ant/target/commons-jelly-tags-ant-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-30032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar
-
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
[junit] at 
org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:234)
[junit] at 
org.apache.commons.jelly.tags.core.SetTag.doTag(SetTag.java:90)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
[junit] at 
org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:160)
[junit] at org.dom4j.rule.Mode.fireRule(Mode.java:59)
[junit] at org.dom4j.rule.Mode.applyTemplates(Mode.java:80)
[junit] at org.dom4j.rule.RuleManager$1.run(RuleManager.java:171)
[junit] at org.dom4j.rule.Mode.fireRule(Mode.java:59)
[junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:102)
[junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:91)
[junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:78)
[junit] at 

[EMAIL PROTECTED]: Project commons-jelly-tags-jsl-test (in module commons-jelly) failed

2006-03-30 Thread commons-jelly-tags-jsl development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

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


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on ant exists, no need to add for property 
maven.jar.ant-optional.
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -WARNING- Overriding Maven properties: 
[/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties]
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/test-reports



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/gump_work/build_commons-jelly_commons-jelly-tags-jsl-test.html
Work Name: build_commons-jelly_commons-jelly-tags-jsl-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 15 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/ant/target/commons-jelly-tags-ant-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-30032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar
-
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
[junit] at 
org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:234)
[junit] at 
org.apache.commons.jelly.tags.core.SetTag.doTag(SetTag.java:90)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
[junit] at 
org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:160)
[junit] at org.dom4j.rule.Mode.fireRule(Mode.java:59)
[junit] at org.dom4j.rule.Mode.applyTemplates(Mode.java:80)
[junit] at org.dom4j.rule.RuleManager$1.run(RuleManager.java:171)
[junit] at org.dom4j.rule.Mode.fireRule(Mode.java:59)
[junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:102)
[junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:91)
[junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:78)
[junit] at 

[EMAIL PROTECTED]: Project commons-jelly-tags-define-test (in module commons-jelly) failed

2006-03-30 Thread commons-jelly-tags-define development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

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


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-define-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -WARNING- Overriding Maven properties: 
[/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/build.properties]
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/target/test-reports



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-define-test/gump_work/build_commons-jelly_commons-jelly-tags-define-test.html
Work Name: build_commons-jelly_commons-jelly-tags-define-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 13 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/dynabean/target/commons-jelly-tags-dynabean-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-30032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar
-
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:118)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:208)
[junit] at junit.framework.TestSuite.run(TestSuite.java:203)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
[junit] Mar 30, 2006 4:21:38 AM 
org.apache.commons.jelly.expression.xpath.XPathExpression evaluate
[junit] SEVERE: Error constructing xpath
[junit] org.jaxen.XPathSyntaxException: Node-set expected
[junit] at org.jaxen.BaseXPath.init(BaseXPath.java:131)
[junit] at org.jaxen.BaseXPath.init(BaseXPath.java:156)
[junit] at org.jaxen.dom4j.Dom4jXPath.init(Dom4jXPath.java:101)
[junit] at 
org.apache.commons.jelly.expression.xpath.XPathExpression.evaluate(XPathExpression.java:78)
[junit] at 
org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:256)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] at junit.framework.TestCase.runBare(TestCase.java:127)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at 

[EMAIL PROTECTED]: Project commons-jelly-tags-define-test (in module commons-jelly) failed

2006-03-30 Thread commons-jelly-tags-define development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

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


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-define-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -WARNING- Overriding Maven properties: 
[/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/build.properties]
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/target/test-reports



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-define-test/gump_work/build_commons-jelly_commons-jelly-tags-define-test.html
Work Name: build_commons-jelly_commons-jelly-tags-define-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 13 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/dynabean/target/commons-jelly-tags-dynabean-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-30032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-30032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-30032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar
-
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:118)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:208)
[junit] at junit.framework.TestSuite.run(TestSuite.java:203)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
[junit] Mar 30, 2006 4:21:38 AM 
org.apache.commons.jelly.expression.xpath.XPathExpression evaluate
[junit] SEVERE: Error constructing xpath
[junit] org.jaxen.XPathSyntaxException: Node-set expected
[junit] at org.jaxen.BaseXPath.init(BaseXPath.java:131)
[junit] at org.jaxen.BaseXPath.init(BaseXPath.java:156)
[junit] at org.jaxen.dom4j.Dom4jXPath.init(Dom4jXPath.java:101)
[junit] at 
org.apache.commons.jelly.expression.xpath.XPathExpression.evaluate(XPathExpression.java:78)
[junit] at 
org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:256)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] at junit.framework.TestCase.runBare(TestCase.java:127)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at 

DO NOT REPLY [Bug 39151] - [validator] The Form cannot be used for the validator's method parameter.

2006-03-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=39151.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39151





--- Additional Comments From [EMAIL PROTECTED]  2006-03-30 14:26 ---
When I try to look at the attachment you uploaded I get the message:

When working with LZH files the Extract operation requires the LHA 
external program. This program is not installed or improperly installed.

Can you either attach  the files individually or use a regular zip/tar.gz 
format?


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r390177 - /jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/tasks/CopyTask.java

2006-03-30 Thread imario
Author: imario
Date: Thu Mar 30 09:04:30 2006
New Revision: 390177

URL: http://svn.apache.org/viewcvs?rev=390177view=rev
Log:
get/set last modification time only if the filesystems support them

Thanks to Anthony Goubard.

Modified:

jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/tasks/CopyTask.java

Modified: 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/tasks/CopyTask.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/tasks/CopyTask.java?rev=390177r1=390176r2=390177view=diff
==
--- 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/tasks/CopyTask.java
 (original)
+++ 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/tasks/CopyTask.java
 Thu Mar 30 09:04:30 2006
@@ -15,6 +15,7 @@
  */
 package org.apache.commons.vfs.tasks;
 
+import org.apache.commons.vfs.Capability;
 import org.apache.commons.vfs.FileObject;
 import org.apache.commons.vfs.FileSystemException;
 import org.apache.commons.vfs.Selectors;
@@ -73,7 +74,9 @@
 {
 log(Copying  + srcFile +  to  + destFile);
 destFile.copyFrom(srcFile, Selectors.SELECT_SELF);
-if (preserveLastModified)
+if (preserveLastModified   
+
srcFile.getFileSystem().hasCapability(Capability.GET_LAST_MODIFIED) 
+
destFile.getFileSystem().hasCapability(Capability.SET_LAST_MODIFIED_FILE))
 {
 final long lastModTime = 
srcFile.getContent().getLastModifiedTime();
 destFile.getContent().setLastModifiedTime(lastModTime);



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r390178 - /jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/tasks/MoveTask.java

2006-03-30 Thread imario
Author: imario
Date: Thu Mar 30 09:05:22 2006
New Revision: 390178

URL: http://svn.apache.org/viewcvs?rev=390178view=rev
Log:
set last modification time only if the destination filesystem supports it

Thanks to Anthony Goubard.

Modified:

jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/tasks/MoveTask.java

Modified: 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/tasks/MoveTask.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/tasks/MoveTask.java?rev=390178r1=390177r2=390178view=diff
==
--- 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/tasks/MoveTask.java
 (original)
+++ 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/tasks/MoveTask.java
 Thu Mar 30 09:05:22 2006
@@ -15,6 +15,7 @@
  */
 package org.apache.commons.vfs.tasks;
 
+import org.apache.commons.vfs.Capability;
 import org.apache.commons.vfs.FileObject;
 import org.apache.commons.vfs.FileSystemException;
 import org.apache.commons.vfs.Selectors;
@@ -57,7 +58,8 @@
 {
 log(Rename  + srcFile +  to  + destFile);
 srcFile.moveTo(destFile);
-if (!isPreserveLastModified())
+if (!isPreserveLastModified() 
+
destFile.getFileSystem().hasCapability(Capability.SET_LAST_MODIFIED_FILE))
 {
 
destFile.getContent().setLastModifiedTime(System.currentTimeMillis());
 }



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r390186 - in /jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider: AbstractFileName.java UriParser.java local/LocalFile.java local/LocalFileSystem.java local/WindowsF

2006-03-30 Thread imario
Author: imario
Date: Thu Mar 30 09:40:17 2006
New Revision: 390186

URL: http://svn.apache.org/viewcvs?rev=390186view=rev
Log:
intern() some string to preserve memory. some performance speedup in filename 
handling

Thanks to Anthony Goubard.

Modified:

jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/AbstractFileName.java

jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/UriParser.java

jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/local/LocalFile.java

jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/local/LocalFileSystem.java

jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/local/WindowsFileNameParser.java

Modified: 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/AbstractFileName.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/AbstractFileName.java?rev=390186r1=390185r2=390186view=diff
==
--- 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/AbstractFileName.java
 (original)
+++ 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/AbstractFileName.java
 Thu Mar 30 09:40:17 2006
@@ -30,6 +30,7 @@
 public abstract class AbstractFileName
 implements FileName
 {
+
 private final String scheme;
 private final String absPath;
 private FileType type;
@@ -310,7 +311,7 @@
 final StringBuffer buffer = new StringBuffer();
 appendRootUri(buffer);
 buffer.append(SEPARATOR_CHAR);
-rootUri = buffer.toString();
+rootUri = buffer.toString().intern();
 }
 return rootUri;
 }
@@ -354,7 +355,7 @@
 }
 else
 {
-extension = baseName.substring(pos + 1);
+extension = baseName.substring(pos + 1).intern();
 }
 }
 return extension;

Modified: 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/UriParser.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/UriParser.java?rev=390186r1=390185r2=390186view=diff
==
--- 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/UriParser.java
 (original)
+++ 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/UriParser.java
 Thu Mar 30 09:40:17 2006
@@ -246,7 +246,7 @@
{
buffer.delete(0, pos + 1);
}
-   return scheme;
+   return scheme.intern();
}
 
if ((ch = 'a'  ch = 'z') || (ch = 'A'  ch = 
'Z'))
@@ -280,6 +280,10 @@
if (encodedStr == null)
{
return null;
+   }
+   if (encodedStr.indexOf('%')  0)
+   {
+   return encodedStr;
}
final StringBuffer buffer = new StringBuffer(encodedStr);
decode(buffer, 0, buffer.length());

Modified: 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/local/LocalFile.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/local/LocalFile.java?rev=390186r1=390185r2=390186view=diff
==
--- 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/local/LocalFile.java
 (original)
+++ 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/local/LocalFile.java
 Thu Mar 30 09:40:17 2006
@@ -42,17 +42,14 @@
 implements FileObject
 {
 private File file;
-private final String fileName;
 
 /**
  * Creates a non-root file.
  */
 protected LocalFile(final LocalFileSystem fileSystem,
-final String fileName,
 final FileName name) throws FileSystemException
 {
 super(name, fileSystem);
-this.fileName = UriParser.decode(fileName);
 }
 
 /**
@@ -71,6 +68,9 @@
 {
 if (file == null)
 {
+// Remove the file:///
+String fileName = getName().getPathDecoded();
+// fileName = UriParser.decode(fileName);
 file = new File(fileName);
 }
 }

Modified: 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/local/LocalFileSystem.java
URL: 

[Jakarta-commons Wiki] Update of Configuration by EmmanuelBourg

2006-03-30 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Jakarta-commons Wiki 
for change notification.

The following page has been changed by EmmanuelBourg:
http://wiki.apache.org/jakarta-commons/Configuration

The comment on the change is:
Added an article

--
  
* [http://www.devx.com/Java/Article/30117 Extend the JDK Classes with 
Jakarta Commons, Part III] - Explore Jakarta Commons components that enable you 
to parse arguments in a command-line application, connect to various file 
systems at the same time, allow an application to uniformly access 
configurations loaded from various sources, and pool any object.
  
+   * [http://beuss.developpez.com/tutoriels/java/jakarta/commons/configuration 
Tutoriels Jakarta Commons : Commons Configuration] - French article introducing 
Commons Configuration on developpez.com.
+ 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Jakarta-commons Wiki] Update of CommonsPeople by EmmanuelBourg

2006-03-30 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Jakarta-commons Wiki 
for change notification.

The following page has been changed by EmmanuelBourg:
http://wiki.apache.org/jakarta-commons/CommonsPeople

--
   * '''Active''': Net
   * '''Interested''': Validator, SCXML, DBCP
  
+ === Emmanuel Bourg ===
+  * '''Active''': [:Configuration]
+  * '''Interested''': Digester, Lang, Collections
+  * '''Future''': DbUtils, IO
+ 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r390219 - in /jakarta/commons/proper/vfs/trunk/src: java/org/apache/commons/vfs/ java/org/apache/commons/vfs/cache/ java/org/apache/commons/vfs/impl/ java/org/apache/commons/vfs/provider/

2006-03-30 Thread imario
Author: imario
Date: Thu Mar 30 11:16:24 2006
New Revision: 390219

URL: http://svn.apache.org/viewcvs?rev=390219view=rev
Log:
added cacheStrategy to fileSystemManager

Added:

jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/CacheStrategy.java
   (with props)

jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/cache/OnCallRefreshFileObject.java
   (with props)

jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/impl/DecoratedFileObject.java
   (with props)

jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/util/FileObjectUtils.java
   (with props)

jakarta/commons/proper/vfs/trunk/src/test/org/apache/commons/vfs/test/ProviderCacheStrategyTests.java
   (with props)
Modified:

jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/FileObject.java

jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/FileSystemManager.java

jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/Resources.properties

jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/cache/LRUFilesCache.java

jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/impl/DefaultFileSystemManager.java

jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/AbstractFileObject.java

jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/AbstractFileSystem.java

jakarta/commons/proper/vfs/trunk/src/test/org/apache/commons/vfs/test/AbstractProviderTestCase.java

jakarta/commons/proper/vfs/trunk/src/test/org/apache/commons/vfs/test/AbstractTestSuite.java

jakarta/commons/proper/vfs/trunk/src/test/org/apache/commons/vfs/test/ProviderTestSuite.java

Added: 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/CacheStrategy.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/CacheStrategy.java?rev=390219view=auto
==
--- 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/CacheStrategy.java
 (added)
+++ 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/CacheStrategy.java
 Thu Mar 30 11:16:24 2006
@@ -0,0 +1,64 @@
+/*
+ * Copyright 2002-2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.vfs;
+
+/**
+ * An enumerated type to deal with the various cache strategies.
+ *
+ * @author a href=mailto:[EMAIL PROTECTED]Mario Ivankovits/a
+ * @version $Revision$ $Date$
+ */
+public final class CacheStrategy
+{
+/**
+ * Deal with cached data manually. Call [EMAIL PROTECTED] 
FileObject#refresh()} to refresh the object data.
+ */
+public static final CacheStrategy MANUAL = new CacheStrategy(manual);
+
+/**
+ * Refresh the data every time you request a file from [EMAIL PROTECTED] 
FileSystemManager#resolveFile}
+ */
+public static final CacheStrategy ON_RESOLVE = new 
CacheStrategy(onresolve);
+
+/**
+ * Refresh the data every time you call a method on the fileObject.
+ * You'll use this only if you really need the latest info as this setting 
is a major performance loss.  
+ */
+public static final CacheStrategy ON_CALL = new CacheStrategy(oncall);
+
+private final String name;
+
+private CacheStrategy(final String name)
+{
+this.name = name;
+}
+
+/**
+ * Returns the name of the scope.
+ */
+public String toString()
+{
+return name;
+}
+
+/**
+ * Returns the name of the scope.
+ */
+public String getName()
+{
+return name;
+}
+}

Propchange: 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/CacheStrategy.java
--
svn:eol-style = native

Propchange: 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/CacheStrategy.java
--
svn:keywords = Date Author Id Revision HeadURL

Propchange: 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/CacheStrategy.java
--
svn:mime-type = text/plain

Modified: 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/FileObject.java
URL: 

[Jakarta-commons Wiki] Update of VfsNext by MarioIvankovits

2006-03-30 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Jakarta-commons Wiki 
for change notification.

The following page has been changed by MarioIvankovits:
http://wiki.apache.org/jakarta-commons/VfsNext

--
  == 5. browse roots ==
  e.g. smb or local partitions (windows - c:, d:, ...)
  
- == 6. caching review - allow to configure fileObjects internal state cache ==
+ == done - 6. caching review - allow to configure fileObjects internal state 
cache ==
+ see VfsCacheStrategy
+ 
  This is to avoid the .close() calling to get fresh data.
  
  Sure, this might slow down alot, but if one would like have it, it should be 
possible.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Jakarta-commons Wiki] Update of VfsCacheStrategy by MarioIvankovits

2006-03-30 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Jakarta-commons Wiki 
for change notification.

The following page has been changed by MarioIvankovits:
http://wiki.apache.org/jakarta-commons/VfsCacheStrategy

New page:
= VFS - CacheStragey =

One problem with libraries like vfs is that they cache some data to avoid 
successive access to the real file - simply to speed up things.

This cache might get stale - no it GET stale.

Currently VFS provides three strategies to workaround it:

 * manual
 * on resolve (the default)
 * on call

Note: It is not possible to use {{{VFS.getManager}}} to configure the 
cacheStrategy. You have to create your own static class to create it.

== manual cache strategy ==

Setup
{{{
StandardFileSystemManager fs = new StandardFileSystemManager();
fs.setCacheStrategy(CacheStrategy.MANUAL);
fs.init();
}}}

using this setup you have to use {{{fileObject.refresh()}}} to refresh your 
object with the filesystem

== on_resolve ==

Setup
{{{
StandardFileSystemManager fs = new StandardFileSystemManager();
fs.setCacheStrategy(CacheStrategy.ON_RESOLVE);
fs.init();
}}}

every time you call {{{fs.resolveFile()}}} the file data will be refreshed. You 
still can use {{{fileObject.refresh()}}} to refresh the data on demand.

== on_call ==

Setup
{{{
StandardFileSystemManager fs = new StandardFileSystemManager();
fs.setCacheStrategy(CacheStrategy.ON_CALL);
fs.init();
}}}

Every time you call a method on the resolve file object the data will be 
refreshed with the filesystem. This will give you the behaviour you might 
expect from a local file but also might be a hughe performance loss as it will 
greatly increase the network load.

You also can archive this cache strategy if you pack the file object in an 
{{{org.apache.commons.vfs.cache.OnCallRefreshFileObject}}}

{{{
FileObject fo = VFS.getManager().resolveFile();
OnCallRefreshFileObject foc = new OnCallRefreshFileObject(fo);
}}}

the difference to the above is, that in the first case you will always get the 
same file object instance and thus you can synchronize against it.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Jakarta-commons Wiki] Update of VFS by MarioIvankovits

2006-03-30 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Jakarta-commons Wiki 
for change notification.

The following page has been changed by MarioIvankovits:
http://wiki.apache.org/jakarta-commons/VFS

--
  What to do if access to a filesystems failes.
  
  '''VfsProblems'''
+ 
+ 
+ 
+ == Solutions ==
+ 
+ '''VfsCacheStrategy'''
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 39159] New: - [math] new QR-decomposition code

2006-03-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=39159.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39159

   Summary: [math] new QR-decomposition code
   Product: Commons
   Version: unspecified
  Platform: All
OS/Version: All
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: Math
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


This is just the bare-bones implementation.. I'll look into writing junit test
cases and resolving pending issues (how to deal with singular matrices etc).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 39159] - [math] new QR-decomposition code

2006-03-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=39159.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39159





--- Additional Comments From [EMAIL PROTECTED]  2006-03-30 21:17 ---
Created an attachment (id=18007)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=18007action=view)
QRDecomposition source code


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Jakarta-commons Wiki] Update of Configuration by JoshuaNichols

2006-03-30 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Jakarta-commons Wiki 
for change notification.

The following page has been changed by JoshuaNichols:
http://wiki.apache.org/jakarta-commons/Configuration

The comment on the change is:
Removed slightly redudant link.

--
  ##language:en
  = Component Overview =
  
- || http://jakarta.apache.org/commons/configuration/images/logo.png || 
[http://jakarta.apache.org/commons/components.html Commons-Configuration] Tools 
to assist in the reading of configuration/preferences files in various 
formats.[[BR]] A lot of information is available on the 
[http://jakarta.apache.org/commons/configuration/ Commons-Configuration 
website]. If you don't find the information you need you can always contact us 
using one of the [http://jakarta.apache.org/site/mail2.html#Commons mailing 
lists]. ||
+ || http://jakarta.apache.org/commons/configuration/images/logo.png || Tools 
to assist in the reading of configuration/preferences files in various 
formats.[[BR]] A lot of information is available on the 
[http://jakarta.apache.org/commons/configuration/ Commons-Configuration 
website]. If you don't find the information you need, you can always contact us 
using one of the [http://jakarta.apache.org/site/mail2.html#Commons mailing 
lists]. ||
  
  = External Resources =
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 39160] New: - Using getSize on DistFileItem after write returns 0 size

2006-03-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=39160.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39160

   Summary: Using getSize on DistFileItem after write returns 0 size
   Product: Commons
   Version: 1.1 Final
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: File Upload
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


Steps to reproduce:

1. Upload a large file to a DiskFileItem so it is stored on the temporary 
location
2. Call getSize() to retrieve the uploaded file size
3. Call write('newlocation') to rename/write the file to the final destination
4. Call getSize()

In the 4. getSize() call, 0 is returned.

This is because the getSize() call looks for the no longer existing temporary 
file.

We must either make sure that the write() method updates the current file
location so getSize() can retrieve it from there,
or getSize is initialized on creation of the fileitem.

This bug is also present in the 1.2RC1

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [VOTE] Release Pool 1.3 based on 1.3-rc4

2006-03-30 Thread robert burrell donkin
On Sun, 2006-03-26 at 19:17 -0500, Sandy McArthur wrote:
 
 [X] +1  I support this release
 [ ] +0
 [ ] -0
 [ ] -1  I do not support this release because...
 

- robert


signature.asc
Description: This is a digitally signed message part


svn commit: r390259 - /jakarta/commons/proper/daemon/trunk/src/native/unix/support/apjava.m4

2006-03-30 Thread jfclere
Author: jfclere
Date: Thu Mar 30 14:20:25 2006
New Revision: 390259

URL: http://svn.apache.org/viewcvs?rev=390259view=rev
Log:
Improve the detection of SableVM (now Ok on debian).

Modified:
jakarta/commons/proper/daemon/trunk/src/native/unix/support/apjava.m4

Modified: jakarta/commons/proper/daemon/trunk/src/native/unix/support/apjava.m4
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/daemon/trunk/src/native/unix/support/apjava.m4?rev=390259r1=390258r2=390259view=diff
==
--- jakarta/commons/proper/daemon/trunk/src/native/unix/support/apjava.m4 
(original)
+++ jakarta/commons/proper/daemon/trunk/src/native/unix/support/apjava.m4 Thu 
Mar 30 14:20:25 2006
@@ -39,11 +39,16 @@
 AC_DEFUN([AP_PROG_JAVAC],[
   if test $SABLEVM != NONE
   then
-AC_PATH_PROG(JAVAC,javac-sablevm,NONE,$JAVA_HOME/bin)
-  else
+AC_PATH_PROG(JAVACSABLE,javac-sablevm,NONE,$JAVA_HOME/bin)
+  fi
+  if test $JAVACSABLE = NONE
+  then
 XPATH=$JAVA_HOME/bin:$PATH
 AC_PATH_PROG(JAVAC,javac,NONE,$XPATH)
+  else
+AC_PATH_PROG(JAVAC,javac-sablevm,NONE,$JAVA_HOME/bin)
   fi
+  AC_MSG_RESULT([$JAVAC])
   if test $JAVAC = NONE
   then
 AC_MSG_ERROR([javac not found])
@@ -58,10 +63,14 @@
 AC_DEFUN([AP_PROG_JAR],[
   if test $SABLEVM != NONE
   then
-AC_PATH_PROG(JAR,jar-sablevm,NONE,$JAVA_HOME/bin)
-  else
+AC_PATH_PROG(JARSABLE,jar-sablevm,NONE,$JAVA_HOME/bin)
+  fi
+  if test $JARSABLE = NONE
+  then
 XPATH=$JAVA_HOME/bin:$PATH
 AC_PATH_PROG(JAR,jar,NONE,$XPATH)
+  else
+AC_PATH_PROG(JAR,jar-sablevm,NONE,$JAVA_HOME/bin)
   fi
   if test $JAR = NONE
   then
@@ -96,6 +105,14 @@
   if test x$JAVA_HOME != x
   then
 AC_PATH_PROG(SABLEVM,sablevm,NONE,$JAVA_HOME/bin)
+if test $SABLEVM = NONE
+then
+  dnl java may be SableVM.
+  if $JAVA_HOME/bin/java -version 2 /dev/null | grep SableVM  /dev/null
+  then
+SABLEVM=$JAVA_HOME/bin/java
+  fi
+fi
 if test $SABLEVM != NONE
 then
   AC_MSG_RESULT([Using sableVM: $SABLEVM])



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 39151] - [validator] The Form cannot be used for the validator's method parameter.

2006-03-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=39151.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39151





--- Additional Comments From [EMAIL PROTECTED]  2006-03-31 00:55 ---
Created an attachment (id=18008)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=18008action=view)
TestCode And Patch(zip)


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 39109] - [net] MVSFTPEntryParser.java only halfway implemented

2006-03-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=39109.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39109





--- Additional Comments From [EMAIL PROTECTED]  2006-03-31 03:48 ---
To answer your question, I guess your choices are

1.  Redo your code to use Regular Expressions and inherit from
ConfigurableFTPFileEntryParserImpl which would be my recommendation.

2.  If really don't want to use regex or it's impossible to write the parser
this way (i can't tell from your patch), then you should probably inherit from
FTPFileEntryParserImpl 

As far as copyright goes, just start with what's in MVSFTPEntryParser.java.  You
can change every line of code after that if you like.

However, it looks like you still have some work to do.  Your code, I see, still
has TODOs in it.  If you're going to change the parser implementation, let's get
as complete an implementation as you can.  

Out of curiosity, would you mind also explaining for our benefit what these ZOS
and PDS things are?  Comments might be a good place to do that.  This OS is much
different from many of the others we handle.

Finally, don't forget the JUnit tests.  Please do not submit your patch until
all existing tests pass.  And please add more tests that exercise the new
functionalities you are adding.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 39162] New: - fails with transfer-encoding: chunked

2006-03-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=39162.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39162

   Summary: fails with transfer-encoding: chunked
   Product: Commons
   Version: unspecified
  Platform: Other
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: File Upload
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


I am using FileUpload, and when I tried using my applet from a file upload
operation from a SonyEricsson phone, I got this error:

apache.commons.fileupload.FileUploadBase$UnknownSizeException: the request was
rejected because its size is unknown
   at
org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:305)
   at
org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:116)



It is the exact same problem as described here:

http://issues.apache.org/bugzilla/show_bug.cgi?id=37794

Here, copy/paste of the relevant issue:

(Comment #2 From Arne Riiber  2005-12-05 19:45)

It's correct that Content-Length was required for HTTP/1.0, but with HTTP/1.1
it's not required anymore according to RFC2616
[ftp://ftp.isi.edu/in-notes/rfc2616.txt] chapter 4.3:

The presence of a message-body in a request is signaled by the
   inclusion of a Content-Length or Transfer-Encoding header field in
   the request's message-headers.

RFC2616 chapter 19.4.6 Introduction of Transfer-Encoding also includes pseudo
code for determining the content-length from the chunks.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r390338 - in /jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite: CompositeKeyedObjectPoolFactory.java CompositeObjectPoolFactory.java TrackingPolicy.java

2006-03-30 Thread sandymac
Author: sandymac
Date: Thu Mar 30 21:56:54 2006
New Revision: 390338

URL: http://svn.apache.org/viewcvs?rev=390338view=rev
Log:
Previously missed some configure method renames.

Modified:

jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeKeyedObjectPoolFactory.java

jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java

jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/TrackingPolicy.java

Modified: 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeKeyedObjectPoolFactory.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeKeyedObjectPoolFactory.java?rev=390338r1=390337r2=390338view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeKeyedObjectPoolFactory.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeKeyedObjectPoolFactory.java
 Thu Mar 30 21:56:54 2006
@@ -327,8 +327,8 @@
  *
  * @return Type of tracking for active objects while they are borrowed 
from the pool.
  */
-public TrackingPolicy getTrackerType() {
-return factory.getTrackerType();
+public TrackingPolicy getTrackingPolicy() {
+return factory.getTrackingPolicy();
 }
 
 /**
@@ -337,8 +337,8 @@
  * @param trackerPolicy type of tracking for active objects.
  * @throws IllegalArgumentException when codetrackerPolicy/code is 
codenull/code.
  */
-public void setTrackerType(final TrackingPolicy trackerPolicy) throws 
IllegalArgumentException {
-factory.setTrackerType(trackerPolicy);
+public void setTrackingPolicy(final TrackingPolicy trackerPolicy) throws 
IllegalArgumentException {
+factory.setTrackingPolicy(trackerPolicy);
 }
 
 /**

Modified: 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java?rev=390338r1=390337r2=390338view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java
 Thu Mar 30 21:56:54 2006
@@ -43,7 +43,7 @@
  *  li[EMAIL PROTECTED] #setMaxWaitMillis(int) maxWaitMillis}: a 
non-positive value (wait forever)
  *  (has no effect unless [EMAIL PROTECTED] #setLimitPolicy(LimitPolicy) 
limitPolicy} is
  *  [EMAIL PROTECTED] LimitPolicy#WAIT WAIT})/li
- *  li[EMAIL PROTECTED] #setTrackerType(TrackingPolicy) trackingPolicy}:
+ *  li[EMAIL PROTECTED] #setTrackingPolicy(TrackingPolicy) trackingPolicy}:
  *  [EMAIL PROTECTED] TrackingPolicy#SIMPLE SIMPLE}/li
  *  li[EMAIL PROTECTED] #setValidateOnReturn(boolean) validateOnReturn}: 
false (do not validate on return)/li
  *  li[EMAIL PROTECTED] #setEvictIdleMillis(long) evictIdleMillis}: 
non-positive (do not evict objects for being idle)/li
@@ -230,8 +230,9 @@
  * Create and return a new codeObjectPool/code.
  *
  * @return a new [EMAIL PROTECTED] ObjectPool}
+ * @throws IllegalStateException when this pool factory is not configured 
properly
  */
-public ObjectPool createPool() {
+public ObjectPool createPool() throws IllegalStateException {
 return createPool(getConfig());
 }
 
@@ -240,8 +241,9 @@
  *
  * @param config the settings to use to construct said pool.
  * @return a new [EMAIL PROTECTED] ObjectPool}
+ * @throws IllegalStateException when this pool factory is not configured 
properly
  */
-static ObjectPool createPool(final FactoryConfig config) {
+static ObjectPool createPool(final FactoryConfig config) throws 
IllegalStateException {
 if (config == null) {
 throw new IllegalArgumentException(config must not be null.);
 }
@@ -593,7 +595,7 @@
  *
  * @return Type of tracking for active objects while they are borrowed 
from the pool.
  */
-public TrackingPolicy getTrackerType() {
+public TrackingPolicy getTrackingPolicy() {
 return trackerPolicy;
 }
 
@@ -603,7 +605,7 @@
  * @param trackerPolicy type of tracking for active objects.
  * @throws IllegalArgumentException when codetrackerPolicy/code is 
codenull/code.
  */
-public void setTrackerType(final TrackingPolicy trackerPolicy) throws 
IllegalArgumentException {
+public void setTrackingPolicy(final TrackingPolicy trackerPolicy) throws 
IllegalArgumentException {
 if (trackerPolicy == null) {
 

svn commit: r390342 - /jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java

2006-03-30 Thread sandymac
Author: sandymac
Date: Thu Mar 30 22:28:32 2006
New Revision: 390342

URL: http://svn.apache.org/viewcvs?rev=390342view=rev
Log:
Fix: optimization where EvictInvalidFrequencyMillis is less than 
EvictIdleMillis could be optimized out had the comparison backwards.

Modified:

jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java

Modified: 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java?rev=390342r1=390341r2=390342view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java
 Thu Mar 30 22:28:32 2006
@@ -315,7 +315,7 @@
 if (!(lender instanceof NullLender)) {
 // If the evictIdleMillis were less than 
evictInvalidFrequencyMillis
 // then the InvalidEvictorLender would never run.
-if (config.evictInvalidFrequencyMillis  0  
config.evictIdleMillis  config.evictInvalidFrequencyMillis) {
+if (config.evictInvalidFrequencyMillis  0  
config.evictIdleMillis  config.evictInvalidFrequencyMillis) {
 lender = new InvalidEvictorLender(lender);
 
((InvalidEvictorLender)lender).setValidationFrequencyMillis(config.evictInvalidFrequencyMillis);
 }



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r390349 - in /jakarta/commons/proper/pool/trunk/src: java/org/apache/commons/pool/composite/ test/org/apache/commons/pool/ test/org/apache/commons/pool/composite/ test/org/apache/commons/p

2006-03-30 Thread sandymac
Author: sandymac
Date: Thu Mar 30 22:59:54 2006
New Revision: 390349

URL: http://svn.apache.org/viewcvs?rev=390349view=rev
Log:
Created unit tests for ObjectPoolFactory and implementations.

Added:

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestObjectPoolFactory.java
   (with props)

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/composite/TestCompositeObjectPoolFactory.java
   (with props)

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPoolFactory.java
   (with props)

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestStackObjectPoolFactory.java
   (with props)
Modified:

jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeKeyedObjectPoolFactory.java

jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/composite/PerformanceTest.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/composite/TestAll.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/composite/TestIdleEvictorLender.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestAll.java

Modified: 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeKeyedObjectPoolFactory.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeKeyedObjectPoolFactory.java?rev=390349r1=390348r2=390349view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeKeyedObjectPoolFactory.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeKeyedObjectPoolFactory.java
 Thu Mar 30 22:59:54 2006
@@ -334,11 +334,11 @@
 /**
  * Set the type of tracking for active objects while they are borrowed 
from the pool.
  *
- * @param trackerPolicy type of tracking for active objects.
- * @throws IllegalArgumentException when codetrackerPolicy/code is 
codenull/code.
+ * @param trackingPolicy type of tracking for active objects.
+ * @throws IllegalArgumentException when codetrackingPolicy/code is 
codenull/code.
  */
-public void setTrackingPolicy(final TrackingPolicy trackerPolicy) throws 
IllegalArgumentException {
-factory.setTrackingPolicy(trackerPolicy);
+public void setTrackingPolicy(final TrackingPolicy trackingPolicy) throws 
IllegalArgumentException {
+factory.setTrackingPolicy(trackingPolicy);
 }
 
 /**

Modified: 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java?rev=390349r1=390348r2=390349view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java
 Thu Mar 30 22:59:54 2006
@@ -198,7 +198,7 @@
 /**
  * Configured [EMAIL PROTECTED] Tracker} type.
  */
-private TrackingPolicy trackerPolicy = TrackingPolicy.SIMPLE;
+private TrackingPolicy trackingPolicy = TrackingPolicy.SIMPLE;
 
 /**
  * Should the object pool validate borrowed objects when they are returned.
@@ -352,7 +352,7 @@
 
 final int maxActive = config.maxActive;
 if (maxActive  0) {
-if (TrackingPolicy.NULL.equals(config.trackerPolicy)) {
+if (TrackingPolicy.NULL.equals(config.trackingPolicy)) {
 throw new IllegalStateException(Using the NULL tracker and 
limiting pool size is not valid.);
 }
 final LimitPolicy limitPolicy = config.limitPolicy;
@@ -382,17 +382,17 @@
  */
 private static Tracker getTracker(final FactoryConfig config) {
 final Tracker tracker;
-final TrackingPolicy trackerPolicy = config.trackerPolicy;
-if (TrackingPolicy.SIMPLE.equals(trackerPolicy)) {
+final TrackingPolicy trackingPolicy = config.trackingPolicy;
+if (TrackingPolicy.SIMPLE.equals(trackingPolicy)) {
 tracker = new SimpleTracker();
-} else if (TrackingPolicy.NULL.equals(trackerPolicy)) {
+} else if (TrackingPolicy.NULL.equals(trackingPolicy)) {
 tracker = new NullTracker();
-} else if (TrackingPolicy.REFERENCE.equals(trackerPolicy)) {
+} else if (TrackingPolicy.REFERENCE.equals(trackingPolicy)) {
 tracker = new ReferenceTracker();
-} 

[net] patch of FTPS

2006-03-30 Thread Satoshi Ishigami

Hi, All.

I have improved and tested some functions of FTPS.

  DO NOT REPLY [Bug 38309]  - [net] How to implent FTPS
 http://marc.theaimsgroup.com/?t=11376360933r=1w=2

I attach a patch (src.zip).

Changes:
 - add the implicit mode
 - add the CCC command handling
 - improve a behavior of the PROT command. (C and P)

Sources:
 FTPSClient.java   [modified]
 FTPSCommand.java  [new]
 FTPSReply.java[new]


Best Regards.

---
Satoshi IshigamiVIC TOKAI CORPORATION

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]