[jbosstools-issues] [JBoss JIRA] (JBDS-3826) Some components fail with folder name containing non-standard characters
Denis Golovin (JIRA)
issues at jboss.org
Wed Mar 22 15:12:00 EDT 2017
[ https://issues.jboss.org/browse/JBDS-3826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Denis Golovin resolved JBDS-3826.
---------------------------------
Resolution: Done
I've fixed both issues. Below is explanation what was the problem with each installer:
1. In DevStudio installer generated .bat file to run eclipse p2-director when installing devstudio out of p2-repo embedded into installer.jar. '%' is a special symbol and gets replaced to current .bat file name, so it leads to error in DevStudio installer. Also # in path causes p2-director to fail, because it cannot find framework path
2. Cygwin 'layered' powershell command cannot handle '&' in executable file name
(1) is fixed by banning % and # chars from target directory.
(2) is fixed by enclosing file name into "'"
> 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)
More information about the jbosstools-issues
mailing list