[
https://issues.jboss.org/browse/FORGE-1033?page=com.atlassian.jira.plugin...
]
Vineet Reynolds updated FORGE-1033:
-----------------------------------
Description:
Coming from the fix for FORGE-93, it is desirable to document the path specification for
files and directories in both Linux (and Mac OS X), and Windows. In Linux, {{'/'}}
is the only allowed separator, whereas in Windows, both {{'\'}} and
{{'/'}} are allowed.
This obviously has an impact on the FSH script compatibility across these OSes. On the
other hand, constraining the directory separator to {{'/'}} for Windows, to
achieve commonality would probably work against usability as well as result in unusable
paths in Windows.
Additionally, escape sequences need to be determined, and whether paths need to be quoted
to handle whitespaces etc.
Discuss.
was:
Coming from the fix for FORGE-93, it is desirable to document the path specification for
files and directories in both Linux (and Mac OS X), and Windows. In Linux, {{'/'}}
is the only allowed separator, whereas in Windows, both {{'\'}} and
{{'/'}} are allowed.
This obviously has an impact on the FSH script compatibility across these OSes. On the
other hand, constraining the directory separator to {{'/'}} for Windows, to
achieve commonality would probably work against usability as well as result in unusable
paths in Windows.
Discuss.
Review the path spec for shell file and directory paths on Linux and
Windows
----------------------------------------------------------------------------
Key: FORGE-1033
URL:
https://issues.jboss.org/browse/FORGE-1033
Project: Forge
Issue Type: Task
Components: UI - Shell
Affects Versions: 1.3.3.Final
Reporter: Vineet Reynolds
Fix For: 2.x Future
Coming from the fix for FORGE-93, it is desirable to document the path specification for
files and directories in both Linux (and Mac OS X), and Windows. In Linux, {{'/'}}
is the only allowed separator, whereas in Windows, both {{'\'}} and
{{'/'}} are allowed.
This obviously has an impact on the FSH script compatibility across these OSes. On the
other hand, constraining the directory separator to {{'/'}} for Windows, to
achieve commonality would probably work against usability as well as result in unusable
paths in Windows.
Additionally, escape sequences need to be determined, and whether paths need to be quoted
to handle whitespaces etc.
Discuss.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira