待辦事項 #21899

~ does not seem to identify home-dir on OSX

啟用日期: 2010-05-22 14:14 最後更新: 2010-05-22 14:14

回報者:
(匿名)
負責人:
(無)
類型:
狀態:
開啟
元件:
(無)
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
9 - 最高
處理結果:
檔案:

細節

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

編輯

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