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=30858>.
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=30858

[configuration] PropertyConfiguration.save() does not take basePath into account





------- Additional Comments From [EMAIL PROTECTED]  2004-08-27 12:22 -------
The basePath can indeed contain a full URL, and not necessarily a file URL. Only
removing the file: prefix will probably not work in all constellations (just
consider that in windows environments the backslash is used as path separator).

I would suggest to implement the save() method the same way as the load()
method, i.e. obtaining the URL for storing from ConfigurationUtils (which takes
the base path into account and can deal with both absolute and relative URLs)
and then opening an OutputStream on this URL.

Oliver

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

Reply via email to