[
https://issues.jboss.org/browse/JBDS-3826?page=com.atlassian.jira.plugin....
]
Jan Richter commented on JBDS-3826:
-----------------------------------
It looks like we might need to be even more restrictive about such characters. Now cygwin
is failing namely because of parentheses (), braces [], ampersand &, or single quotes
'. Powershell seems to be trying to interpret these symbols.
{noformat}
Uncaught (in promise) Error: Command failed: powershell -Command "$p = Start-Process
-WindowStyle hidden -PassThru -wait -FilePath
'c:\DevelopmentSuite!@$^&()_=+-,.'{}[]\cygwin\setup-x86_64.exe'
-ArgumentList '--no-admin --quiet-mode --only-site -l
c:\DevelopmentSuite!@$^&()_=+-,.'{}[]\cygwin\packages --site
http://mirrors.xmission.com/cygwin --root
c:\DevelopmentSuite!@$^&()_=+-,.'{}[]\cygwin --categories Base --packages
openssh,rsync'; exit $p.ExitCode;"
At line:1 char:103
+ ... assThru -wait -FilePath 'c:\DevelopmentSuite!@$^&()_=+-,.'{}[]\cygwin
...
+ ~
Array index expression is missing or not valid.
At line:1 char:207
+ ... no-admin --quiet-mode --only-site -l c:\DevelopmentSuite!@$^&()_=+-,. ...
+ ~
The ampersand (&) character is not allowed. The & operator is reserved for
future use; wrap an ampersand in double quotation marks ("&") to pass it as
part of a string.
At line:1 char:209
+ ... o-admin --quiet-mode --only-site -l c:\DevelopmentSuite!@$^&()_=+-,.' ...
+ ~
An expression was expected after '('.
At line:1 char:323
+ ...
ission.com/cygwin --root c:\DevelopmentSuite!@$^&()_=+-,.'{}[]\cygwin ...
+ ~
Array index expression is missing or not valid.
At line:1 char:374
+ ... cygwin --categories Base --packages openssh,rsync'; exit $p.ExitCode;
+ ~~~~~~~~~~~~~~~~~~~~
The string is missing the terminator: '.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordExc
eption
+ FullyQualifiedErrorId : MissingArrayIndexExpression
{noformat}
Some components fail with folder name containing non-standard
characters
------------------------------------------------------------------------
Key: JBDS-3826
URL:
https://issues.jboss.org/browse/JBDS-3826
Project: Red Hat JBoss Developer Studio (devstudio)
Issue Type: Bug
Components: platform-installer
Affects Versions: 9.1.0.CR1
Reporter: Jan Richter
Assignee: Denis Golovin
Labels: havoc
Fix For: 10.4.0.AM2
I have tried installing into this folder:
{noformat}c:\Developer~~!@#$@#@++ŇNˇaˇAsdďf¨¨°Platform{noformat}
And JBDS installation failed immediately, the install.log was not very helpful.
{noformat}Fri, 15 Apr 2016 11:49:50 GMT-INFO: jbds - Execute
c:\Developer~~!@#$@#@++ŇNˇaˇAsdďf¨¨°Platform\jdk8\bin\java.exe
-DTRACE=true,-jar,C:\Users\jbossqa\AppData\Local\Temp\7zS7105.tmp\jbds.jar,C:\Users\jbossqa\AppData\Local\Temp\jbds-autoinstall.xml
Fri, 15 Apr 2016 11:49:52 GMT-ERROR: jbds - Error: Command failed:
c:\Developer~~!@#$@#@++ŇNˇaˇAsdďf¨¨°Platform\jdk8\bin\java.exe -DTRACE=true -jar
C:\Users\jbossqa\AppData\Local\Temp\7zS7105.tmp\jbds.jar
C:\Users\jbossqa\AppData\Local\Temp\jbds-autoinstall.xml
Fri, 15 Apr 2016 11:49:52 GMT-ERROR: jbds -
Fri, 15 Apr 2016 11:49:52 GMT-ERROR: jbds failed to install: Error: Command failed:
c:\Developer~~!@#$@#@++ŇNˇaˇAsdďf¨¨°Platform\jdk8\bin\java.exe -DTRACE=true -jar
C:\Users\jbossqa\AppData\Local\Temp\7zS7105.tmp\jbds.jar
C:\Users\jbossqa\AppData\Local\Temp\jbds-autoinstall.xml
{noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)