Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6B2EBDAE8 for ; Mon, 17 Sep 2012 22:33:08 +0000 (UTC) Received: (qmail 47377 invoked by uid 500); 17 Sep 2012 22:33:08 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 47346 invoked by uid 500); 17 Sep 2012 22:33:07 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 47302 invoked by uid 99); 17 Sep 2012 22:33:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2012 22:33:07 +0000 Date: Tue, 18 Sep 2012 09:33:07 +1100 (NCT) From: "Shazron Abdullah (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1397414407.90132.1347921187941.JavaMail.jiratomcat@arcas> In-Reply-To: <295508771.83840.1347694148141.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (CB-1475) Allow Cleaver to use as a wwwFolderName an absolute path (eg. ~/Library) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-1475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-1475: --------------------------------- Fix Version/s: 2.2.0 > Allow Cleaver to use as a wwwFolderName an absolute path (eg. ~/Library) > ------------------------------------------------------------------------ > > Key: CB-1475 > URL: https://issues.apache.org/jira/browse/CB-1475 > Project: Apache Cordova > Issue Type: Improvement > Components: iOS > Affects Versions: 2.0.0 > Reporter: Paris Stamatopoulos > Assignee: Shazron Abdullah > Priority: Minor > Fix For: 2.2.0 > > > Currently - (NSString*) pathForResource:(NSString*)resourcepath returns the path based on the current [NSBundle]. However one might be interested in loading the application from an absolute path (e.g. user's ~/Library). > Take this snippet for instance: > NSString *libraryPath = [NSSearchPathForDirectoriesInDomains(NSLibraryDirectory,NSUserDomainMask, YES) lastObject]; > NSString *folderPath = [libraryPath stringByAppendingPathComponent:@"www"]; > > cdvViewController.wwwFolderName = folderPath; -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira