cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabio Fabbri (JIRA)" <>
Subject [jira] [Commented] (CB-2841) Build on IOS fails if the project is on a samba shared folder
Date Thu, 28 Mar 2013 14:42:19 GMT


Fabio Fabbri commented on CB-2841:

You're welcome. Sorry for the dupe but I tried a quick search and I didn't saw that issue.
> Build on IOS fails if the project is on a samba shared folder
> -------------------------------------------------------------
>                 Key: CB-2841
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.5.0
>            Reporter: Fabio Fabbri
>            Assignee: James Jong
>            Priority: Minor
>   Original Estimate: 10m
>  Remaining Estimate: 10m
> I tried to create and build an iOS project from a Mac on a shared folder. The shared
folder is on a Linux machine using Samba.
> With PhoneGap 2.2.0 I had no problem, but with PhoneGap 2.5.0 I had the following errors
on building phase:
> {noformat}
> ln: {destination for first file in www folder}: Operation not permitted
> cp: chflags: {destination of the same file}: Operation not permitted
> {noformat}
> I found out that the problem was in the "Build Phases" script "Copy www directory": in
my case, both "ln" and "cp -a" fails. I suggest to make a third try with "cp -PR", and hide
all messages from the previous 2 commands:
> {noformat}
> # Files
> for p in $(do_find -type f -print); do
>   subpath="${p#$SRC_DIR}"
>   ln "$SRC_DIR$subpath" "$DST_DIR$subpath" 1>/dev/null 2>/dev/null ||
>     cp -a "$SRC_DIR$subpath" "$DST_DIR$subpath" 1>/dev/null 2>/dev/null ||
>     cp -PR "$SRC_DIR$subpath" "$DST_DIR$subpath" ||
>     exit 3
> done
> {noformat}
> It works for me

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:

View raw message