svn commit: r481737 - in /jakarta/commons/proper/daemon/trunk/src/native/nt/procrun: apps/prunsrv/prunsrv.c apps/prunsrv/prunsrv.dsp libprocrun.dsp src/service.c

2006-12-03 Thread mturk
Author: mturk
Date: Sun Dec  3 00:47:32 2006
New Revision: 481737

URL: http://svn.apache.org/viewvc?view=revrev=481737
Log:
Added --ServiceUser and --ServicePassword params

Modified:

jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/apps/prunsrv/prunsrv.c

jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/apps/prunsrv/prunsrv.dsp
jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/libprocrun.dsp
jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/src/service.c

Modified: 
jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/apps/prunsrv/prunsrv.c
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/apps/prunsrv/prunsrv.c?view=diffrev=481737r1=481736r2=481737
==
--- 
jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/apps/prunsrv/prunsrv.c
 (original)
+++ 
jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/apps/prunsrv/prunsrv.c
 Sun Dec  3 00:47:32 2006
@@ -13,12 +13,12 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 /* 
  * prunsrv -- Service Runner.
  * Contributed by Mladen Turk [EMAIL PROTECTED]
  * 05 Aug 2003
- *  
+ * 
  */
 
 /* Force the JNI vprintf functions */
@@ -74,40 +74,42 @@
 /* 0  */{ LDescription,   LDescription, NULL,   
APXCMDOPT_STR | APXCMDOPT_SRV, NULL, 0},
 /* 1  */{ LDisplayName,   LDisplayName, NULL,   
APXCMDOPT_STR | APXCMDOPT_SRV, NULL, 0},
 /* 2  */{ LInstall,   LImagePath,   NULL,   
APXCMDOPT_STE | APXCMDOPT_SRV, NULL, 0},
-/* 3  */{ LStartup,   LStartup, NULL,   
APXCMDOPT_STR | APXCMDOPT_SRV, NULL, 0},
-/* 4  */{ LDependsOn, LDependsOn,   NULL,   
APXCMDOPT_MSZ | APXCMDOPT_REG, NULL, 0},
-/* 5  */{ LEnvironment,   LEnvironment, NULL,   
APXCMDOPT_MSZ | APXCMDOPT_REG, NULL, 0},
-/* 6  */{ LUser,  LUser,NULL,   
APXCMDOPT_STR | APXCMDOPT_REG, NULL, 0},
-/* 7  */{ LPassword,  LPassword,NULL,   
APXCMDOPT_BIN | APXCMDOPT_REG, NULL, 0},
-
-/* 8  */{ LJavaHome,  LJavaHome,LJava,
APXCMDOPT_STE | APXCMDOPT_REG, NULL, 0},
-/* 9  */{ LJvm,   LJvm, LJava,
APXCMDOPT_STE | APXCMDOPT_REG, NULL, 0},
-/* 10 */{ LJvmOptions,LOptions, LJava,
APXCMDOPT_MSZ | APXCMDOPT_REG, NULL, 0},
-/* 11 */{ LClasspath, LClasspath,   LJava,
APXCMDOPT_STE | APXCMDOPT_REG, NULL, 0},
-/* 12 */{ LJvmMs, LJvmMs,   LJava,
APXCMDOPT_INT | APXCMDOPT_REG, NULL, 0},
-/* 13 */{ LJvmMx, LJvmMx,   LJava,
APXCMDOPT_INT | APXCMDOPT_REG, NULL, 0},
-/* 14 */{ LJvmSs, LJvmSs,   LJava,
APXCMDOPT_INT | APXCMDOPT_REG, NULL, 0},
-
-/* 15 */{ LStopImage, LImage,   LStop,
APXCMDOPT_STE | APXCMDOPT_REG, NULL, 0},
-/* 16 */{ LStopPath,  LWorkingPath, LStop,
APXCMDOPT_STE | APXCMDOPT_REG, NULL, 0},
-/* 17 */{ LStopClass, LClass,   LStop,
APXCMDOPT_STR | APXCMDOPT_REG, NULL, 0},
-/* 18 */{ LStopParams,LParams,  LStop,
APXCMDOPT_MSZ | APXCMDOPT_REG, NULL, 0},
-/* 19 */{ LStopMethod,LMethod,  LStop,
APXCMDOPT_STR | APXCMDOPT_REG, NULL, 0},
-/* 20 */{ LStopMode,  LMode,LStop,
APXCMDOPT_STR | APXCMDOPT_REG, NULL, 0},
-/* 21 */{ LStopTimeout,   LTimeout, LStop,
APXCMDOPT_INT | APXCMDOPT_REG, NULL, 0},
-
-/* 22 */{ LStartImage,LImage,   LStart,   
APXCMDOPT_STE | APXCMDOPT_REG, NULL, 0},
-/* 23 */{ LStartPath, LWorkingPath, LStart,   
APXCMDOPT_STE | APXCMDOPT_REG, NULL, 0},
-/* 24 */{ LStartClass,LClass,   LStart,   
APXCMDOPT_STR | APXCMDOPT_REG, NULL, 0},
-/* 25 */{ LStartParams,   LParams,  LStart,   
APXCMDOPT_MSZ | APXCMDOPT_REG, NULL, 0},
-/* 26 */{ LStartMethod,   LMethod,  LStart,   
APXCMDOPT_STR | APXCMDOPT_REG, NULL, 0},
-/* 27 */{ LStartMode, LMode,LStart,   
APXCMDOPT_STR | APXCMDOPT_REG, NULL, 0},
-
-/* 28 */{ LLogPath,   LPath,LLog, 
APXCMDOPT_STE | APXCMDOPT_REG, NULL, 0},
-/* 29 */{ LLogPrefix, LPrefix,  LLog, 
APXCMDOPT_STR | APXCMDOPT_REG, NULL, 0},
-/* 30 */{ LLogLevel,  LLevel,   LLog, 
APXCMDOPT_STR | APXCMDOPT_REG, NULL, 0},
-/* 31 */{ LStdError,

[nightly build] attributes proxy failed.

2006-12-03 Thread psteitz
Failed build logs:
http://people.apache.org/~psteitz/commons-nightlies/20061203/attributes.log
http://people.apache.org/~psteitz/commons-nightlies/20061203/proxy.log

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



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

2006-12-03 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 7 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.
 -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: 17 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/commons-cli-1.0.x/target/commons-cli-03122006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-03122006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-03122006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/ant/target/commons-jelly-tags-ant-03122006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-03122006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-03122006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-03122006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-03122006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-03122006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-03122006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/public/workspace/jaxen/target/jaxen-03122006.jar
-
[junit] at 
org.apache.commons.jelly.tags.junit.AssertTagSupport.fail(AssertTagSupport.java:64)
[junit] at 
org.apache.commons.jelly.tags.junit.AssertTag.doTag(AssertTag.java:59)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:263)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:96)
[junit] at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:187)
[junit] at 
org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:66)
[junit] at 
org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:113)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:96)
[junit] at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:187)
[junit] at 
org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:161)
[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 

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

2006-12-03 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 7 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.
 -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: 17 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/commons-cli-1.0.x/target/commons-cli-03122006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-03122006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-03122006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/ant/target/commons-jelly-tags-ant-03122006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-03122006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-03122006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-03122006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-03122006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-03122006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-03122006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/public/workspace/jaxen/target/jaxen-03122006.jar
-
[junit] at 
org.apache.commons.jelly.tags.junit.AssertTagSupport.fail(AssertTagSupport.java:64)
[junit] at 
org.apache.commons.jelly.tags.junit.AssertTag.doTag(AssertTag.java:59)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:263)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:96)
[junit] at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:187)
[junit] at 
org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:66)
[junit] at 
org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:113)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:96)
[junit] at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:187)
[junit] at 
org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:161)
[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 

svn commit: r481784 - /jakarta/commons/proper/digester/tags/DIGESTER_1_8/

2006-12-03 Thread rahul
Author: rahul
Date: Sun Dec  3 07:57:54 2006
New Revision: 481784

URL: http://svn.apache.org/viewvc?view=revrev=481784
Log:
1.8 RC3 is 1.8

Added:
jakarta/commons/proper/digester/tags/DIGESTER_1_8/
  - copied from r481783, 
jakarta/commons/proper/digester/tags/DIGESTER_1_8_RC3/


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



svn commit: r481786 - /jakarta/commons/proper/digester/trunk/xdocs/index.xml

2006-12-03 Thread rahul
Author: rahul
Date: Sun Dec  3 08:14:09 2006
New Revision: 481786

URL: http://svn.apache.org/viewvc?view=revrev=481786
Log:
Release date and an edit.

Modified:
jakarta/commons/proper/digester/trunk/xdocs/index.xml

Modified: jakarta/commons/proper/digester/trunk/xdocs/index.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/digester/trunk/xdocs/index.xml?view=diffrev=481786r1=481785r2=481786
==
--- jakarta/commons/proper/digester/trunk/xdocs/index.xml (original)
+++ jakarta/commons/proper/digester/trunk/xdocs/index.xml Sun Dec  3 08:14:09 
2006
@@ -64,7 +64,7 @@
 /section
 
 section name=Releases
-subsection name='Digester 1.8 Release (DD MONTH )'
+subsection name='Digester 1.8 Release (03 December 2006)'
 p
 Digester 1.8 is a minor bugfix and maintenance release. A few small features 
have been added.
 New projects are encouraged to use this release of digester, but there is no 
urgency
@@ -72,7 +72,7 @@
 the release notes for more details.
 /p
 p
-The dependencies for Digester 1.8 are identical to the dependencies for 
Digester 1.6.
+The dependencies for Digester 1.8 are identical to the dependencies for 
Digester 1.7.
 /p
 p
 Digester has a dependency on



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



svn commit: r481817 - in /jakarta/commons/proper/digester/trunk: RELEASE-NOTES.txt build.xml pom.xml project.xml src/conf/MANIFEST.MF

2006-12-03 Thread rahul
Author: rahul
Date: Sun Dec  3 09:11:45 2006
New Revision: 481817

URL: http://svn.apache.org/viewvc?view=revrev=481817
Log:
Roll to 1.8.1 snap.

Modified:
jakarta/commons/proper/digester/trunk/RELEASE-NOTES.txt
jakarta/commons/proper/digester/trunk/build.xml
jakarta/commons/proper/digester/trunk/pom.xml
jakarta/commons/proper/digester/trunk/project.xml
jakarta/commons/proper/digester/trunk/src/conf/MANIFEST.MF

Modified: jakarta/commons/proper/digester/trunk/RELEASE-NOTES.txt
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/digester/trunk/RELEASE-NOTES.txt?view=diffrev=481817r1=481816r2=481817
==
--- jakarta/commons/proper/digester/trunk/RELEASE-NOTES.txt (original)
+++ jakarta/commons/proper/digester/trunk/RELEASE-NOTES.txt Sun Dec  3 09:11:45 
2006
@@ -2,9 +2,11 @@
 
 
   Commons Digester Package
-Version 1.8
+   Version 1.8.1-SNAPSHOT
Release Notes
 
+
+*** Current as of Dec 03, 2006 (these are 1.8 notes, update for next release)
 
 INTRODUCTION
 

Modified: jakarta/commons/proper/digester/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/digester/trunk/build.xml?view=diffrev=481817r1=481816r2=481817
==
--- jakarta/commons/proper/digester/trunk/build.xml (original)
+++ jakarta/commons/proper/digester/trunk/build.xml Sun Dec  3 09:11:45 2006
@@ -81,7 +81,7 @@
   property name=component.title value=Digester - XML to Java 
Object Configuration/
 
   !-- The current version number of this component --
-  property name=component.version   value=1.8/
+  property name=component.version   value=1.8.1-SNAPSHOT/
 
   !-- The base directory for compilation targets --
   property name=build.home  value=target/

Modified: jakarta/commons/proper/digester/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/digester/trunk/pom.xml?view=diffrev=481817r1=481816r2=481817
==
--- jakarta/commons/proper/digester/trunk/pom.xml (original)
+++ jakarta/commons/proper/digester/trunk/pom.xml Sun Dec  3 09:11:45 2006
@@ -35,7 +35,7 @@
   groupIdcommons-digester/groupId
   artifactIdcommons-digester/artifactId
   nameDigester/name
-  version1.8/version
+  version1.8.1-SNAPSHOT/version
 
   description
 The Digester package lets you configure an XML-Java object mapping module

Modified: jakarta/commons/proper/digester/trunk/project.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/digester/trunk/project.xml?view=diffrev=481817r1=481816r2=481817
==
--- jakarta/commons/proper/digester/trunk/project.xml (original)
+++ jakarta/commons/proper/digester/trunk/project.xml Sun Dec  3 09:11:45 2006
@@ -27,7 +27,7 @@
   artifactIdcommons-digester/artifactId
   nameDigester/name
 
-  currentVersion1.8/currentVersion
+  currentVersion1.8.1-SNAPSHOT/currentVersion
 
   organization
 nameThe Apache Software Foundation/name

Modified: jakarta/commons/proper/digester/trunk/src/conf/MANIFEST.MF
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/digester/trunk/src/conf/MANIFEST.MF?view=diffrev=481817r1=481816r2=481817
==
--- jakarta/commons/proper/digester/trunk/src/conf/MANIFEST.MF (original)
+++ jakarta/commons/proper/digester/trunk/src/conf/MANIFEST.MF Sun Dec  3 
09:11:45 2006
@@ -5,7 +5,7 @@
 Specification-Vendor: The Apache Software Foundation
 Implementation-Title: org.apache.commons.digester
 Implementation-Vendor: The Apache Software Foundation
-Implementation-Version: 1.8
+Implementation-Version: 1.8.1-SNAPSHOT
 Implementation-Vendor-Id: org.apache
 X-Compile-Source-JDK: 1.2
 X-Compile-Target-JDK: 1.2



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



svn commit: r481822 - /jakarta/commons/proper/digester/trunk/xdocs/navigation.xml

2006-12-03 Thread rahul
Author: rahul
Date: Sun Dec  3 09:17:29 2006
New Revision: 481822

URL: http://svn.apache.org/viewvc?view=revrev=481822
Log:
Remove 1.5 menu from navbar and make hyperlinks consistent.

Modified:
jakarta/commons/proper/digester/trunk/xdocs/navigation.xml

Modified: jakarta/commons/proper/digester/trunk/xdocs/navigation.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/digester/trunk/xdocs/navigation.xml?view=diffrev=481822r1=481821r2=481822
==
--- jakarta/commons/proper/digester/trunk/xdocs/navigation.xml (original)
+++ jakarta/commons/proper/digester/trunk/xdocs/navigation.xml Sun Dec  3 
09:17:29 2006
@@ -22,12 +22,12 @@
   - appropriate dirs on the website; maven won't set this up.
   --
 menu name=Release 1.8 (Current)
-  item name=Guide 
href=http://jakarta.apache.org/commons/digester/commons-digester-1.8/docs/apidocs/org/apache/commons/digester/package-summary.html/
+  item name=Guide 
href=http://jakarta.apache.org/commons/digester/commons-digester-1.8/docs/api/org/apache/commons/digester/package-summary.html/
   item name=Javadoc 
href=http://jakarta.apache.org/commons/digester/commons-digester-1.8/docs/api/
   item name=Release Notes 
href=http://jakarta.apache.org/commons/digester/commons-digester-1.8/RELEASE-NOTES.txt/
 /menu
 menu name=Release 1.7
-  item name=Guide 
href=http://jakarta.apache.org/commons/digester/commons-digester-1.7/docs/apidocs/org/apache/commons/digester/package-summary.html/
+  item name=Guide 
href=http://jakarta.apache.org/commons/digester/commons-digester-1.7/docs/api/org/apache/commons/digester/package-summary.html/
   item name=Javadoc 
href=http://jakarta.apache.org/commons/digester/commons-digester-1.7/docs/api/
   item name=Release Notes 
href=http://jakarta.apache.org/commons/digester/commons-digester-1.7/RELEASE-NOTES.txt/
 /menu
@@ -35,12 +35,7 @@
   item name=Javadoc 
href=http://jakarta.apache.org/commons/digester/commons-digester-1.6/docs/api/
   item name=Release Notes 
href=http://jakarta.apache.org/commons/digester/commons-digester-1.6/RELEASE-NOTES.txt/
 /menu
-menu name=Release 1.5
-  item name=Javadoc 
href=http://jakarta.apache.org/commons/digester/commons-digester-1.5/docs/api/
-  item name=Release Notes 
href=http://jakarta.apache.org/commons/digester/commons-digester-1.5/RELEASE-NOTES.txt/
-/menu
-
-
+
 commons;
 
   /body



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



[jira] Created: (CONFIGURATION-243) Improve handling of optional configurations in DefaultConfigurationBuilder

2006-12-03 Thread Oliver Heger (JIRA)
Improve handling of optional configurations in DefaultConfigurationBuilder
--

 Key: CONFIGURATION-243
 URL: http://issues.apache.org/jira/browse/CONFIGURATION-243
 Project: Commons Configuration
  Issue Type: Improvement
Affects Versions: 1.3 Final
Reporter: Oliver Heger
 Assigned To: Oliver Heger
Priority: Minor


So far a configuration declared as optional in the configuration definition 
file won't be added to the resulting combined configuration when its 
initialization causes an error. There are use cases where this behavior is not 
appropriate:

Consider as an example an application that needs to store user specific 
settings in a user configuration file (e.g. stored in the user's home 
directory). The application's configuration definition file would include this 
user configuration and declare it as optional. When a user starts this 
application for the first time the user configuration does not exist; so its 
creation will cause an error and it won't be added to the combined 
configuration. Now every time the application wants to access the user 
configuration it has to check whether it exists and manually create it if 
necessary. Here it would be much easier if an empty configuration of the 
correct type was added to the combined configuration.

This behavior could be controlled by an additional reserved attribute 
config-forceCreate of a configuration declaration.

By the way: The nested class ConfigurationDeclaration of 
DefaultConfigurationBuilder should be public. This makes the implementation of 
custom configuration providers easier.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



svn commit: r481847 - in /jakarta/commons/proper/io/trunk/src: java/org/apache/commons/io/DirectoryWalker.java test/org/apache/commons/io/DirectoryWalkerTestCase.java

2006-12-03 Thread scolebourne
Author: scolebourne
Date: Sun Dec  3 10:05:37 2006
New Revision: 481847

URL: http://svn.apache.org/viewvc?view=revrev=481847
Log:
Add additional cancellation support, including checkIsCancelled() and 
handleIsCancelled()

Modified:

jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/DirectoryWalker.java

jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/DirectoryWalkerTestCase.java

Modified: 
jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/DirectoryWalker.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/DirectoryWalker.java?view=diffrev=481847r1=481846r2=481847
==
--- 
jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/DirectoryWalker.java
 (original)
+++ 
jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/DirectoryWalker.java
 Sun Dec  3 10:05:37 2006
@@ -184,13 +184,15 @@
  * a name=external/a
  * h43.1 External / Multi-threaded/h4
  *
- * This example provides a codecancel()/code method for external processes 
to
- * indcate that processing must stop. Calling this method sets a
- * a 
href=http://java.sun.com/docs/books/jls/second_edition/html/classes.doc.html#36930;volatile/a
- * flag to (hopefully) ensure it will work properly in
- * a multi-threaded environment. In this implementation the flag is checked in 
two
- * of the lifecycle methods using a convenience 
codecheckIfCancelled()/code method
- * which throws a [EMAIL PROTECTED] CancelException} if cancellation has been 
requested.
+ * This example provides a public codecancel()/code method that can be
+ * called by another thread to stop the processing. A typical example use-case
+ * would be a cancel button on a GUI. Calling this method sets a
+ * a 
href=http://java.sun.com/docs/books/jls/second_edition/html/classes.doc.html#36930;
+ * volatile/a flag to ensure it will work properly in a multi-threaded 
environment.
+ * The flag is returned by the codehandleIsCancelled()/code method, which
+ * will cause the walk to stop immediately. The codehandleCancelled()/code
+ * method will be the next, and last, callback method received once 
cancellation
+ * has occurred.
  *
  * pre
  *  public class FooDirectoryWalker extends DirectoryWalker {
@@ -201,24 +203,12 @@
  *cancelled = true;
  *}
  *
