Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-4043

javascript files that contain a dash do not get compiled correctly when distributed and result in a error when loading within app.

    Details

      Description

      Reported by Jonathon Alter. When loading window from separate js file (IE: win-test.js) error is encountered due to not being able to find associated compiled JS. If dash is replace with underscore, error goes away.

      TRACE:
      "D/KrollContext( 6199): (kroll$2: app://win-test.js) [1688,3277] Running pre-compiled script: win-test.js
      E/KrollContext( 6199): (kroll$2: app://win-test.js) [1,3278] Couldn't find pre-compiled class for script: win-test.js
      E/KrollContext( 6199): java.lang.ClassNotFoundException: com.appcelerator.pushtest.js.win-test
      E/KrollContext( 6199): at java.lang.Class.classForName(Native Method)
      E/KrollContext( 6199): at java.lang.Class.forName(Class.java:234)
      E/KrollContext( 6199): at java.lang.Class.forName(Class.java:181)
      E/KrollContext( 6199): at org.appcelerator.titanium.TiScriptRunner.runScript(TiScriptRunner.java:91)
      E/KrollContext( 6199): at "

      Not sure exactly who this should belong to. Assigning to Don for reallocation.

        Attachments

          Activity

            People

            • Assignee:
              billdawson Bill Dawson
              Reporter:
              opiecyrus Opie Cyrus
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-3471
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration