Opened 6 years ago
Closed 5 years ago
#172 closed defect (fixed)
Smalltalk/X fails to start on Windows when launcher script is run from different directory
Reported by: | Jan Vrany | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 8.0.0 |
Component: | default | Keywords: | |
Cc: | Also affects CVS HEAD (eXept version): | no |
Description
Steps to reproduce:
- Open terminal, in build tree go to
build\stx
directory - Run Smallltak/X from there:
projects\smalltalk\smalltalk.bat --eval "Logger info: 'KUK'"
Observed behavior
Smalltalk/X IDE does not start, smalltalk.bat
says:
jv@WIN7 H:\Projects\SmalltalkX\sources\stx_8_0_0_x32_lin\build\stx > projects\smalltalk\smalltalk.bat --eval "Logger info: 'KUK'" The system cannot find the file smalltalk.cfg. "[INFO] PowerShell detected: ->TRUE<-. "[INFO] The latest latest_powershell_version found: 2.0." "[INFO] With the runtime being: v2.0.50727." "[ERROR] No message defined." "[ERROR] No message defined." Press any key to continue . . .
--
I have not tested but I think this also affects "release" builds. This must be tested before closing this issue!
Also, this makes me think whether the launcher script should look for it's configuration file also on %USERPROFILE%\.smalltalk\smalltalk.cfg
. It kind of make sense to ma to configure the behavior once for all different installations ans build trees I'm using (for example, when working on different features/projects).
Attachments (2)
Change History (6)
Changed 6 years ago by
comment:1 Changed 6 years ago by
I see the issue was that the path variable was missing from the whole configuration filename. The patch should fix the issue.
comment:2 Changed 6 years ago by
Status: | new → testing |
---|
Changed 6 years ago by
Attachment: | smalltalk_fix_1_of_1_rev_1e9a3f3d494a_Issue___172_StX_fails_to_start_on_Windows_when_launcher_script_is_run_from_different_directory.patch added |
---|
fixing configuration file path
comment:4 Changed 5 years ago by
Resolution: | → fixed |
---|---|
Status: | testing → closed |
fixing configuration file path