Hello Ivy Team, I`m wandering what is the best practice(if any) to check what is the operating system where Ivy is currently running (i.e. Windows 10, Windows Server 2012, Linux, MacOS, etc..) Best Regards, Yordan Yunchov asked 02.06.2017 at 03:11 Stelt0 |
Hi There is no Axon.ivy Public API for that. Internally we use the class org.apache.commons.lang3.SystemUtils from the apache commons lang library Regards Reto Weiss, Axon.ivy BPM Suite Support answered 02.06.2017 at 04:26 Reto Weiss ♦♦ |
Hey Reto, Thanks for the hint ! I found that this library is using internally the System class of Java. So, my approach would be more in this direction: System.getProperty("os.name") because in my case there is no need add another dependency. Best Regards, Yordan answered 02.06.2017 at 04:40 Stelt0 The library apache commons lang is already provided by Axon.ivy itself. So you don't need to add it explicit to your project.
(02.06.2017 at 04:57)
Reto Weiss ♦♦
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 02.06.2017 at 03:11
Seen: 2,137 times
Last updated: 02.06.2017 at 04:57