You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Pascal Schumacher (JIRA)" <ji...@apache.org> on 2016/05/22 11:59:12 UTC
[jira] [Commented] (GROOVY-7824) Windows Installer sets Search Path
Incorrectly
[ https://issues.apache.org/jira/browse/GROOVY-7824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15295534#comment-15295534 ]
Pascal Schumacher commented on GROOVY-7824:
-------------------------------------------
[~keegan] Maybe you can take a look at this?
> Windows Installer sets Search Path Incorrectly
> ----------------------------------------------
>
> Key: GROOVY-7824
> URL: https://issues.apache.org/jira/browse/GROOVY-7824
> Project: Groovy
> Issue Type: Bug
> Components: windows installer
> Affects Versions: 2.4.6
> Environment: Windows 10 Pro x64
> Reporter: Dennis E. Hamilton
>
> When addition to the User environment is selected during the Windows install (rather than the pre-checked System case), the GROOVY_HOME variable is set. However, the PATH addition is %GROOVY_HOME%\bin and that does not work with either cmd.exe or PowerShell. Batch variables are not recognized and processed in the PATH list.
> The following abbreviated cmd.exe capture demonstrates what happens:
> D:\OneDrive\VSProjects>groovy -v
> 'groovy' is not recognized as an internal or external command,
> operable program or batch file.
> D:\OneDrive\VSProjects>set
> [ ... abbreviated ... ]
> GROOVY_HOME=C:\PROGRA~2\Groovy\GROOVY~1.6
> HOMEDRIVE=C:
> HOMEPATH=\Users\orcmi_000
> LOCALAPPDATA=C:\Users\orcmi_000\AppData\Local
> LOGONSERVER=\\MicrosoftAccount
> MYNODE=C:\Program Files\nodejs\
> NUMBER_OF_PROCESSORS=8
> OS=Windows_NT
> Path=C:\Users\orcmi_000\AppData\Roaming\npm;
> [ ... much abbreviation ... ]
> D:\crea\Microsoft VS Code\bin;%GROOVY_HOME%\bin
> [**** THE USE OF %GROOVY_HOME% here is not going to work ****]
>
> PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.groovy;.gy
> PROCESSOR_ARCHITECTURE=AMD64
> PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
> PROCESSOR_LEVEL=6
> PROCESSOR_REVISION=3a09
> ProgramData=C:\ProgramData
> ProgramFiles=C:\Program Files
> ProgramFiles(x86)=C:\Program Files (x86)
> ProgramW6432=C:\Program Files
> [ ... abbreviated ...]
> D:\OneDrive\VSProjects>%GROOVY_HOME%\bin\groovy -v
> Groovy Version: 2.4.6 JVM: 1.7.0_55 Vendor: Oracle Corporation OS: Windows 8
> D:\OneDrive\VSProjects>
> *** Neither CMD.EXE nor PowerShell will process batch variables in the
> *** PATH list.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)