- *protected boolean handleDirectory(File directory, int depth, Collection 
results) throws IOException {
- *checkIfCancelled(directory, depth); // Cancel Check
- *return true;
- *}
- *
- *protected void handleFile(File file, int depth, Collection results) 
throws IOException {
- *checkIfCancelled(file, depth);  // Cancel Check
- *results.add(file);
- *}
- *
- *private void checkIfCancelled(File file, int depth) throws 
CancelException {
- *if (cancelled) {
- *throw new CancelException(file, depth);
- *}
+ *private void handleIsCancelled(File file, int depth, Collection results) 
{
+ *return cancelled;
  *}
  *
  *protected void handleCancelled(File startDirectory, Collection results, 
CancelException cancel) {
- *// implement cancel processing here
+ *// implement processing required when a cancellation occurs
  *}
  *  }
  * /pre
@@ -250,7 +240,7 @@
  *}
  *
  *protected void handleCancelled(File startDirectory, Collection results, 
CancelException cancel) {
- *// implement cancel processing here
+ *// implement processing required when a cancellation occurs
  *}
  *  }
  * /pre
@@ -324,7 +314,7 @@
 /**
  * Internal method that walks the directory hierarchy in a depth-first 
manner.
  * p
- * Most users of this class do not need to call this method. This method 
will
+ * Users of this class do not need to call this method. This method will
  * be called automatically by another (public) method on the specific 
subclass.
  * p
  * Writers of subclasses should call this method to start the directory 
walk.
@@ -336,7 +326,7 @@
  * @throws NullPointerException if the start directory is null
  * @throws IOException if an I/O Error occurs
  */
