geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dillon (JIRA)" <>
Subject [jira] Commented: (GSHELL-117) GShell doesn't support "\" in the path in Widnows platform
Date Thu, 19 Jun 2008 18:39:45 GMT


Jason Dillon commented on GSHELL-117:

This should only be a problem when running the interactive shell, which isn't really ready
for production use yet.

But from the platform command line this should work fine:

gsh.bat deploy/deploy H:\FTP_ROOT\Build\cviewer.war

The above does not invoke the parser, as the tokens are already split up into a String[] for
the main() invoke.

However, using the -c flag would not:

gsh.bat -c "deploy/deploy H:\FTP_ROOT\Build\cviewer.war"

Because this will cause the parser to be used to tokenize the input.

> GShell doesn't support "\" in the path in Widnows platform
> ----------------------------------------------------------
>                 Key: GSHELL-117
>                 URL:
>             Project: GShell
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: CLI
>    Affects Versions: 1.0-alpha-1, 1.0-alpha-2
>         Environment: Windows
>            Reporter: YunFeng Ma
>            Assignee: Jason Dillon
>             Fix For: 1.0-alpha-3
> Run the following command and get errors in Windows
> {noformat}
> deploy/deploy H:\FTP_ROOT\Build\cviewer.war
> ERROR TokenMgrError: Lexical error at line 1, column 18.  Encountered: "F" (70), after
: "\\"
> {noformat}
> It works fine for double slash:
> deploy/deploy H:\\FTP_ROOT\\Build\\cviewer.war
> It's not convenience for windows users.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message