svn commit: r160868 - jakarta/commons/proper/httpclient/tags/HTTPCLIENT_3_0_RC2

2005-04-11 Thread mbecke
Author: mbecke
Date: Mon Apr 11 05:33:50 2005
New Revision: 160868

URL: http://svn.apache.org/viewcvs?view=revrev=160868
Log:
For 3.0rc2 release.

Added:
jakarta/commons/proper/httpclient/tags/HTTPCLIENT_3_0_RC2/
  - copied from r160867, jakarta/commons/proper/httpclient/trunk/


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



[ANNOUNCEMENT] Commons HttpClient 3.0rc2 Released

2005-04-11 Thread Michael Becke
The Jakarta Commons HttpClient project is pleased to announce the
second release candidate of HttpClient 3.0. Several minor issues have
been fixed since RC1 and HttpClient 3.0 has made significant progess
towards the final release. We are confident HttpClient 3.0 is ready to
replace HttpClient 2.0 as a production quality release. We strongly
recommend upgrading to HttpClient 3.0. Please  download  and enjoy.

Download - 
http://jakarta.apache.org/site/downloads/downloads_commons-httpclient.cgi
Release notes -
http://www.apache.org/dist/jakarta/commons/httpclient/RELEASE-NOTES.txt
3.0 site - http://jakarta.apache.org/commons/httpclient/3.0/

Enjoy,

Commons HttpClient Team

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



test

2005-04-11 Thread Erik Weibust
Testing.  Please ignore.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: [lang] VOTE 2.1 release

2005-04-11 Thread Gary Gregory
Hi:

There are a couple of Javadoc nits I'd like to fix. I should be able to
do this today or tomorrow.

Gary

-Original Message-
From: Henri Yandell [mailto:[EMAIL PROTECTED] 
Sent: Sunday, April 10, 2005 5:54 PM
To: Jakarta Commons Developers List
Subject: [lang] VOTE 2.1 release

Proposing a vote to go ahead and release Commons Lang 2.1.

The release will pretty much match the release-candidate that is in:
http://www.apache.org/~bayard/commons-lang-2.1/

Stephen's recent defaultIfEmpty method will be included in the release.

If the vote is successful, I'll target spending next weekend
performing the release (unless anyone wants to volunteer).

[ ] +1
[ ] -1

Hen

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



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



[logging] 1.0.4 incorrectly published to java-repository

2005-04-11 Thread Brett Porter
Hi,

http://www.apache.org/dist/java-repository/commons-logging/poms/commons-logging-1.0.4.pom

This contains currentVersion/ of 1.0.4-dev instead of 1.0.4. It has
tripped a warning in our repository conversion/validation tool.

Would someone mind correcting the file? I'm happy to do it, though
wouldn't like to be mucking with someone else's release without checking
first.

Use of maven:scm-prepare-release/perform-release is also available if
you'd like a tool to do these edits and deployments in future:
http://maven.apache.org/reference/plugins/scm/releasing.html

Cheers,
Brett


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



DO NOT REPLY [Bug 34406] - [configuration] get resources-1.0.jar fails

2005-04-11 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=34406.
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=34406





--- Additional Comments From [EMAIL PROTECTED]  2005-04-11 20:14 ---
This is a fake dependency used for unit tests involving loading a configuration
file from a JAR. This file doesn't exist on Ibilio but is packaged in the source
distribution in the conf directory.

-- 
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]



[JELLY] exotic URL protocols

2005-04-11 Thread Giorgio Gallo

I am trying to write a patch to solve issue JELLY-208
(http://issues.apache.org/jira/browse/JELLY-208)

Let me know if you committers prefer to handle this one directly,
because of the fact that URLs contain / beeing assumed just about
everywhere in jelly... :)

Also:

Thomas Burns (the issue reporter) mentions a custom url protocol.

It is not needed for the specific issue to manifest (think of
file:script.jelly) to have a custom protocol, but it could be the case
 that a protocol does not use the usual URL pattern
