Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-35364

Flex installer.xml is failing occasionally

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Apache Flex 4.16.0
    • Fix Version/s: Apache Flex 4.16.1
    • Component/s: Installer
    • Labels:
      None
    • Environment:
      Windows 10

      Description

      When I'm using downloaded binary sources of Apache Flex 4.16 and script installer.xml to install Adobe Air it's failing occasionally with following stack trace:

      air-setup-win:
          [unzip] Expanding: D:\flex_sdk\flex_4.16_with_new_air_installer\in\AdobeAIRSDK.zip into D:\flex_sdk\flex_4.16_with_new_air_installer\in\airsdk
           [echo] Finished uncompressing:  D:\flex_sdk\flex_4.16_with_new_air_installer/in/AdobeAIRSDK.zip
           [copy] Copying 869 files to D:\flex_sdk\flex_4.16_with_new_air_installer
            [get] Getting: http://flex.apache.org/installer/properties/sdk/en_US.properties
            [get] To: D:\flex_sdk\flex_4.16_with_new_air_installer\en_US.properties
      
      unzipOrMountDMG:
           [move] Moving 1 file to D:\flex_sdk\flex_4.16_with_new_air_installer\in\airsdk
           [echo] Should unzip: ${shouldUnzip}
      
      unzipAIRSDK:
      
      mountAIRSDK:
           [echo] Mounting dmg
      
      copyFromMount:
           [echo] Copying AIR SDK from mounted volume
      
      BUILD FAILED
      D:\flex_sdk\flex_4.16_with_new_air_installer\installer.xml:354: The following error occurred while executing this line:
      D:\flex_sdk\flex_4.16_with_new_air_installer\installer.xml:453: Execute failed: java.io.IOException: Cannot run program "rsync": CreateProcess error=2, The system cannot find the file specified
              at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
              at java.lang.Runtime.exec(Runtime.java:620)
              at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
              at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:428)
              at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:442)
              at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:628)
              at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
              at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
              at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
              at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
              at org.apache.tools.ant.Task.perform(Task.java:348)
              at org.apache.tools.ant.Target.execute(Target.java:435)
              at org.apache.tools.ant.Target.performTasks(Target.java:456)
              at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
              at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
              at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
              at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
              at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
              at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
              at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
              at org.apache.tools.ant.Task.perform(Task.java:348)
              at org.apache.tools.ant.Target.execute(Target.java:435)
              at org.apache.tools.ant.Target.performTasks(Target.java:456)
              at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
              at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
              at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
              at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
              at org.apache.tools.ant.Main.runBuild(Main.java:851)
              at org.apache.tools.ant.Main.startAnt(Main.java:235)
              at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
              at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
      Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
              at java.lang.ProcessImpl.create(Native Method)
              at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
              at java.lang.ProcessImpl.start(ProcessImpl.java:137)
              at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
              ... 36 more
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pete21 Piotr Zarzycki
                Reporter:
                pete21 Piotr Zarzycki
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: