Ticket #21899

~ does not seem to identify home-dir on OSX

Eröffnet am: 2010-05-22 14:14 Letztes Update: 2010-05-22 14:14

Auswertung:
(Anonym)
Verantwortlicher:
(Keine)
Typ:
Status:
Offen
Komponente:
(Keine)
Meilenstein:
(Keine)
Priorität:
5 - Mittel
Schweregrad:
9 - Höchste
Lösung:
Keine
Datei:
Keine

Details

OSXConnector.java uses '~' a few times, i.e: File frameworkLocationHome = new File("~/Library/Frameworks/Skype.framework");

This does not seem to work on OSX. Please replace it with

String destinationname = System.getProperty("user.home"); if (!destinationname.endsWith(File.separator)) { destinationname = destinationname + File.separator; } File frameworkLocationHome = new File(destinationname+"Library/Frameworks/Skype.framework");

Ticket-Verlauf (1/1 Historien)

2010-05-22 14:14 Aktualisiert von: None
  • New Ticket "~ does not seem to identify home-dir on OSX" created

Dateianhangliste

Keine Anhänge

Bearbeiten

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Anmelden