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





------- Additional Comments From [EMAIL PROTECTED]  2005-04-19 10:41 -------
Obviously there is no perfect solution that fits all needs and makes everybody
happy. This may in part be due to the fact that the basepath/filename form we
currently use is no good representation for all suported possibilities (e.g.
resources from classpath).

Okay, the main problem is that the save() method sometimes uses a different file
than the one that was originally loaded, right?. I think it should be possible
to solve this without modifying existing getter and setter methods: By
introducing a new sourceURL property. This property is null until a load()
method is called or a new configuration is saved for the first time. Then the
final URL is resolved based on the setters that have been called before. From
now on save() uses this URL to store the properties. If file name or path setter
methods are called again later, the sourceURL property is reset to null.

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

Reply via email to