Uploaded image for project: 'Appcelerator CLI'
  1. Appcelerator CLI
  2. CLI-737

Files are encrypted on first build when building with development deploy type

    Details

    • Severity:
      Major
    • Story Points:
      5

      Description

      Description

      When building with a deploy type of development(simulator/emulator build) on the first build the files are being encrypted. On iOS and Android this appears to be handled fine, however on Windows there appears to be issues as the build will not get further than the encryption stage. See the below logging for a comparison between 4.1.0 and 4.1.1-7 CLI.

      I am unsure if this is a regression as it may be expected with the changes to build verification but it is a change in behavior.

      Due to this on the first build to a Windows Phone emulator the build will stop at Processing JavaScript files and not continue, killing the build and rebuilding will fix this.

      4.1.0

      [INFO]  Building for Windows Phone emulator: 8-1-1
      [INFO]  Deploy type: development
      [INFO]  Debugging disabled
      [INFO]  Profiler disabled
      [INFO]  Forcing rebuild: C:\Users\WINDO_~1\AppData\Local\Temp\hmm10\build-manifest.json does not exist
      [INFO]  Launching emulator: 8-1-1
      [INFO]  Processing JavaScript files
      [INFO]  Generating i18n files
      [INFO]  Generating Native Type Wrappers
      [INFO]  Generating stubs for: Platform.Object
      [INFO]  Setting up native modules for CMakeLists.txt...
      

      4.1.1-7

      [INFO]  Building for Windows Phone emulator: 8-1-1
      [INFO]  Deploy type: development
      [INFO]  Debugging disabled
      [INFO]  Profiler disabled
      [INFO]  Forcing rebuild: C:\Users\WINDO_~1\AppData\Local\Temp\hmm10\build-manifest.json does not exist
      [INFO]  Launching emulator: 8-1-1
      [INFO]  Windows Phone emulator is ready
      [INFO]  JavaScript files need to be encrypted
      [INFO]  Processing JavaScript files
      
      

      Steps to reproduce

      1. Create a project using appc new --type titanium --classic --name appName --id com.appc --force
      2. Build using appc CLI 4.1.0 using appc run -p ios -T simulator
      3. Create a project using appc new --type titanium --classic --name appName --id com.appc --force
      2. Build using appc CLI 4.1.1 using appc run -p ios -T simulator

      Actual result

      When building to simulator/emulator for the first time on 4.1.1-7 the files will be encrypted

      Expected result

      Based on historical behavior when building to simulator/emulator the files should not be encrypted at all

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gmathews Gary Mathews
                Reporter:
                eharris Ewan Harris
                Reviewer:
                Jan Vennemann
              • Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code