On Feb 28, 2007, at 10:29 AM, Dain Sundstrom wrote:
On Feb 28, 2007, at 12:38 AM, David Blevins wrote:
First, it seems like a bug in xbean-reflect's File property editor
(haven't looked too hard yet). We're supplying the string "C:/
temp" and it's giving back "/private/tmp/openejb3/container/
openejb-core/C:/temp". So clearly it's calling new File
(string).getAbsoulteFile() and returning that. Something to look
into fixing as I don't think it's xbean reflect's place to be
resolving relative paths.
I wrote that code, but I think you are correct. If the receiving
bean wants an absolute path, it can make the calls itself.
I just ran into this again. Fixed it in xbean-reflect and checked it
in. We just did an xbean-reflect release so we might want to create
a build of that and throw it in our repo for our 3.0 release.
-David