admin@glassfish.java.net

Re: Possible change to app versioning proposal - punctuation

From: Tim Quinn <tim.quinn_at_oracle.com>
Date: Tue, 27 Apr 2010 15:33:36 -0500

On Apr 27, 2010, at 2:22 PM, Byron Nevins wrote:

> Windows won't be bothered with the colon (drive delimiter)?
How do you see Windows objecting?

The colon will be embedded in a string that is passed, as all args
are, through the asadmin.bat script to Java.

I tried a quick experiment with asadmin on Windows, trying

asadmin undeploy junk:4

even though the version of GlassFish I have does not know about
versions. The error message reported that junk:4 is not a deployed
application.

So that suggests that the argument is being passed the way we want
(asadmin.bat uses %* to pass all the script's arguments on to Java).

GlassFish would not be treating the name as a file path, if that's
what had you concerned.

Or was there something else?

- Tim

>
> On 4/27/2010 8:24 AM, Tim Quinn wrote:
>> A possible enhancement for GlassFish 3.1 is to support application
>> versioning (http://wiki.glassfish.java.net/Wiki.jsp?page=ApplicationVersioning
>> ).
>>
>> The proposal so far has used the semi-colon (';') as the separator
>> between the application name and the version.
>>
>> We are considering changing this to the colon (':') which would
>> give us two advantages:
>>
>> 1. It is much closer to the maven scheme which uses colons as
>> separators in its coordinate strings.
>>
>> 2. Using the semi-colon would require users to enclose the
>> name;version string in single quotes on some OS shells to prevent
>> the shell from interpreting the semi-colon as a separator between
>> two OS commands.
>>
>> Please let us know if you see other advantages or disadvantages of
>> the change.
>>
>> - Tim
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>
>
> --
> Byron Nevins - Oracle Corporation
> Home: 650-359-1290
> Cell: 650-784-4123
> Sierra: 209-295-2188
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>