]
George Gastaldi closed FORGE-1033.
----------------------------------
Fix Version/s: (was: 2.x Future)
Resolution: Out of Date
Forge 2 should not have this problem, given that we change the impl to Aesh
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
Security Level: Public(Everyone can see)
Components: UI - Shell
Affects Versions: 1.3.3.Final
Reporter: Vineet Reynolds
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 (for escaping whitespaces and other
characters that can be interpreted differently by the shell), and whether paths need to be
quoted to handle whitespaces etc. Autocompletion of inputs should ideally work in both of
these cases.
Discuss.