cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9552) Updating linked platform removes original files
Date Tue, 13 Oct 2015 00:46:06 GMT

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

ASF GitHub Bot commented on CB-9552:
------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/cordova-ios/pull/165


> Updating linked platform removes original files
> -----------------------------------------------
>
>                 Key: CB-9552
>                 URL: https://issues.apache.org/jira/browse/CB-9552
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.5.0
>         Environment: iOS
>            Reporter: Tobias Bocanegra
>            Assignee: Simon MacDonald
>              Labels: cordova-ios-4.0.x
>
> updating a linked platform tries to remove the symlink, but the shell helper traverses
into the link and wipes out the original source files.
> test:
> {noformat}
> $ cordova create link-test
> Creating a new cordova project.
> $ cd link-test/
> $ cordova platform add --link ../../cordova-ios
> Adding ios project...
> iOS project created with cordova-ios@4.0.0-dev and has a linked CordovaLib
> $ ll platforms/ios/
> total 8
> ...
> lrwxr-xr-x   1 tripod  staff  -   50B Aug 25 15:35 CordovaLib@ -> /Users/tripod/codez/cordova/cordova-ios/CordovaLib
> ...
> $ cordova platform update ios
> Updating ios project...
> rm: could not remove directory (code ENOTDIR): /Users/tripod/codez/cordova/test/link-test/platforms/ios/CordovaLib
> Error: /Users/tripod/.cordova/lib/npm_cache/cordova-ios/3.9.1/package/bin/update: Command
failed with exit code 1
>     at ChildProcess.whenDone (/Users/tripod/codez/cordova/cordova-lib/cordova-lib/src/cordova/superspawn.js:139:23)
>     at ChildProcess.emit (events.js:110:17)
>     at maybeClose (child_process.js:1008:16)
>     at Process.ChildProcess._handle.onexit (child_process.js:1080:5)
> $ ll platforms/ios/
> ...
> lrwxr-xr-x   1 tripod  staff  -   50B Aug 25 15:35 CordovaLib@ -> /Users/tripod/codez/cordova/cordova-ios/CordovaLib
> ...
> $ ll ../../cordova-ios/CordovaLib/
> total 0
> drwxr-xr-x   2 tripod  staff  -   68B Aug 25 15:35 ./
> drwxr-xr-x  23 tripod  staff  -  782B Aug 13 18:07 ../
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message