[
https://issues.apache.org/jira/browse/CB-2207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13568386#comment-13568386
]
Michal Mocny commented on CB-2207:
----------------------------------
cp does have a -l, just not on the default cp available on osx (you can replace
it with gnu cp, but thats not a good option). However, according to [1] rsync
has a --link-dest option, and has been available since osx 10.5.
>From the man page:
[...] unchanged files are hard linked from DIR to the destination directory.
The files must be identical in all preserved attributes [...]
[1]:
http://superuser.com/questions/33268/cp-r-l-in-macos-recursive-copy-preserving-hard-links
> Xcode sometimes does not pick up changes to www/
> ------------------------------------------------
>
> Key: CB-2207
> URL: https://issues.apache.org/jira/browse/CB-2207
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Reporter: Andrew Grieve
> Assignee: Andrew Grieve
> Priority: Minor
> Fix For: 2.4.0
>
>
> Pretty annoying when you make changes and click Play and your changes aren't
> there. I think we can fix this by changing the project template's custom
> build step from:
> touch -cm ${PROJECT_DIR}/www
> to:
> rm -rf "$BUILT_PRODUCTS_DIR/$FULL_PRODUCT_NAME/www"
> exec cp -R www "$BUILT_PRODUCTS_DIR/$FULL_PRODUCT_NAME/www"
> Any objections?
--
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