-protected void walk(File startDirectory, Collection results) throws 
IOException {
+protected final void walk(File startDirectory, Collection results) throws 
IOException {
 if (startDirectory == null) {
 throw new NullPointerException(Start Directory is null);
 }
@@ -358,10 +348,12 @@
  * @throws IOException if an I/O Error occurs
  */
 private void walk(File directory, int depth, Collection results) throws 
IOException {
+checkIfCancelled(directory, depth, results);
 if (handleDirectory(directory, depth, results)) {
 handleDirectoryStart(directory, depth, results);
 int childDepth = depth + 1;
 if (depthLimit  0 || 

svn commit: r481848 - /jakarta/commons/proper/io/trunk/RELEASE-NOTES.txt

2006-12-03 Thread scolebourne
Author: scolebourne
Date: Sun Dec  3 10:10:56 2006
New Revision: 481848

URL: http://svn.apache.org/viewvc?view=revrev=481848
Log:
IO-86 - Release notes for DirectoryWalker

Modified:
jakarta/commons/proper/io/trunk/RELEASE-NOTES.txt

Modified: jakarta/commons/proper/io/trunk/RELEASE-NOTES.txt
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/io/trunk/RELEASE-NOTES.txt?view=diffrev=481848r1=481847r2=481848
==
--- jakarta/commons/proper/io/trunk/RELEASE-NOTES.txt (original)
+++ jakarta/commons/proper/io/trunk/RELEASE-NOTES.txt Sun Dec  3 10:10:56 2006
@@ -78,6 +78,12 @@
 
 Enhancements from 1.2
 -
+- DirectoryWalker [IO-86]
+  - New class designed for subclassing to walk through a set of files.
+DirectoryWalker provides the walk of the directories, filtering of
+directories and files, and cancellation support. The subclass must provide
+the specific behaviour, such as text searching or image processing.
+
 - IOCase
   - New class/enumeration for case-sensitivity control
 



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



[jira] Closed: (IO-86) Add DirectoryWalker based on FileFinder

2006-12-03 Thread Stephen Colebourne (JIRA)
 [ http://issues.apache.org/jira/browse/IO-86?page=all ]

Stephen Colebourne closed IO-86.


Resolution: Fixed

I'm closing this, as I think its done to everyones satisfaction now.

 Add DirectoryWalker based on FileFinder
 ---

 Key: IO-86
 URL: http://issues.apache.org/jira/browse/IO-86
 Project: Commons IO
  Issue Type: New Feature
  Components: Utilities
Affects Versions: 1.2
Reporter: Niall Pemberton
 Fix For: 1.3

 Attachments: FileFinder.java, FileFinderTestCase.java, 
 io-DirectoryWalker-cancellation-3.patch, io-filefinder-start-end.patch, 
 io.patch


 I'd like to propose adding a FileFinder back into Commons IO. This is a 
 simplified version of what was recently moved out of Commons IO into the 
 finder component currently in the sandbox.
 I believe this is a simpler, more generic implementation than the finder 
 component and therefore would be considered suitable for inclusion in Commons 
 IO. Although simpler it could be used as the basis for achieving the finder 
 component's aims - namely to emulate the unix find command.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



svn commit: r481854 - in /jakarta/commons/proper/io/trunk: RELEASE-NOTES.txt src/java/org/apache/commons/io/IOUtils.java src/test/org/apache/commons/io/IOUtilsCopyTestCase.java

2006-12-03 Thread scolebourne
Author: scolebourne
Date: Sun Dec  3 10:30:07 2006
New Revision: 481854

URL: http://svn.apache.org/viewvc?view=revrev=481854
Log:
IO-84 - Make IOUtils.copy return -1 not an exception for large files, as more 
backwards compatible

Modified:
jakarta/commons/proper/io/trunk/RELEASE-NOTES.txt
jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/IOUtils.java

jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/IOUtilsCopyTestCase.java

Modified: jakarta/commons/proper/io/trunk/RELEASE-NOTES.txt
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/io/trunk/RELEASE-NOTES.txt?view=diffrev=481854r1=481853r2=481854
==
--- jakarta/commons/proper/io/trunk/RELEASE-NOTES.txt (original)
+++ jakarta/commons/proper/io/trunk/RELEASE-NOTES.txt Sun Dec  3 10:30:07 2006
@@ -60,15 +60,14 @@
   - This now handles the situation where an error occurs when deleting the file
 
 - IOUtils.copy [IO-84]
-  - The copy(InputStream, OutputStream) method now throws an exception if
-the count is greater than an int
-  - The copy(Reader, Writer) method now throws an exception if
-the count is greater than an int
+  - Copy methods could return inaccurate byte/char count for large streams
+  - The copy(InputStream, OutputStream) method now returns -1 if the count is 
greater than an int
+  - The copy(Reader, Writer) method now throws now returns -1 if the count is 
greater than an int
   - Added a new copyLarge(InputStream, OutputStream) method that returns a long
   - Added a new copyLarge(Reader, Writer) method that returns a long
 
 - CountingInputStream/CountingOutputStream [IO-84]
-  - methods were declared as int thus the count was innacurate for large 
streams
+  - Methods were declared as int thus the count was innacurate for large 
streams
   - new long based methods getByteCount()/resetByteCount() added
   - existing methods changed to throw an exception if the count is greater 
than an int
 

Modified: 
jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/IOUtils.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/IOUtils.java?view=diffrev=481854r1=481853r2=481854
==
--- jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/IOUtils.java 
(original)
+++ jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/IOUtils.java 
Sun Dec  3 10:30:07 2006
@@ -982,10 +982,10 @@
  * This method buffers the input internally, so there is no need to use a
  * codeBufferedInputStream/code.
  * p
- * Large streams (over 2GB) will throw an [EMAIL PROTECTED] 
ArithmeticException}
- * after the copy has completed since the correct number of bytes
- * cannot be returned as an int. For large streams use the
- * codecopyLarge(InputStream, OutputStream)/code method.
+ * Large streams (over 2GB) will return a bytes copied value of
+ * code-1/code after the copy has completed since the correct
+ * number of bytes cannot be returned as an int. For large streams
+ * use the codecopyLarge(InputStream, OutputStream)/code method.
  * 
  * @param input  the codeInputStream/code to read from
  * @param output  the codeOutputStream/code to write to
@@ -995,13 +995,12 @@
  * @throws ArithmeticException if the byte count is too large
  * @since Commons IO 1.1
  */
-public static int copy(InputStream input, OutputStream output)
-throws IOException {
+public static int copy(InputStream input, OutputStream output) throws 
IOException {
 long count = copyLarge(input, output);
 if (count  Integer.MAX_VALUE) {
-throw new ArithmeticException(The byte count  + count +  is too 
large to be converted to an int);
+return -1;
 }
-return (int)count;
+return (int) count;
 }
 
 /**
@@ -1088,10 +1087,10 @@
  * This method buffers the input internally, so there is no need to use a
  * codeBufferedReader/code.
  * p
- * Large streams (over 2GB) will throw an [EMAIL PROTECTED] 
ArithmeticException}
- * after the copy has completed since the correct number of characters
- * cannot be returned as an int. For large streams use the
- * codecopyLarge(Reader, Writer)/code method.
+ * Large streams (over 2GB) will return a chars copied value of
+ * code-1/code after the copy has completed since the correct
+ * number of chars cannot be returned as an int. For large streams
+ * use the codecopyLarge(Reader, Writer)/code method.
  *
  * @param input  the codeReader/code to read from
  * @param output  the codeWriter/code to write to
@@ -1104,9 +1103,9 @@
 public static int copy(Reader input, Writer output) throws IOException {
 long count = copyLarge(input, output);
 if (count  

[jira] Commented: (IO-84) Many classes are limited to length of stream 2 GB, and behave incorrectly on larger streams

2006-12-03 Thread Stephen Colebourne (JIRA)
[ http://issues.apache.org/jira/browse/IO-84?page=comments#action_12455191 
] 

Stephen Colebourne commented on IO-84:
--

I've changed IOUtils.copy to return -1 rather than an exception. The problem 
was that copy() was used from lots of other places, which didn't care about the 
number of bytes copied. As such, I reason that the most common use case for 
copy() is to not care about the number of bytes copied.

By returning -1 from the int copy methods, the bug is dealt with (the result is 
now consistent and javadocced). The copyLarge() method exists for those that 
want accurate counts. While copy() itself will never fail to copy, as in 
previous versions - the most backwards compatible option.


 Many classes are limited to length of stream  2 GB, and behave incorrectly 
 on larger streams
 -

 Key: IO-84
 URL: http://issues.apache.org/jira/browse/IO-84
 Project: Commons IO
  Issue Type: Bug
  Components: Utilities
Affects Versions: 1.2
 Environment: All
Reporter: Evgenii Philippov
 Fix For: 1.3

 Attachments: io-84-files-larger-than-2gb.patch


 java int.MAX_VALUE is 2 GB. Classes that handle streams larger than 2 GB will 
 behave incorrectly.
 For example, see 
 http://svn.apache.org/viewvc/jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/IOUtils.java?view=markup
 Method: int copy(InputStream input, OutputStream output).
 The correct method would be: long copy(InputStream input, OutputStream 
 output).
 This issue may affect many classes and routines.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



svn commit: r481856 - /jakarta/commons/proper/commons-nightly/trunk/nightly_wrapper.sh

2006-12-03 Thread psteitz
Author: psteitz
Date: Sun Dec  3 10:46:57 2006
New Revision: 481856

URL: http://svn.apache.org/viewvc?view=revrev=481856
Log:
Fixed log location.

Modified:
jakarta/commons/proper/commons-nightly/trunk/nightly_wrapper.sh

Modified: jakarta/commons/proper/commons-nightly/trunk/nightly_wrapper.sh
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/commons-nightly/trunk/nightly_wrapper.sh?view=diffrev=481856r1=481855r2=481856
==
--- jakarta/commons/proper/commons-nightly/trunk/nightly_wrapper.sh (original)
+++ jakarta/commons/proper/commons-nightly/trunk/nightly_wrapper.sh Sun Dec  3 
10:46:57 2006
@@ -31,5 +31,5 @@
 
 # For now, scp the logs over to ~psteitz
 ssh people.apache.org mkdir 
/x1/home/psteitz/public_html/commons-nightlies/$time_stamp
-scp $HOME/log/* [EMAIL 
PROTECTED]:/x1/home/psteitz/public_html/commons-nightlies/$time_stamp
+scp /home/commons/public_html/nightly/logs* [EMAIL 
PROTECTED]:/x1/home/psteitz/public_html/commons-nightlies/$time_stamp
 



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



Re: [nightly build] attributes proxy failed.

2006-12-03 Thread Phil Steitz

The build logs are actually here:
http://vmbuild.apache.org/~commons/nightly/logs/

Phil

On 3 Dec 2006 12:00:43 -, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Failed build logs:
http://people.apache.org/~psteitz/commons-nightlies/20061203/attributes.log
http://people.apache.org/~psteitz/commons-nightlies/20061203/proxy.log

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




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



[jira] Commented: (IO-99) FileCleaner thread never ends and cause memory leak in AS

2006-12-03 Thread Stephen Colebourne (JIRA)
[ http://issues.apache.org/jira/browse/IO-99?page=comments#action_12455206 
] 

Stephen Colebourne commented on IO-99:
--

The simple solution is to add a method exitWhenFinished() that sets a boolean 
flag.

The reaper thread then checks the boolean flag to see if it should stop the 
thread (once all tracked objects have been dealt with)

{code}
if (exitWhenFinished  trackers.isEmpty()) {
  return;  // terminate thread
}
{/code}

Code can then call FileCleaner.exitWhenFinished() from their servlet destroy 
method.


 FileCleaner thread never ends and cause memory leak in AS
 -

 Key: IO-99
 URL: http://issues.apache.org/jira/browse/IO-99
 Project: Commons IO
  Issue Type: Bug
Affects Versions: 1.2
 Environment: JBOssPortal with commons.fileupload
Reporter: Vera Mickaƫl
Priority: Critical

 FileCleaner opens a thread and no solution is given to the user to end it. So 
 when an application is undeployed
 in an Application Server, a thread is still alive. The WebApp can't be 
 undeployed and this results in a classloader
 leak that will cause an OutOfMemoryError.
 I think the API should be extended so that a user can end the thread. A 
 better way would be to provide a class that
 cleans everything for commons IO.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



svn commit: r481880 - /jakarta/commons/proper/digester/trunk/project.xml

2006-12-03 Thread rahul
Author: rahul
Date: Sun Dec  3 12:37:45 2006
New Revision: 481880

URL: http://svn.apache.org/viewvc?view=revrev=481880
Log:
Add 1.8 version.

Modified:
jakarta/commons/proper/digester/trunk/project.xml

Modified: jakarta/commons/proper/digester/trunk/project.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/digester/trunk/project.xml?view=diffrev=481880r1=481879r2=481880
==
--- jakarta/commons/proper/digester/trunk/project.xml (original)
+++ jakarta/commons/proper/digester/trunk/project.xml Sun Dec  3 12:37:45 2006
@@ -61,6 +61,11 @@
 
   versions
 version
+  id1.8/id
+  name1.8/name
+  tagDIGESTER_1_8/tag
+/version
+version
   id1.7/id
   name1.7/name
   tagDIGESTER_1_7/tag



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



svn commit: r481881 - /jakarta/commons/proper/scxml/trunk/maven.xml

2006-12-03 Thread rahul
Author: rahul
Date: Sun Dec  3 12:40:35 2006
New Revision: 481881

URL: http://svn.apache.org/viewvc?view=revrev=481881
Log:
Sum pom.

Modified:
jakarta/commons/proper/scxml/trunk/maven.xml

Modified: jakarta/commons/proper/scxml/trunk/maven.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/scxml/trunk/maven.xml?view=diffrev=481881r1=481880r2=481881
==
--- jakarta/commons/proper/scxml/trunk/maven.xml (original)
+++ jakarta/commons/proper/scxml/trunk/maven.xml Sun Dec  3 12:40:35 2006
@@ -56,6 +56,14 @@
 !-- == --
 postGoal name=dist
 
+ !-- Create a versioned pom --
+ copy file=${basedir}/project.xml 
tofile=${maven.dist.dir}/${maven.final.name}.pom/
+
+ !-- create checksum for pom --
+ ant:checksum file=${maven.dist.dir}/${maven.final.name}.pom 
property=pom.md5/
+ ant:echo message=${pom.md5} *${maven.final.name}.pom
+   file=${maven.dist.dir}/${maven.final.name}.pom.md5 /
+
  !-- create checksum for jar --
  ant:checksum file=${maven.build.dir}/${maven.final.name}.jar 
property=jar.md5/
  ant:echo message=${jar.md5} *${maven.final.name}.jar 



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



[jira] Commented: (LANG-66) [lang] StringEscaper.escapeXml() escapes characters 0x7f

2006-12-03 Thread Stepan Koltsov (JIRA)
[ 
http://issues.apache.org/jira/browse/LANG-66?page=comments#action_12455221 ] 

Stepan Koltsov commented on LANG-66:


escapeJava and escapeJavaScript also escapes characters  0x7f. This is also 
undesired and undocumented.

 [lang] StringEscaper.escapeXml() escapes characters  0x7f
 --

 Key: LANG-66
 URL: http://issues.apache.org/jira/browse/LANG-66
 Project: Commons Lang
  Issue Type: Bug
Affects Versions: 2.1
 Environment: Operating System: All
 Platform: All
Reporter: Sandor Vroemisse
 Fix For: 3.0


 StringEscaper.escapeXml() escapes characters  0x7f. That's both undesired and
 undocumented.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



Re: Looking for a home for a small project

2006-12-03 Thread Henri Yandell

Apologies for the delay in replying on this - you may want to mention
this on the Http Components mailing list as it sounds like it fits
their interest.

Hen

On 11/29/06, Christopher Schultz [EMAIL PROTECTED] wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

All,

Forgive me if this is the wrong place to offer new projects. If so,
kindly point me in the right direction.

I have developed a small project to help unit test
URLConnections. Basically, it provides a loopback URL-handling protocol
that you can use to check to ensure that your code that deals with
network stuff works properly, even under less-than-idea situations.

You can use it to simulate broken HTTP servers, not found errors, etc.
that are often inconvenient to set up in other ways (like putting static
files on a web server just for testing).

It is basically a much more flexible and extended version of the ideas
articulated in this JavaWorld article from quite a while ago:

http://www.javaworld.com/javaworld/jw-07-2002/jw-0719-networkunittest-p2.html

If this seems like the kind of thing that Jakarta-Commons would consider
taking a look at, please contact me outside of the list with further
instructions, and I'll be happy to discuss it in more detail, provide
code, etc.

The project is pretty much ready for a release: it contains some
documentation for use, all code is javadoc'd, there are a complete set
of (working) unit tests, and it uses ant in a relatively standard way to
build/test/distribute.

Thanks for your time,
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFbi9P9CaO5/Lv0PARAgojAKCnJZG6O9/LaGsE5xt9FH1J8BhHnACgjoG6
dhFaDnRzAtc0zkyC2mTvMhY=
=dviL
-END PGP SIGNATURE-

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




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



svn commit: r481986 - /jakarta/commons/proper/discovery/trunk/xdocs/navigation.xml

2006-12-03 Thread bayard
Author: bayard
Date: Sun Dec  3 15:22:14 2006
New Revision: 481986

URL: http://svn.apache.org/viewvc?view=revrev=481986
Log:
Adding releate notes to the nav

Modified:
jakarta/commons/proper/discovery/trunk/xdocs/navigation.xml

Modified: jakarta/commons/proper/discovery/trunk/xdocs/navigation.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/discovery/trunk/xdocs/navigation.xml?view=diffrev=481986r1=481985r2=481986
==
--- jakarta/commons/proper/discovery/trunk/xdocs/navigation.xml (original)
+++ jakarta/commons/proper/discovery/trunk/xdocs/navigation.xml Sun Dec  3 
15:22:14 2006
@@ -33,12 +33,10 @@
 menu name=Discovery
   item name=Overview href=/index.html/
   item name=Download 
href=http://jakarta.apache.org/site/downloads/downloads_commons-discovery.cgi/
-  !--item name=Users guide href=/userguide.html/--
+  item name=Release Notes (0.4) 
href=http://www.apache.org/dist/jakarta/commons/discovery/RELEASE-NOTES.txt/
   item name=Best practices href=/best-practices.html/
   item name=Guidelines href=/adc-guidelines.html/
-  !--item name=History href=/history.html/--
   item name=Javadoc (0.4 release) href=apidocs/index.html/
-  !--item name=Tasks href=/tasks.html/--
 /menu
 
 menu name=Development



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



[jira] Created: (DBCP-203) Want to provide a ClassLoader for BasicDataSource to use for loading a JDBC driver.

2006-12-03 Thread Mark Grand (JIRA)
Want to provide a ClassLoader for BasicDataSource to use for loading a JDBC 
driver.
---

 Key: DBCP-203
 URL: http://issues.apache.org/jira/browse/DBCP-203
 Project: Commons Dbcp
  Issue Type: New Feature
Reporter: Mark Grand
Priority: Minor


I have an application that will be configured to use a JDBC driver at run time. 
 It would be helpful if I could set the ClassLoader that BasicDataSource uses 
to load the JDBC driver.  

I don't know what the procedure is for submitting improvements, but this is 
something that I could add myself. the code would look like this:

private ClassLoader driverLoader = getClass().getClassLoader();
...
public ClassLoader getDriverLoader() {
return driverLoader();
}

public void setDriverLoader(ClassLoader newValue) {
driverLoader = newValue;
}
...

Change the statement that in createDataSource from
Class.forName(driverClassName);
to be
Class.forName(driverClassName, true, driverLoader);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



svn commit: r482014 - /jakarta/commons/proper/dbcp/trunk/checkstyle.xml

2006-12-03 Thread psteitz
Author: psteitz
Date: Sun Dec  3 18:18:52 2006
New Revision: 482014

URL: http://svn.apache.org/viewvc?view=revrev=482014
Log:
Commented out some checks, eliminated license check - leave that to the RAT.

Modified:
jakarta/commons/proper/dbcp/trunk/checkstyle.xml

Modified: jakarta/commons/proper/dbcp/trunk/checkstyle.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/dbcp/trunk/checkstyle.xml?view=diffrev=482014r1=482013r2=482014
==
--- jakarta/commons/proper/dbcp/trunk/checkstyle.xml (original)
+++ jakarta/commons/proper/dbcp/trunk/checkstyle.xml Sun Dec  3 18:18:52 2006
@@ -44,17 +44,16 @@
 !-- ** --
 !-- Checks that are different from the sun coding conventions ones --
 !-- ** --
-module name=Header
-property name=headerFile value=${basedir}/LICENSE.txt/
-property name=ignoreLines value=2,3,4,10/
-/module
+  
 property name=tabWidth value=4/
 module name=LeftCurly
   property name=option value=eol/
 /module
+!--
 module name=RightCurly
-  property name=option value=alone/
+ property name=option value=alone/
 /module
+--
 module name=LineLength
   property name=max value=132/
 /module
@@ -74,21 +73,32 @@
 
 !-- Checks for Javadoc comments. --
 !-- See http://checkstyle.sf.net/config_javadoc.html --
-module name=JavadocMethod/
-module name=JavadocType/
-module name=JavadocVariable/
-
+module name=JavadocMethod
+  property name=scope value=protected/
+/module
+module name=JavadocType
+  property name=scope value=protected/
+/module
+module name=JavadocVariable
+  property name=scope value=protected/
+/module
 
 !-- Checks for Naming Conventions.  --
 !-- See http://checkstyle.sf.net/config_naming.html --
 module name=LocalFinalVariableName/
+!--
 module name=LocalVariableName/
+--
 module name=MethodName/
 module name=PackageName/
 module name=ParameterName/
+!--
 module name=StaticVariableName/
+--
 module name=TypeName/
+!--
 module name=MemberName/
+--
 
 !-- Checks for imports  --
 !-- See http://checkstyle.sf.net/config_import.html --
@@ -97,48 +107,54 @@
 module name=RedundantImport/
 module name=UnusedImports/
 
-
 !-- Checks for Size Violations.--
 !-- See http://checkstyle.sf.net/config_sizes.html --
 module name=FileLength/
 module name=ParameterNumber/
 
-
 !-- Checks for whitespace   --
 !-- See http://checkstyle.sf.net/config_whitespace.html --
 module name=EmptyForIteratorPad/
+!--
 module name=NoWhitespaceAfter/
 module name=NoWhitespaceBefore/
 module name=OperatorWrap/
+--
 module name=TabCharacter/
+!--
 module name=WhitespaceAfter/
 module name=WhitespaceAround/
-
+--
 
 !-- Modifier Checks--
 !-- See http://checkstyle.sf.net/config_modifiers.html --
+!--
 module name=ModifierOrder/
 module name=RedundantModifier/
-
+--
 
 !-- Checks for blocks. You know, those {}'s --
 !-- See http://checkstyle.sf.net/config_blocks.html --
 module name=AvoidNestedBlocks/
-module name=EmptyBlock/
-
+!--
+module name=EmptyBlock/ 
+-- 
 module name=NeedBraces/
 
-
 !-- Checks for common coding problems   --
 !-- See http://checkstyle.sf.net/config_coding.html --
 module name=AvoidInlineConditionals/
 module name=DoubleCheckedLocking/
 module name=EmptyStatement/
 module name=EqualsHashCode/
+!--
 module name=HiddenField/
+--
 module name=IllegalInstantiation/
 module name=InnerAssignment/
+!--
 module name=MagicNumber/
+--
 module name=MissingSwitchDefault/
 module name=RedundantThrows
 property name=allowUnchecked value=true/   !-- DISABLED --
@@ -153,22 +169,25 @@
 property name=severity value=ignore/   !-- DISABLED --
 /module
 module name=FinalClass/
+!--
 module name=HideUtilityClassConstructor/
+--
 module name=InterfaceIsType/
+!--
 module name=VisibilityModifier/
-
+--
 
 !-- Miscellaneous other checks. 

svn commit: r482015 - in /jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp: AbandonedConfig.java AbandonedObjectPool.java AbandonedTrace.java

2006-12-03 Thread psteitz
Author: psteitz
Date: Sun Dec  3 18:22:09 2006
New Revision: 482015

URL: http://svn.apache.org/viewvc?view=revrev=482015
Log:
Javadoc and formatting only.

Modified:

jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/AbandonedConfig.java

jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/AbandonedObjectPool.java

jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/AbandonedTrace.java

Modified: 
jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/AbandonedConfig.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/AbandonedConfig.java?view=diffrev=482015r1=482014r2=482015
==
--- 
jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/AbandonedConfig.java
 (original)
+++ 
jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/AbandonedConfig.java
 Sun Dec  3 18:22:09 2006
@@ -26,6 +26,10 @@
  */
 public class AbandonedConfig {
 
+/**
+ * Whether or not a connection is considered abandoned and eligible
+ * for removal if it has been idle longer than the removeAbandonedTimeout
+ */
 private boolean removeAbandoned = false;
 
 /**
@@ -61,6 +65,9 @@
 this.removeAbandoned = removeAbandoned;
 }
 
+/**
+ * Timeout in seconds before an abandoned connection can be removed
+ */
 private int removeAbandonedTimeout = 300;
 
 /**
@@ -85,6 +92,10 @@
 this.removeAbandonedTimeout = removeAbandonedTimeout;
 }
 
+/**
+ * Determines whether or not to log stack traces for application code
+ * which abandoned a Statement or Connection.
+ */
 private boolean logAbandoned = false;
 
 /**
@@ -112,6 +123,7 @@
  * Logging of abandoned Statements and Connections adds overhead
  * for every Connection open or new Statement because a stack
  * trace has to be generated.
+ * @param logAbandoned true turns on abandoned stack trace logging
  *
  */
 public void setLogAbandoned(boolean logAbandoned) {

Modified: 
jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/AbandonedObjectPool.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/AbandonedObjectPool.java?view=diffrev=482015r1=482014r2=482015
==
--- 
jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/AbandonedObjectPool.java
 (original)
+++ 
jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/AbandonedObjectPool.java
 Sun Dec  3 18:22:09 2006
@@ -36,9 +36,14 @@
  */
 public class AbandonedObjectPool extends GenericObjectPool {
 
-// DBCP AbandonedConfig
+/** 
+ * DBCP AbandonedConfig 
+ */
 private AbandonedConfig config = null;
-// A list of connections in use
+
+/**
+ * A list of connections in use
+ */
 private List trace = new ArrayList();
 
 /**
@@ -66,6 +71,8 @@
  * getNumIdle()  2
  * 
  * @return Object jdbc Connection
+ * @throws Exception if an exception occurs retrieving a 
+ * connection from the pool
  */
 public Object borrowObject() throws Exception {
 if (config != null
@@ -75,11 +82,11 @@
 removeAbandoned();
 }
 Object obj = super.borrowObject();
-if(obj instanceof AbandonedTrace) {
-((AbandonedTrace)obj).setStackTrace();
+if (obj instanceof AbandonedTrace) {
+((AbandonedTrace) obj).setStackTrace();
 }
 if (obj != null  config != null  config.getRemoveAbandoned()) {
-synchronized(trace) {
+synchronized (trace) {
 trace.add(obj);
 }
 }
@@ -90,10 +97,12 @@
  * Return a db connection to the pool.
  *
  * @param obj db Connection to return
+ * @throws Exception if an exception occurs returning the connection
+ * to the pool
  */
 public void returnObject(Object obj) throws Exception {
 if (config != null  config.getRemoveAbandoned()) {
-synchronized(trace) {
+synchronized (trace) {
 boolean foundObject = trace.remove(obj);
 if (!foundObject) {
 return; // This connection has already been invalidated.  
Stop now.
@@ -103,9 +112,15 @@
 super.returnObject(obj);
 }
 
+/**
+ * Invalidates an object from the pool.
+ *
+ * @param obj object to be returned
+ * @throws Exception if an exception occurs invalidating the object
+ */
 public void invalidateObject(Object obj) throws Exception {
 if (config != null  config.getRemoveAbandoned()) {
-synchronized(trace) {
+synchronized (trace) {
 boolean foundObject = trace.remove(obj);

[ANNOUNCEMENT] Commons Discovery 0.4 released

2006-12-03 Thread Henri Yandell

I'd like to announce that Commons Discovery 0.4 has been released.
Discovery provides facilities for discovering implementations for
pluggable interfaces.

Discovery 0.4 is a long overdue release (0.3 failed at the last hurdle
to actually be released). Discovery is not an actively developed
component, so this release is chiefly to mark a stable point that the
users of discovery can depend on. Full details of this can be found in
the Release Notes.

   http://www.apache.org/dist/jakarta/commons/discovery/RELEASE-NOTES.txt

Discovery is available in either binary or source form from:

   http://jakarta.apache.org/site/downloads/downloads_commons-discovery.cgi


Henri Yandell
on behalf of the Commons community

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