cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Jong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-2725) Improve `Copy www directory` script to copy files when `www` is a symlink directory
Date Thu, 28 Mar 2013 21:21:15 GMT

    [ https://issues.apache.org/jira/browse/CB-2725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13616664#comment-13616664
] 

James Jong commented on CB-2725:
--------------------------------

Copying over the symlinks causes error in XCode deploying to a device.

I've put the fix here if you want to review or try it:
https://github.com/jamesjong/cordova-ios/compare/CB2725

I'll merge it in a few days if there are no objections.
                
> Improve `Copy www directory` script to copy files when `www` is a symlink directory
> -----------------------------------------------------------------------------------
>
>                 Key: CB-2725
>                 URL: https://issues.apache.org/jira/browse/CB-2725
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS
>    Affects Versions: 2.5.0, 2.6.0
>         Environment: XCode when building.
>            Reporter: Cristobal Dabed
>            Assignee: James Jong
>            Priority: Minor
>              Labels: improvement, patch, xCode
>             Fix For: 2.7.0
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> Under the copy directory section ammend the following lines
> <code>
> if [[ -L $SRC_DIR ]]; then 
>   SRC_DIR="www/" ## is symlink set path to "www/"
> fi
> </code>
> or just set it to
> <code>
> SRC_DIR="www/"
> </code>
> Both variants work.
> Otherwise it will not copy the files when the `www` folder is a symlink folder.

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

Mime
View raw message