I think we probably will have this pattern in a lot of places, such that perhaps we need to put it in one place. I had thought about doing that in NormalizedFile, but then we'd need to pass in IRuby...maybe not a big deal, but a concern since the NormalizedFile was originally just supposed to handl
So do you think we will have that general pattern everywhere
we create a NormalizedFile?
NormalizedFil = file = new NormalizedFile(...)
if (!file.isAbsolute())
file = new NormalizedFile(...)
Or is there some consideration for this where it is not always the
case?
-Tom
On Tue, 28 Mar 2006
I'm sure there will be more of these as we go on. The CWD issue is just one of those things in Java we're going to have to deal with. We simply can't set user.dir since we intend for JRuby to run multiple instances in the same VM, and frequently to run in controlled environments like servlet engine