(protocol://user:[EMAIL PROTECTED]:port/path...) and that therefore we (ie:
jelly) cannot resolve relative URLs simply by parsing the string
representation of the base URL and assuming it has more meaning that
protocol:opaquePart...

Besides modifying jelly to ALWAYS use
new URL(URL, String)
to resolve relative URLs, another fact should/could be addressed: it
could be impossible in some protocols to infer the parent URL of a
script from the script's own URL (ie: it's what
JellyContext#getJellyContextURL does)


I see a few options to address this:

1. The protocol:opaquePart thing above comes from some confused
corner of my head and I have to read RFCs again :)

2. Declare those exotic protocols unsupported :)

3. Refactor jelly to use a script's very url (eg:
file:///dir/dir/script.jelly) to resolve relative URLs and remove
auto-detection of context URLs altoghether (ie: context-relative URLs
will be resolved against the script URL unless a different context URL
is explicitly specifyed)

4. use null as context url when there are no /s and assume the usual
URL pattern if a / is present


I would opt for the third possibility (really - can't see any drawback
in it, not at 4:00AM at least).

Please let me know if such a patch would be welcome or, again, if it's
like you committers prefer to handle this on your own.

(please pardon me if my english is not very clear)

rgds,
Giorgio




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



DO NOT REPLY [Bug 33889] - [lang] split camel case strings

2005-04-11 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=33889.
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=33889





--- Additional Comments From [EMAIL PROTECTED]  2005-04-11 21:42 ---
Created an attachment (id=14682)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=14682action=view)
Patch that implements splitByCamelCase(String)


-- 
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 33889] - [lang] split camel case strings

2005-04-11 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=33889.
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=33889





--- Additional Comments From [EMAIL PROTECTED]  2005-04-11 21:43 ---
Created an attachment (id=14683)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=14683action=view)
Patch with JUnit tests for splitByCamelCase(String)


-- 
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: r160943 - in jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text: Interpolation.java MappedMessageFormat.java StrBuilder.java StrTokenizer.java

2005-04-11 Thread ggregory
Author: ggregory
Date: Mon Apr 11 13:11:40 2005
New Revision: 160943

URL: http://svn.apache.org/viewcvs?view=revrev=160943
Log:
In the .text package (not for 2.1):
- Javadoc nits: missing tags, wrong name in @param, . in 1st line.
- Refactored magic number 32 into static final CAPACITY.
- Removed extra C-style return (expr) in return expressions.

Modified:

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/Interpolation.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/MappedMessageFormat.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/Interpolation.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/Interpolation.java?view=diffr1=160942r2=160943
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/Interpolation.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/Interpolation.java
 Mon Apr 11 13:11:40 2005
