Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-2725

Improve `Copy www directory` script to copy files when `www` is a symlink directory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.0, 2.6.0
    • 2.7.0
    • cordova-ios
    • XCode when building.

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              wjamesjong James Jong
              cristobal Cristobal Dabed
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 5m
                  5m
                  Remaining:
                  Remaining Estimate - 5m
                  5m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified