Threaded View

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

      0  

    Default "sencha app build" error

    "sencha app build" error


    Sencha Cmd 3.0.0.230
    Sencha Touch 2.1.0-rc2

    Steps:

    1. In touch-sdk folder, create a new project using the Sencha Cmd:
    sencha generate app -p my/path
    2. Host the generated code on your web server and go test it <== Works
    3. Move to my/path and run "sencha app build" <= Fails (see error below)
    4. Edit packager.json
    Mine:
    Code:
    {
        "applicationName":"MyApplication",
        "applicationId":"com.mycompany.myAppID",
        "bundleSeedId":"KPXFEPZ6EF",
        "versionString":"1.0",
        "versionCode":"1",
        "icon": {
            "57":"resources/icons/Icon.png",
            "72":"resources/icons/Icon~ipad.png",
            "114":"resources/icons/Icon@2x.png",
            "144":"resources/icons/Icon~ipad@2x.png"
        },
        "inputPath":"./",
        "outputPath":"./bin/",
        "configuration":"Debug",
        "platform":"Android",
        "deviceType":"Universal",
        "certificatePath":"C:/Users/.../my-release-key.keystore",
        "certificateAlias":"alias_name",
        "certificatePassword":"pass",
        "provisionProfile":"APP_NAME.mobileprovision",
        "sdkPath":"C:/android-sdk",
        "androidAPILevel":"7",
        "permissions":[
                        "INTERNET",
                        "ACCESS_NETWORK_STATE",
                        "CAMERA",
                        "VIBRATE",
                        "ACCESS_FINE_LOCATION",
                        "ACCESS_COARSE_LOCATION",
                        "CALL_PHONE"],
        "orientations": [
            "portrait",
            "landscapeLeft",
            "landscapeRight",
            "portraitUpsideDown"
        ]
    }
    5. run "sencha package build -p packager.json" <== Works

    Code:
    C:\Users\...\SenchaCmd>sencha app build
    Sencha Cmd v3.0.0.230
    [INFO ]
    [INFO ]         init-properties:
    [INFO ]
    [INFO ]
    [INFO ]         init-sencha-command:
    [INFO ]
    [INFO ]
    [INFO ]         init:
    [INFO ]
    [INFO ]
    [INFO ]         -before-app-build:
    [INFO ]
    [INFO ]
    [INFO ]         app-build-impl:
    [INFO ]
    [INFO ]
    [INFO ]         production:
    [INFO ]
    [INFO ]
    [INFO ]         -before-init-local:
    [INFO ]
    [INFO ]
    [INFO ]         -init-local:
    [INFO ]
    [INFO ]
    [INFO ]         -after-init-local:
    [INFO ]
    [INFO ]
    [INFO ]         init-local:
    [INFO ]
    [INFO ]
    [INFO ]         find-cmd:
    [INFO ]
    [INFO ]
    [INFO ]         -before-init:
    [INFO ]
    [INFO ]
    [INFO ]         -init:
    [INFO ]
    [INFO ]
    [INFO ]         -after-init:
    [INFO ]
    [INFO ]
    [INFO ]         init:
    [INFO ]
    [INFO ]
    [INFO ]         -before-build:
    [INFO ]
    [INFO ]
    [INFO ]         sass:
    [INFO ]
    [INFO ]
    [INFO ]         -before-sass:
    [INFO ]
    [INFO ]
    [INFO ]         -sass:
    [INFO ]
    [INFO ]         [shellscript] '''compass''' is not recognized as an internal or external command,
    [INFO ]
    [INFO ]         [shellscript]
    [INFO ]
    [INFO ]         [shellscript] C:\Users\...\SenchaCmd\resources\sass>compass compile --boring --force operable program or batch f
    ile.
    [INFO ]
    [INFO ]         [shellscript]
    [INFO ]
    [ERROR]
    [ERROR]         BUILD FAILED
    [ERROR]         com.sencha.exceptions.BasicException: The following error occurred while executing this line:
    [ERROR]         C:\Users\...\SenchaCmd\.sencha\app\build-impl.xml:92: The following error occurred while executing this line:
    [ERROR]         jar:file:/C:/Users/.../bin/Sencha/Cmd/3.0.0.230/sencha.jar!/com/sencha/ant/antlib.xml:347: shellscript returned: 1
    [ERROR]                 at com.sencha.exceptions.BasicException.wrap(BasicException.java:43)
    [ERROR]                 at com.sencha.cli.Command.dispatch(Command.java:104)
    [ERROR]                 at com.sencha.cli.Commands.dispatch(Commands.java:49)
    [ERROR]                 at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:184)
    [ERROR]                 at com.sencha.ant.SenchaCommandTask.doExecute(SenchaCommandTask.java:58)
    [ERROR]                 at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:22)
    [ERROR]                 at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERROR]                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERROR]                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [ERROR]                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERROR]                 at java.lang.reflect.Method.invoke(Unknown Source)
    [ERROR]                 at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERROR]                 at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERROR]                 at org.apache.tools.ant.Target.execute(Target.java:392)
    [ERROR]                 at org.apache.tools.ant.Target.performTasks(Target.java:413)
    [ERROR]                 at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [ERROR]                 at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
    [ERROR]                 at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [ERROR]                 at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    [ERROR]                 at com.sencha.ant.AntRunner.run(AntRunner.java:156)
    [ERROR]                 at com.sencha.ant.AntRunner.run(AntRunner.java:72)
    [ERROR]                 at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java:80)
    [ERROR]                 at com.sencha.command.BasePluginCommands$BaseNamePathCommand.run(BasePluginCommands.java:120)
    [ERROR]                 at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:96)
    [ERROR]                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERROR]                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [ERROR]                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERROR]                 at java.lang.reflect.Method.invoke(Unknown Source)
    [ERROR]                 at com.sencha.cli.Command.dispatch(Command.java:78)
    [ERROR]                 at com.sencha.cli.Commands.dispatch(Commands.java:49)
    [ERROR]                 at com.sencha.cli.Commands.dispatch(Commands.java:49)
    [ERROR]                 at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:184)
    [ERROR]                 at com.sencha.command.Sencha.main(Sencha.java:58)
    [ERROR]         Caused by: C:\Users\...\SenchaCmd\.sencha\app\build-impl.xml:100: The following error occurred while executing t
    his line:
    [ERROR]         C:\Users\...\SenchaCmd\.sencha\app\build-impl.xml:92: The following error occurred while executing this line:
    [ERROR]         jar:file:/C:/Users/.../bin/Sencha/Cmd/3.0.0.230/sencha.jar!/com/sencha/ant/antlib.xml:347: shellscript returned: 1
    [ERROR]                 at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
    [ERROR]                 at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
    [ERROR]                 at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    [ERROR]                 at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERROR]                 at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
    [ERROR]                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERROR]                 at java.lang.reflect.Method.invoke(Unknown Source)
    [ERROR]                 at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERROR]                 at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERROR]                 at org.apache.tools.ant.Target.execute(Target.java:392)
    [ERROR]                 at org.apache.tools.ant.Target.performTasks(Target.java:413)
    [ERROR]                 at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [ERROR]                 at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
    [ERROR]                 at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [ERROR]                 at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    [ERROR]                 at com.sencha.ant.AntRunner.run(AntRunner.java:156)
    [ERROR]                 at com.sencha.ant.AntRunner.run(AntRunner.java:80)
    [ERROR]                 at com.sencha.command.ant.AntCommand.execute(AntCommand.java:74)
    [ERROR]                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERROR]                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [ERROR]                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERROR]                 at java.lang.reflect.Method.invoke(Unknown Source)
    [ERROR]                 at com.sencha.cli.Command.dispatch(Command.java:78)
    [ERROR]                 ... 31 more
    [ERROR]         Caused by: C:\Users\...\SenchaCmd\.sencha\app\build-impl.xml:92: The following error occurred while executing th
    is line:
    [ERROR]         jar:file:/C:/Users/.../bin/Sencha/Cmd/3.0.0.230/sencha.jar!/com/sencha/ant/antlib.xml:347: shellscript returned: 1
    [ERROR]                 at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
    [ERROR]                 at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:401)
    [ERROR]                 at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERROR]                 at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
    [ERROR]                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERROR]                 at java.lang.reflect.Method.invoke(Unknown Source)
    [ERROR]                 at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERROR]                 at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERROR]                 at org.apache.tools.ant.Target.execute(Target.java:392)
    [ERROR]                 at org.apache.tools.ant.Target.performTasks(Target.java:413)
    [ERROR]                 at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [ERROR]                 at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    [ERROR]                 at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    [ERROR]                 at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
    [ERROR]                 ... 52 more
    [ERROR]         Caused by: jar:file:/C:/Users/.../bin/Sencha/Cmd/3.0.0.230/sencha.jar!/com/sencha/ant/antlib.xml:347: shellscript returned: 1
    [ERROR]                 at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:646)
    [ERROR]                 at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
    [ERROR]                 at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
    [ERROR]                 at net.sf.antcontrib.platform.ShellScriptTask.execute(ShellScriptTask.java:132)
    [ERROR]                 at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERROR]                 at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
    [ERROR]                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERROR]                 at java.lang.reflect.Method.invoke(Unknown Source)
    [ERROR]                 at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERROR]                 at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERROR]                 at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
    [ERROR]                 at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
    [ERROR]                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERROR]                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [ERROR]                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERROR]                 at java.lang.reflect.Method.invoke(Unknown Source)
    [ERROR]                 at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERROR]                 at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
    [ERROR]                 at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERROR]                 at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
    [ERROR]                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERROR]                 at java.lang.reflect.Method.invoke(Unknown Source)
    [ERROR]                 at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERROR]                 at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERROR]                 at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
    [ERROR]                 at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
    [ERROR]                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERROR]                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [ERROR]                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERROR]                 at java.lang.reflect.Method.invoke(Unknown Source)
    [ERROR]                 at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERROR]                 at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
    [ERROR]                 at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERROR]                 at sun.reflect.GeneratedMethodAcc
    [ERROR]         essor8.invoke(Unknown Source)
    [ERROR]                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERROR]                 at java.lang.reflect.Method.invoke(Unknown Source)
    [ERROR]                 at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERROR]                 at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERROR]                 at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
    [ERROR]                 at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERROR]                 at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
    [ERROR]                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERROR]                 at java.lang.reflect.Method.invoke(Unknown Source)
    [ERROR]                 at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERROR]                 at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERROR]                 at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
    [ERROR]                 ... 64 more
    [ERROR]
    [ERROR]         Total time: 1 second
    [ERROR]
    [ERROR]         com.sencha.exceptions.BasicException: The following error occurred while executing this line:
    C:\Users\...\SenchaCmd\.sencha\app\build-impl.xml:92: The following error occurred while executing this line:
    jar:file:/C:/Users/.../bin/Sencha/Cmd/3.0.0.230/sencha.jar!/com/sencha/ant/antlib.xml:347: shellscript returned: 1

    Any help to solve the build error?
    Any other way to compact the app before packaging it with Sencha Cmd 3?
    Last edited by $p00ky; 26 Oct 2012 at 11:12 PM. Reason: add info

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi