Incidencia #21899

~ does not seem to identify home-dir on OSX

Abrir Fecha: 2010-05-22 14:14 Última actualización: 2010-05-22 14:14

Informador:
(Anónimo)
Propietario:
(Ninguno)
Tipo:
Estado:
Open
Componente:
(Ninguno)
Hito:
(Ninguno)
Prioridad:
5 - Medium
Gravedad:
9 - Highest
Resolución:
Ninguno
Fichero:
Ninguno

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 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

Editar

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