@@ -33,7 +33,7 @@
 }
 
 /**
- * pInterpolates a String to replace variables of the form 
code${...}/code./p
+ * pInterpolates a String to replace variables of the form 
code${variable}/code./p
  * 
  * pThis method is useful for enabling simple strings to be modified 
based
  * on a map of data. A typical use case might be to add data from 
configuration
@@ -110,7 +110,7 @@
 }
 
 /**
- * pInterpolates a String to replace variables of the form 
code${...}/code
+ * pInterpolates a String to replace variables of the form 
code${variable}/code
  * where the replace strings may also contain variables to interpolate./p
  * 
  * pThis method is useful for enabling simple strings to be modified 
based

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/MappedMessageFormat.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/MappedMessageFormat.java?view=diffr1=160942r2=160943
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/MappedMessageFormat.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/MappedMessageFormat.java
 Mon Apr 11 13:11:40 2005
@@ -52,6 +52,7 @@
  * Constructs a new instance.
  */
 public MappedMessageFormat() {
+// no initialization.
 }
 
 /**

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java?view=diffr1=160942r2=160943
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java
 Mon Apr 11 13:11:40 2005
@@ -54,6 +54,11 @@
  */
 public class StrBuilder implements Cloneable {
 
+/**
+ * The extra capacity for new builders.
+ */
+static final int CAPACITY = 32;
+
 /** Serialization lock. */
 private static final long serialVersionUID = 7628716375283629643L;
 
@@ -80,7 +85,7 @@
 public StrBuilder(int initialCapacity) {
 super();
 if (initialCapacity = 0) {
-initialCapacity = 32;
+initialCapacity = CAPACITY;
 }
 buf = new char[initialCapacity];
 }
@@ -209,7 +214,7 @@
 /**
  * Clears the string builder (convenience Collections API style method).
  * p
- * This method is the same as [EMAIL PROTECTED] #setLength(0)} and is 
provided to match the
+ * This method is the same as [EMAIL PROTECTED] #setLength(int)} and is 
provided to match the
  * API of Collections.
  */
 public void clear() {
@@ -221,9 +226,10 @@
  * p
  * This method is the same as checking [EMAIL PROTECTED] #length()} and is 
provided to match the
  * API of Collections.
+ * @return codetrue/code if the size is code0/code.
  */
 public boolean isEmpty() {
-return (size == 0);
+return size == 0;
 }
 
 //---
@@ -324,7 +330,6 @@
 /**
  * Appends the text representing codenull/code to the string builder.
  *
- * @param obj  the object to append
  * @return this, to enable chaining
  */
 public StrBuilder appendNull() {
@@ -491,7 +496,7 @@
 /**
  * Appends a char value to the 

Re: [logging] 1.0.4 incorrectly published to java-repository

2005-04-11 Thread robert burrell donkin
hi brett

thanks for the heads up

i've updated the POM and the md5 but feel free to fix if i've made any
mistakes.

- robert

On Tue, 2005-04-12 at 02:38 +1000, Brett Porter wrote:
 Hi,
 
 http://www.apache.org/dist/java-repository/commons-logging/poms/commons-logging-1.0.4.pom
 
 This contains currentVersion/ of 1.0.4-dev instead of 1.0.4. It has
 tripped a warning in our repository conversion/validation tool.
 
 Would someone mind correcting the file? I'm happy to do it, though
 wouldn't like to be mucking with someone else's release without checking
 first.
 
 Use of maven:scm-prepare-release/perform-release is also available if
 you'd like a tool to do these edits and deployments in future:
 http://maven.apache.org/reference/plugins/scm/releasing.html
 
 Cheers,
 Brett
 
 
 -
 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]



Maven plugins was: [httpclient] Jars in the repository

2005-04-11 Thread Arnaud HERITIER
Here is the list of updated core plugins since maven 1.0.2 was released :

Maven Ant Plugin1.9   2005-04-09 
Maven Dashboard Plugin  1.7   2005-03-05 
Maven Clover Plugin 1.8   2005-03-04 
Maven Hibernate Plug-in 1.3   2005-02-10 
Maven Site Plugin   1.6   2005-01-18 
Maven Changelog Plugin  1.7.2 2005-01-08 
Maven Gump Plug-in  2.0   2005-01-08 
Maven EAR Plugin1.6.1 2004-12-10 

Arnaud
 

 -Message d'origine-
 De : Arnaud HERITIER [mailto:[EMAIL PROTECTED] 
 Envoyé : dimanche 10 avril 2005 15:45
 À : 'Jakarta Commons Developers List'
 Objet : RE: [httpclient] Jars in the repository
 
 Hi Dion,
 
   I just published the maven-plugins site.
   You'll find the list of plugins released after maven 
 1.0.2 (7th December) in this page in some hours (depending of 
 the sync between www.apache.org and people.apache.org):
 http://maven.apache.org/reference/plugins/multichanges-report.html
 
   We didn't yet publish a new maven release with this new 
 plugins set.
   I think it'll be done with maven 1.1
 
 Arnaud
   
  
 
  -Message d'origine-
  De : Dion Gillard [mailto:[EMAIL PROTECTED] Envoyé : 
 dimanche 10 
  avril 2005 12:27 À : Jakarta Commons Developers List Objet : Re: 
  [httpclient] Jars in the repository
  
  Arnaud,
  
  is there an up to date list of released plugins for maven 
 1.0.2? Maybe 
  a bundle with the latest of each released since the 1.0.2 release?
  
  On Apr 10, 2005 7:58 PM, Arnaud HERITIER 
 [EMAIL PROTECTED] wrote:
   Hi guys,
   
   [SNIP]
   
I'll ask the maintainer of the plugin, if it is possible
  to get an
official release of it.
   
   It's done.
   You can download it (maven plugin:download
  -DartifactId=maven-ant-plugin -DgroupId=maven 
 -Dversion=1.9) and use 
  it (maven ant).
   
   From now, you can use external properties to configure the
  generated ant script (to override dependencies for example) :
   http://maven.apache.org/reference/plugins/ant/ant-settings.html
   
   If you already have an handwritten ant script, be careful
  to use the
   property 'maven.ant.generatebuild.file' to change the name of the 
   generated one
   (http://maven.apache.org/reference/plugins/ant/properties.html)
   
   We hope that this new release will help you.
   
   Do not hesitate to open issues if needed : 
   http://jira.codehaus.org/browse/MPANT
   
   Cheers,
   
   Arnaud
   
   
   
  
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: 
 [EMAIL PROTECTED]
   
   
  
  
  --
  http://www.multitask.com.au/people/dion/
  
  
 -
  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]
 




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



RE: [lang] VOTE 2.1 release

2005-04-11 Thread Gary Gregory
Hello:

I've committed some small clean ups in the text package which will not
be shipped in 2.1.

What I found while doing this is a code style inconsistency that I've
fixed locally but not committed yet. Since this involves style (religion
;-) I did not want to commit without posting here first:

Throughout [lang], some return statements are coded as the standard:

return expression;

While others are coded as with extra C-style ( and ):

return (expression);

I did not find any pattern to either style. I removed extra ( and )
in return expressions on my local store.

Is this a religious issue for some [lang]'ers out there or should I just
commit?

Thanks,
Gary

-Original Message-
From: Henri Yandell [mailto:[EMAIL PROTECTED] 
Sent: Sunday, April 10, 2005 5:54 PM
To: Jakarta Commons Developers List
Subject: [lang] VOTE 2.1 release

Proposing a vote to go ahead and release Commons Lang 2.1.

The release will pretty much match the release-candidate that is in:
http://www.apache.org/~bayard/commons-lang-2.1/

Stephen's recent defaultIfEmpty method will be included in the release.

If the vote is successful, I'll target spending next weekend
performing the release (unless anyone wants to volunteer).

[ ] +1
[ ] -1

Hen

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



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



DO NOT REPLY [Bug 34409] New: - ContextBase throws NotSerializable exception for PropertyDescriptor

2005-04-11 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=34409.
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=34409

   Summary: ContextBase throws NotSerializable exception for
PropertyDescriptor
   Product: Commons
   Version: 1.0 Final
  Platform: Other
OS/Version: other
Status: NEW
  Severity: major
  Priority: P2
 Component: chain
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


It seems ContextBase is intended to be serializable (
http://jakarta.apache.org/commons/chain/apidocs/serialized-form.html 
http://marc.10east.com/?l=jakarta-commons-userm=111323289317819w=2 ), but an
attempt to serialize a simple subclass throws the following:

java.io.NotSerializableException: java.beans.PropertyDescriptor
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
at java.util.HashMap.writeObject(HashMap.java:978)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
at
net.sourceforge.cruisecontrol.ProjectTest.testDeserialization(ProjectTest.java:371)

snip /

-- 
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 34410] New: - ConfigurationFactory auto save overwrites properties file.

2005-04-11 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=34410.
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=34410

   Summary: ConfigurationFactory auto save overwrites properties
file.
   Product: Commons
   Version: 1.1.0
  Platform: Other
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: Configuration
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


Setting a PropertiesConfiguration autoSave=true via a ConfigurationFactory can
cause the underlying properties file to be completely overwritten.

Example:

config.xml:
  ?xml version=1.0 encoding=ISO-8859-1 ?
  configuration
properties fileName=application.properties /
properties fileName=ui.properties  autoSave=true/
  /configuration

application.properties:
  application.name=Test App
  application.version = 0.01
  application.title = ${application.name} V${application.version}

ui.properties:
  ui.test=stuff here

Execute the code:
  ConfigurationFactory factory = new ConfigurationFactory();
  URL configURL = getClass().getResource(/config.xml);
  factory.setConfigurationURL(configURL);
  try {
config = factory.getConfiguration();
System.out.println(config.getString(application.title));

System.out.println(config.getString(ui.test));
config.setProperty(ui.test, will this get saved ?);
System.out.println(config.getString(ui.test));
  } catch (ConfigurationException e) {
e.printStackTrace();
  }

Program output:
12/04/2005 10:24:00
org.apache.commons.configuration.ConfigurationFactory$FileConfigurationFactory
createObject
INFO: Trying to load configuration application.properties
12/04/2005 10:24:00
org.apache.commons.configuration.ConfigurationFactory$FileConfigurationFactory
createObject
INFO: Trying to load configuration ui.properties
Test App V0.01
stuff here
will this get saved ?

After execution
---
application.properties:
  application.name=Test App
  application.version = 0.01
  application.title = ${application.name} V${application.version}

ui.properties:
  # written by PropertiesConfiguration
  # Tue Apr 12 10:24:00 EST 2005

NOTE ui.test doesn't appear with either the old value or the modified one.

-- 
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 34410] - [configuration] ConfigurationFactory auto save overwrites properties file

2005-04-11 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=34410.
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=34410


[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|ConfigurationFactory auto   |[configuration]
   |save overwrites properties  |ConfigurationFactory auto
   |file.   |save overwrites properties
   ||file




-- 
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: r161002 - in jakarta/commons/proper/httpclient/branches/HTTPCLIENT_2_0_BRANCH/xdocs: downloads.xml features.xml news.xml status.xml

2005-04-11 Thread mbecke
Author: mbecke
Date: Mon Apr 11 18:58:44 2005
New Revision: 161002

URL: http://svn.apache.org/viewcvs?view=revrev=161002
Log:
Changes for 3.0rc2.
Changed link to nogoop feature comparison at the request of Francis Upton 
francis -at- oaklandsoftware.com. 

Modified:

jakarta/commons/proper/httpclient/branches/HTTPCLIENT_2_0_BRANCH/xdocs/downloads.xml

jakarta/commons/proper/httpclient/branches/HTTPCLIENT_2_0_BRANCH/xdocs/features.xml

jakarta/commons/proper/httpclient/branches/HTTPCLIENT_2_0_BRANCH/xdocs/news.xml

jakarta/commons/proper/httpclient/branches/HTTPCLIENT_2_0_BRANCH/xdocs/status.xml

Modified: 
jakarta/commons/proper/httpclient/branches/HTTPCLIENT_2_0_BRANCH/xdocs/downloads.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/branches/HTTPCLIENT_2_0_BRANCH/xdocs/downloads.xml?view=diffr1=161001r2=161002
==
--- 
jakarta/commons/proper/httpclient/branches/HTTPCLIENT_2_0_BRANCH/xdocs/downloads.xml
 (original)
+++ 
jakarta/commons/proper/httpclient/branches/HTTPCLIENT_2_0_BRANCH/xdocs/downloads.xml
 Mon Apr 11 18:58:44 2005
@@ -14,16 +14,14 @@
  The following releases are avilable for download:
/p
ul
- li3.0-RC1 - 06 February 2004 - 
-a href=http://jakarta.apache.org/site/binindex.cgi;Binary/a 
and 
-a 
href=http://jakarta.apache.org/site/sourceindex.cgi;Source/a - a 
+ li3.0-RC2 - 09 April 2005 - 
+a 
href=http://jakarta.apache.org/site/downloads/downloads_commons-httpclient.cgi;Download/a
 - a 
  
href=http://www.apache.org/dist/jakarta/commons/httpclient/RELEASE-NOTES.txt;
  Release notes/a/li
/ul
ul
  li2.0.2 - 11 October 2004 - 
-a href=http://jakarta.apache.org/site/binindex.cgi;Binary/a 
and 
-a 
href=http://jakarta.apache.org/site/sourceindex.cgi;Source/a - a 
+a 
href=http://jakarta.apache.org/site/downloads/downloads_commons-httpclient.cgi;Download/a
 - a 
  
href=http://www.apache.org/dist/jakarta/commons/httpclient/RELEASE-NOTES-2.0.txt;
  Release notes/a/li
/ul
@@ -53,7 +51,7 @@
  source![CDATA[
 dependency
 idcommons-httpclient/id
-version3.0-rc1/version
+version3.0-rc2/version
 urlhttp://jakarta.apache.org/commons/httpclient//url
 /dependency
  ]]/source

Modified: 
jakarta/commons/proper/httpclient/branches/HTTPCLIENT_2_0_BRANCH/xdocs/features.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/branches/HTTPCLIENT_2_0_BRANCH/xdocs/features.xml?view=diffr1=161001r2=161002
==
--- 
jakarta/commons/proper/httpclient/branches/HTTPCLIENT_2_0_BRANCH/xdocs/features.xml
 (original)
+++ 
jakarta/commons/proper/httpclient/branches/HTTPCLIENT_2_0_BRANCH/xdocs/features.xml
 Mon Apr 11 18:58:44 2005
@@ -6,7 +6,7 @@
 author email=commons-dev@jakarta.apache.orgCommons Documentation 
Team/author
 author email=[EMAIL PROTECTED]Rodney Waldhoff/author
 author email=[EMAIL PROTECTED]Jeff Dever/author
-revision$Id: features.xml,v 1.10.2.2 2003/10/12 04:02:20 mbecke Exp 
$/revision
+revision$Id$/revision
   /properties
 
   body
@@ -96,8 +96,8 @@
 client side implementations written in Java.  The jdk has the 
HttpUrlConnection
 which is limited and in many ways flawed.  This is one reason why 
Jakarta, and
 others free and commercial vendors, have implemented independant HTTP 
clients.
-To help you choose the right solution, one of those commercial 
vendors, nogoop, has a fair 
-a href=http://www.nogoop.com/product_16.html#compare;product 
comparison/a./p  
+To help you choose the right solution, one of those commercial 
vendors, Oakland Software, has a fair 
+a 
href=http://www.oaklandsoftware.com/product_16.html#compare;product 
comparison/a./p  
 /section
 
   /body

Modified: 
jakarta/commons/proper/httpclient/branches/HTTPCLIENT_2_0_BRANCH/xdocs/news.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/branches/HTTPCLIENT_2_0_BRANCH/xdocs/news.xml?view=diffr1=161001r2=161002
==
--- 
jakarta/commons/proper/httpclient/branches/HTTPCLIENT_2_0_BRANCH/xdocs/news.xml 
(original)
+++ 
jakarta/commons/proper/httpclient/branches/HTTPCLIENT_2_0_BRANCH/xdocs/news.xml 
Mon Apr 11 18:58:44 2005
@@ -10,6 +10,19 @@
   /properties
 
   body
+section name=09 April 2005 - HttpClient 3.0 RC2 released
+p
+The Jakarta Commons HttpClient project is pleased to announce 
the second release
+candidate of HttpClient 3.0. Several minor issues have been 
fixed since RC1 and 
+HttpClient 3.0 has made significant progess towards the final 
release. We 

svn commit: r161003 - jakarta/commons/proper/httpclient/trunk/xdocs/features.xml

2005-04-11 Thread mbecke
Author: mbecke
Date: Mon Apr 11 18:59:12 2005
New Revision: 161003

URL: http://svn.apache.org/viewcvs?view=revrev=161003
Log:
Changed link to nogoop feature comparison at the request of Francis Upton 
francis -at- oaklandsoftware.com.

Modified:
jakarta/commons/proper/httpclient/trunk/xdocs/features.xml

Modified: jakarta/commons/proper/httpclient/trunk/xdocs/features.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/xdocs/features.xml?view=diffr1=161002r2=161003
==
--- jakarta/commons/proper/httpclient/trunk/xdocs/features.xml (original)
+++ jakarta/commons/proper/httpclient/trunk/xdocs/features.xml Mon Apr 11 
18:59:12 2005
@@ -103,12 +103,8 @@
 client side implementations written in Java.  The jdk has the 
HttpUrlConnection
 which is limited and in many ways flawed.  This is one reason why 
Jakarta, and
 others free and commercial vendors, have implemented independant HTTP 
clients.
-To help you choose the right solution, one of those commercial 
vendors, nogoop, has a fair 
-a href=http://www.nogoop.com/product_16.html#compare;product 
comparison/a,
-noting the following recent additions to HttpClient:
-ul
-   liidle connection timeout/li
-/ul
+To help you choose the right solution, one of those commercial 
vendors, Oakland Software, has a fair 
+a 
href=http://www.oaklandsoftware.com/product_16.html#compare;product 
comparison/a.
   /p  
 /section
 



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



DO NOT REPLY [Bug 34393] - Bug in FileUploadBase

2005-04-11 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=34393.
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=34393


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE




--- Additional Comments From [EMAIL PROTECTED]  2005-04-12 05:27 ---
It's not the role of FileUpload to interpret the result of parsing an uploaded 
request; its role is only to pass on to the client the results obtained.

*** This bug has been marked as a duplicate of 17794 ***

-- 
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 17794] - FileItem.getName() returns filename plus path from Windows/IE

2005-04-11 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=17794.
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=17794


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Additional Comments From [EMAIL PROTECTED]  2005-04-12 05:27 ---
*** Bug 34393 has been marked as a duplicate of this 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]



Re: [lang] VOTE 2.1 release

2005-04-11 Thread Henri Yandell
-1 to return (foo) :)

You get my vote to commit. I'm pretty sure the general agreement is to
not have brackets on return statements, but I'm unsure if it's some
contributors or some committers who like the brackets.

Hen

On Apr 11, 2005 6:56 PM, Gary Gregory [EMAIL PROTECTED] wrote:
 Hello:
 
 I've committed some small clean ups in the text package which will not
 be shipped in 2.1.
 
 What I found while doing this is a code style inconsistency that I've
 fixed locally but not committed yet. Since this involves style (religion
 ;-) I did not want to commit without posting here first:
 
 Throughout [lang], some return statements are coded as the standard:
 
 return expression;
 
 While others are coded as with extra C-style ( and ):
 
 return (expression);
 
 I did not find any pattern to either style. I removed extra ( and )
 in return expressions on my local store.
 
 Is this a religious issue for some [lang]'ers out there or should I just
 commit?
 
 Thanks,
 Gary
 
 -Original Message-
 From: Henri Yandell [mailto:[EMAIL PROTECTED]
 Sent: Sunday, April 10, 2005 5:54 PM
 To: Jakarta Commons Developers List
 Subject: [lang] VOTE 2.1 release
 
 Proposing a vote to go ahead and release Commons Lang 2.1.
 
 The release will pretty much match the release-candidate that is in:
 http://www.apache.org/~bayard/commons-lang-2.1/
 
 Stephen's recent defaultIfEmpty method will be included in the release.
 
 If the vote is successful, I'll target spending next weekend
 performing the release (unless anyone wants to volunteer).
 
 [ ] +1
 [ ] -1
 
 Hen
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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