You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jared Flatow (JIRA)" <ji...@apache.org> on 2014/01/11 19:33:50 UTC

[jira] [Created] (CB-5773) relative symlinks in www/ should be followed and copied to platform/XXX/www/ when building

Jared Flatow created CB-5773:
--------------------------------

             Summary: relative symlinks in www/ should be followed and copied to platform/XXX/www/ when building
                 Key: CB-5773
                 URL: https://issues.apache.org/jira/browse/CB-5773
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI
    Affects Versions: 3.3.0, 3.4.0
         Environment: *nix
            Reporter: Jared Flatow
            Priority: Minor


In a git repo containing a pure web app, a cordova 'app' dir is created with links to resources in other parts of the repository. e.g.:

app/www/img/logo.png -> ../../../pure/www/img/apple-touch-icon.png

When building, 'cp' does not follow links, so we end up with:

app/platforms/ios/www/img/logo.png -> ../../../pure/www/img/apple-touch-icon.png

Which is no longer a valid symlink. Symlinks should be followed on build to fix this issue (relative ones at a minimum).



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)