Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    9
    Vote Rating
    0
    prisoner is on a distinguished road

      0  

    Default "Copy Operation Failed" with Touch 2.0.1RC and SDK Tools 2.0.0-B2

    "Copy Operation Failed" with Touch 2.0.1RC and SDK Tools 2.0.0-B2


    REQUIRED INFORMATION




    Ext version tested:
    • Touch 2.0.1RC / Tools 2.0.0-Beta2

    Browser versions tested against:
    • N/A

    DOCTYPE tested against:
    • N/A

    Description:
    • running "sencha package run android.json" produces several errors of the following sort:
    • Copy operation failed src=s dst=build///assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/app/view/Challenges.js
    • Copy operation failed src=.js dst=build///assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/build/assets/app/view/TeamCarousel.js

    Steps to reproduce the problem:
    • running "sencha package run android.json" with the following contents of android.json:
      Code:
      {
              /**
               * @cfg {String} applicationName
               * @required
               * This is the name of your application, which is displayed on the device when the app is installed. On IOS, this should match
               * the name of your application in the Apple Provisioning Portal.
               */
              "applicationName":"XAmple",
      
      
              /**
               * @cfg {String} applicationId
               * This is the name namespace for your application. On IOS, this should match the name of your application in the Apple Provisioning Portal.
               */
              "applicationId":"com.example.XAmple",
      
      
              /**
               * @cfg {String} versionString
               * @required
               * This is the version of your application.
               */
              "versionString":"0.0.9",
      
      
              /**
               * @cfg {String} iconName
               * This is file name of your icon. This should be in the same directory of this configuration file.
               *
               * For iOS, please refer to their documentation about icon sizes:
               * https://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/IconsImages/IconsImages.html
               *
               * For Android, please refer to the Google Launcher icons guide:
               * http://developer.android.com/guide/practices/ui_guidelines/icon_design_launcher.html
               */
              "iconName":"icon.png",
      
      
              /**
               * @cfg {String} inputPath
               * @required
               * This is location of your Sencha Touch 2 application, relative to this configuration file.
               */
              "inputPath":"./",
      
      
              /**
               * @cfg {String} outputPath
               * @required
               * This is where the built application file with be saved.
               */
              "outputPath":"build/",
      
      
              /**
               * @cfg {String} configuration
               * @required
               * This is configuration for your application. `Debug` should always be used unless you are submitting your app to an online
               * store - in which case `Release` should be specified.
               */
              "configuration":"Debug",
      
      
              /**
               * @cfg {String} platform
               * @required
               * This is the platform where you will be running your application. Available options are:
               *  - iOSSimulator
               *  - iOS
               *  - Android
               *  - AndroidEmulator
               */
              "platform":"AndroidEmulator",
      
      
              /**
               * @cfg {String} deviceType
               * @required
               * This is device type that your application will be running on.
               *
               * If you are developing for Android, this is not necessary.
               *
               * Available options are:
               *  - iPhone
               *  - iPad
               *  - Universal
               */
              "deviceType":"Universal",
      
      
              /**
               * @cfg {String} certificatePath
               * This is the location of your certificate.
               * This is required when you are developing for Android or you are developing on Windows.
               */
              "certificatePath":"/path/to/certificate.file",
      
      
              /**
               * @cfg {String} certificateAlias
               * This is the name of your certificate.
               *
               * IF you do not specify this on OSX, we will try and automatically find the certificate for you using the applicationId.
               *
               * This can be just a simple matcher. For example, if your certificate name is "iPhone Developer: Robert Dougan (ABCDEFGHIJ)", you
               * can just put "iPhone Developer".
               *
               * When using a certificatePath on Windows, you do not need to specify this.
               */
              "certificateAlias":"",
              /**
               * @cfg {String} sdkPath
               * This is the path to the Android SDK, if you are developing an Android application.
               */
              "sdkPath":"/Library/android-sdk-mac_86",
      
      
              /**
              /**
               * @cfg {String} androidAPILevel
               * This is android API level, the version of Android SDK to use, you can read more about it here: http://developer.android.com/guide/appendix/api-levels.html.
               * Be sure to install corresponding platform API in android SDK manager (android_sdk/tools/android)
               */
              "androidAPILevel":"7",
      
      
              /**
               * @cfg {Array[String]} orientations
               * @required
               * This is orientations that this application can run.
               */
              "orientations": [
                      "portrait",
                      "landscapeLeft",
                      "landscapeRight",
                      "portraitUpsideDown"
              ]
      }

    The result that was expected:
    • app to launch on android emulator

    The result that occurs instead:
    • error messages of the sort listed above.
    • Note that the files specified are files in my application, and some files do end up in the build directory (some under a directory similar to that listed)

    Test Case:
    See "android.json" file listed above




    HELPFUL INFORMATION




    Debugging already done:
    • none

    Operating System:
    • OSX 1.6 Snow Leopard

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Thank you for the report.

    Sencha Inc

    Jamie Avins

    @jamieavins

  3. #3
    Sencha - Sencha Touch Dev Team voloshyn's Avatar
    Join Date
    Jan 2012
    Posts
    118
    Vote Rating
    1
    voloshyn is on a distinguished road

      0  

    Default


    output path folder is inside input path and that's why copy process gets into endless recursion which breaks only when the path becomes longer then is allowed in OS, to fix the issue you need to change output path to be somewhere else outside input folder

  4. #4
    Sencha User
    Join Date
    Mar 2012
    Posts
    9
    Vote Rating
    0
    prisoner is on a distinguished road

      0  

    Default


    Thanks voloshyn!