Skip to content

Print SystemInfo in ide status #1153

@hohwille

Description

@hohwille

As a IDEasy maintainer, I want ide status to print the OS info (from SystemInfo) so that I can use it for debugging.

Current behaviour

$ ide status
IDE_ROOT is set to D:\projects
IDE_HOME is set to D:\projects\IDEasy
You are online.
Your settings are up-to-date.
Your version of IDEasy is 2025.03.001 which is the latest released version.

Expected behaviour

$ ide status
IDE_ROOT is set to D:\projects
IDE_HOME is set to D:\projects\IDEasy
You are online.
Your settings are up-to-date.
Your version of IDEasy is 2025.03.001 which is the latest released version.
Your operating system is windows(10.0)@x64 [Windows 11@amd64]

NOTE: Windows is doing some hacks to establish compatibility. Therefore os.version is 10.0 on Windows 11. The output might therefore be a little confusing but it is «ideasy.os»(«os.version»)@«ideasy.arch» [«os.name»@«os.arch»] so «os.*» are the raw values from system properties and «ideasy.*» is the information we derive from that.

Hint

Suggested code snippet:

systemInfo.getOs() + "(" + systemInfo.getOsVersion() + ")@" + systemInfo.getArchitecture() + " [" + systemInfo.getOsName() + "@"
        + systemInfo.getArchitectureName() + "]"

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requeststatusStatusCommandlet (ide status)systemOS-specific tweaks found in the system folder.

Projects

Status

✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions