Mantis Bugtracker

Einfache Problemansicht anzeigen Zu Notizen wechseln ] erweiterte Anzeige ] Problem-Historie ] Drucken ]
ID Kategorie Auswirkung Reproduzierbar Meldungsdatum Letzte Aktualisierung
0000102 [Cadmium] general schwerer Fehler immer 2012-07-27 20:00 2013-03-28 07:14
Reporter dobesv Anzeigestatus öffentlich  
Bearbeitung durch xclerc
Priorität normal Lösung erledigt  
Status erledigt   Produktversion 1.4
Zusammenfassung 0000102: Reports OS as 'Unix' in Windows
Beschreibung In windows by default it will report the OS as 'Unix' even though it is running on a Windows environment.

This can cause some issues with path name calculations, among other things.
Zusätzliche Information
Tags Keine Tags zugeordnet.
Angehängte Dateien

- Problem-Beziehungen

-  Notiz
(0000250)
dobesv (Reporter)
2012-07-27 20:14

It appears that this is "as documented"

So, perhaps this should be considered a feature request to either:

1) Allow OS to be set easily at runtime

2) Detect the OS at runtime
(0000251)
dobesv (Reporter)
2012-07-27 20:22

The logic behind this is that if the resulting jar file is to be distributed, the runtime operating system may be different from the compile-time operating system.

In my case I am trying to load the cafesterolMain class from Java code. One possible solution would be to allow cafesterolMain to take more parameters in its mainWithReturn, perhaps allowing one to override the NativeParameters object rather than have that one always hard-coded into the generated class file.
(0000275)
xclerc (Administrator)
2013-03-28 07:14

The OCaml-Java runtime now reports the actual OS, unless the
value is overridden through parameter.

In addition, the environment variable "OCAMLJAVA_VERSION"
can be used in order to detect whether the classical OCaml
version or its OCaml-Java variant is running.

- Problem-Historie
Änderungsdatum Benutzername Feld Änderung
2012-07-27 20:00 dobesv Neues Problem
2012-07-27 20:14 dobesv Problemnotiz hinzugefügt: 0000250
2012-07-27 20:22 dobesv Problemnotiz hinzugefügt: 0000251
2013-03-28 07:14 xclerc Problemnotiz hinzugefügt: 0000275
2013-03-28 07:14 xclerc Status neu => erledigt
2013-03-28 07:14 xclerc Lösung offen => erledigt
2013-03-28 07:14 xclerc Bearbeitung durch => xclerc


Mantis 1.1.7[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker