Re: RFR: 8355697: Create windows devkit on wsl and msys2 [v2]

2025-04-29 Thread kuaiwei
On Mon, 28 Apr 2025 13:47:47 GMT, Erik Joelsson wrote: >> kuaiwei has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Get SDK_INSTALL_DIR from enviroment variable > > Verified that it still works in Cygwin on my machine. Looks good. @erikj7

Re: RFR: 8355697: Create windows devkit on wsl and msys2 [v3]

2025-04-29 Thread duke
On Tue, 29 Apr 2025 03:38:33 GMT, kuaiwei wrote: >> The patch fix error when creating devkit on wsl/msys2 . >> * Msys2 can be supported like cygwin >> * In wsl, it can not test path name in windows format, like `if [ -d >> "d:/VisualStuio"]` . The path must be converted as linux style before >>

Re: RFR: 8355697: Create windows devkit on wsl and msys2 [v3]

2025-04-28 Thread Magnus Ihse Bursie
On Tue, 29 Apr 2025 03:38:33 GMT, kuaiwei wrote: >> The patch fix error when creating devkit on wsl/msys2 . >> * Msys2 can be supported like cygwin >> * In wsl, it can not test path name in windows format, like `if [ -d >> "d:/VisualStuio"]` . The path must be converted as linux style before >>

Re: RFR: 8355697: Create windows devkit on wsl and msys2 [v2]

2025-04-28 Thread kuaiwei
On Mon, 28 Apr 2025 19:30:23 GMT, Magnus Ihse Bursie wrote: >> kuaiwei has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Get SDK_INSTALL_DIR from enviroment variable > > make/devkit/createWindowsDevkit.sh line 69: > >> 67: elif test "x$IS

Re: RFR: 8355697: Create windows devkit on wsl and msys2 [v3]

2025-04-28 Thread kuaiwei
> The patch fix error when creating devkit on wsl/msys2 . > * Msys2 can be supported like cygwin > * In wsl, it can not test path name in windows format, like `if [ -d > "d:/VisualStuio"]` . The path must be converted as linux style before testing. > * In msys2, `cmd.exe /c` doesn't work because "

Re: RFR: 8355697: Create windows devkit on wsl and msys2 [v2]

2025-04-28 Thread kuaiwei
On Mon, 28 Apr 2025 16:19:09 GMT, Frederic Thevenet wrote: > **Please note that this is not a formal review, as I am not an OpenJDK > reviewer.** > > `createWindowsDevkit.sh` will fail to run when MSYS2 is started under any > other environment[1] other than "MSYS" (i.e. `MINGW64`, `UCRT64`, `

Re: RFR: 8355697: Create windows devkit on wsl and msys2 [v2]

2025-04-28 Thread Magnus Ihse Bursie
On Mon, 28 Apr 2025 13:34:29 GMT, kuaiwei wrote: >> The patch fix error when creating devkit on wsl/msys2 . >> * Msys2 can be supported like cygwin >> * In wsl, it can not test path name in windows format, like `if [ -d >> "d:/VisualStuio"]` . The path must be converted as linux style before >>

Re: RFR: 8355697: Create windows devkit on wsl and msys2 [v2]

2025-04-28 Thread Frederic Thevenet
On Mon, 28 Apr 2025 13:34:29 GMT, kuaiwei wrote: >> The patch fix error when creating devkit on wsl/msys2 . >> * Msys2 can be supported like cygwin >> * In wsl, it can not test path name in windows format, like `if [ -d >> "d:/VisualStuio"]` . The path must be converted as linux style before >>

Re: RFR: 8355697: Create windows devkit on wsl and msys2 [v2]

2025-04-28 Thread Erik Joelsson
On Mon, 28 Apr 2025 13:34:29 GMT, kuaiwei wrote: >> The patch fix error when creating devkit on wsl/msys2 . >> * Msys2 can be supported like cygwin >> * In wsl, it can not test path name in windows format, like `if [ -d >> "d:/VisualStuio"]` . The path must be converted as linux style before >>

Re: RFR: 8355697: Create windows devkit on wsl and msys2 [v2]

2025-04-28 Thread kuaiwei
> The patch fix error when creating devkit on wsl/msys2 . > * Msys2 can be supported like cygwin > * In wsl, it can not test path name in windows format, like `if [ -d > "d:/VisualStuio"]` . The path must be converted as linux style before testing. > * In msys2, `cmd.exe /c` doesn't work because "

RFR: 8355697: Create windows devkit on wsl and msys2

2025-04-28 Thread kuaiwei
The patch fix error when creating devkit on wsl/msys2 . * Msys2 can be supported like cygwin * In wsl, it can not test path name in windows format, like `d:/VisualStuio` . The path must be converted as linux style. * In msys2, `cmd.exe /c` doesn't work because "/c" is converted as "c:", it can be