arch@glassfish.java.net

Re: [arch] host name independence

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Fri, 25 Jul 2008 16:43:12 -0700

Byron,

Fair enough it seems--where the platform itself makes the paths
incompatible there is nothing we can do. However, from what I'm
understanding, we at least factor out the base path, so this should
not be an issue if reasonable care is taken everywhere else.

Lloyd


On Jul 25, 2008, at 4:41 PM, Byron Nevins wrote:

> I don't know but I imagine it would be a problem. The ":" vs ";" is
> classpaths would be an issue.
> Also we tend to use backslashes in Windows for no valid reason.
> Windows almost never requires backslashes.
>
> Lloyd Chambers wrote:
>> Byron,
>>
>> Is this true even when moving from a Windows machine to unix and
>> vice versa? (Eg forward slash vs backslash) Even for cases where
>> a user enters a path? (are there such cases?)
>>
>> Lloyd
>>
>>
>>
>> On Jul 25, 2008, at 2:48 PM, Bill Shannon wrote:
>>
>>> Byron Nevins wrote:
>>>> backup-restore is pretty dumb. It knows just enough to set file
>>>> permissions properly (Java zip files lose all file properties)
>>>> The (local) hostname is set to a System Property by default so
>>>> that takes care of itself.
>>>> All the paths that WE put in domain.xml are relative to the
>>>> instance root -- which is determined at runtime.
>>>> Yes you should be able to copy a domain from one machine to
>>>> another.
>>>
>>> Great!
>>>
>>> Let's make sure that that remains true...
>>>
>>
>
> --
> Byron Nevins Work 408-276-4089, Home 650-359-1290, Cell 650-784-4123
> - Sun Microsystems, Inc.
>