Ticket #21899

~ does not seem to identify home-dir on OSX

Date d'ouverture: 2010-05-22 14:14 Dernière mise à jour: 2010-05-22 14:14

Rapporteur:
(Anonyme)
Propriétaire:
(Aucun)
Type:
État:
Ouvert
Composant:
(Aucun)
Jalon:
(Aucun)
Priorité:
5 - moyen
Sévérité:
9 - le plus élevé
Résolution:
Aucun
Fichier:
Aucun

Détails

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 History (1/1 Histories)

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

Attachment File List

No attachments

Modifier

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