geronimo-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/GSHELL-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606499#action_12606499
] 

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:

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

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:

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

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: https://issues.apache.org/jira/browse/GSHELL-117
>             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.


Mime
View raw message