dev@glassfish.java.net

Re: how to create a domain with a space in the path

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Mon, 08 Sep 2008 23:37:50 -0700

Siraj Ghaffar wrote:
> Bill Shannon wrote:
>> Siraj Ghaffar wrote:
>>>
>>> create-domain allows spaces only on Windows.
>>
>> Why?
>>
>> How did we mis-implement this so that it only works correctly on Windows?
> Not sure - admin CLI code in V2 (and older versions) has a specific
> check for the --domaindir option to allow spaces in directory name only
> on Windows. The V3 code is carried over from V2. I'll file an issue.

Who thought that this was a bug that should only be fixed on Windows?

And it's not just that the fix happens to only work on Windows, but
rather that the fix is coded so that it purposely remains broken on
other platforms but is fixed on Windows?!?!?

I mean really, what were they thinking?!?