extjs - Sencha cmd build error: shellscript returned: 1 -
i working on pre-existing sencha touch project. unable build , unsure how should go debugging sencha cmd build issues. either specific error or hints regarding how set sencha build environment appreciated.
here snippet of error message:
[err] following error occurred while executing line: /users/foo/bartech/bartech2go-new/.sencha/app/build-impl.xml:437: following error occurred while executing line: /users/foo/bartech/bartech2go-new/.sencha/app/packager-impl.xml:17: following error occurred while executing line: /users/foo/bartech/bartech2go-new/.sencha/app/cordova-impl.xml:109: following error occurred while executing line: jar:file:/users/foo/luggage/bin/sencha/cmd/6.0.0.202/sencha.jar!/com/sencha/ant/antlib.xml:680: shellscript returned: 1 @ com.sencha.exceptions.basicexception.wrap(basicexception.java:54) @ com.sencha.ant.antscript.execute(antscript.java:120) @ com.sencha.command.plugin.pluginmanager.execute(pluginmanager.java:104) @ com.sencha.command.plugin.pluginmanager.executereversefirst(pluginmanager.java:145) @ com.sencha.command.environment.buildenvironment.execute(buildenvironment.java:280) @ com.sencha.command.environment.apporpackageenvironment.execute(apporpackageenvironment.java:738) @ com.sencha.command.baseplugincommands$baseplugincommand.doexecute(baseplugincommands.java:97) @ com.sencha.command.app.appcommands$buildcommand.execute(appcommands.java:346) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:497) @ com.sencha.util.methodinvoker$arguments.invoke(methodinvoker.java:175) @ com.sencha.cli.command.dispatch(command.java:43) @ com.sencha.command.baseplugincommands$baseplugincommand.dispatch(baseplugincommands.java:201) @ com.sencha.cli.commands.dispatch(commands.java:64) @ com.sencha.cli.commands.dispatch(commands.java:64) @ com.sencha.command.sencha.dispatch(sencha.java:73) @ com.sencha.command.sencha.main(sencha.java:141) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:497) @ com.exe4j.runtime.launcherengine.launch(unknown source) @ com.install4j.runtime.launcher.unixlauncher.main(unknown source) caused by: following error occurred while executing line: /users/foo/bartech/bartech2go-new/.sencha/app/build-impl.xml:437: following error occurred while executing line: /users/foo/bartech/bartech2go-new/.sencha/app/packager-impl.xml:17: following error occurred while executing line: /users/foo/bartech/bartech2go-new/.sencha/app/cordova-impl.xml:109: following error occurred while executing line: jar:file:/users/foo/luggage/bin/sencha/cmd/6.0.0.202/sencha.jar!/com/sencha/ant/antlib.xml:680: shellscript returned: 1 @ org.apache.tools.ant.projecthelper.addlocationtobuildexception(projecthelper.java:551) @ org.apache.tools.ant.taskdefs.ant.execute(ant.java:444) @ org.apache.tools.ant.unknownelement.execute(unknownelement.java:291) @ sun.reflect.generatedmethodaccessor32.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:497) @ org.apache.tools.ant.dispatch.dispatchutils.execute(dispatchutils.java:106) @ org.apache.tools.ant.task.perform(task.java:348) @ org.apache.tools.ant.taskdefs.sequential.execute(sequential.java:68) @ net.sf.antcontrib.logic.iftask.execute(iftask.java:217) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:497) @ org.apache.tools.ant.dispatch.dispatchutils.execute(dispatchutils.java:106) @ org.apache.tools.ant.taskadapter.execute(taskadapter.java:154) @ org.apache.tools.ant.unknownelement.execute(unknownelement.java:291) @ sun.reflect.generatedmethodaccessor32.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:497) @ org.apache.tools.ant.dispatch.dispatchutils.execute(dispatchutils.java:106) @ org.apache.tools.ant.task.perform(task.java:348) @ org.apache.tools.ant.target.execute(target.java:392) @ org.apache.tools.ant.target.performtasks(target.java:413) @ org.apache.tools.ant.project.executesortedtargets(project.java:1399) @ org.apache.tools.ant.project.executetarget(project.java:1368) @ org.apache.tools.ant.helper.defaultexecutor.executetargets(defaultexecutor.java:41) @ org.apache.tools.ant.project.executetargets(project.java:1251) @ com.sencha.ant.antscript.execute(antscript.java:116) @ com.sencha.command.plugin.pluginmanager.execute(pluginmanager.java:104) @ com.sencha.command.plugin.pluginmanager.executereversefirst(pluginmanager.java:145) @ com.sencha.command.environment.buildenvironment.execute(buildenvironment.java:280) @ com.sencha.command.environment.apporpackageenvironment.execute(apporpackageenvironment.java:738) @ com.sencha.command.baseplugincommands$baseplugincommand.doexecute(baseplugincommands.java:97) @ com.sencha.command.app.appcommands$buildcommand.execute(appcommands.java:346) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:497) @ com.sencha.util.methodinvoker$arguments.invoke(methodinvoker.java:175) @ com.sencha.cli.command.dispatch(command.java:43) @ com.sencha.command.baseplugincommands$baseplugincommand.dispatch(baseplugincommands.java:201) @ com.sencha.cli.commands.dispatch(commands.java:64) @ com.sencha.cli.commands.dispatch(commands.java:64) @ com.sencha.command.sencha.dispatch(sencha.java:73) @ com.sencha.command.sencha.main(sencha.java:141) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:497) @ com.exe4j.runtime.launcherengine.launch(unknown source) @ com.install4j.runtime.launcher.unixlauncher.main(unknown source)
i running mac os x 10.10.4. here version numbers of sencha cmd , of dependencies:
sencha cmd v6.0.0.202 ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14] compass 1.0.3 (polaris) cordova 5.1.1
i not sure version sencha touch running. here helpful values:
.sencha/app/sencha.cfg: app.cmd.version=6.0.0.202 .sencha/workspace/sencha.cfg: workspace.cmd.version=5.0.3.324 touch/cmd/sencha.cfg: framework.cmd.version=4.0.5.87
here complete build log: https://gist.githubusercontent.com/jkndrkn/5fbecd12c3875649687f/raw/sencha-cmd-build-log
the error occuring has cordova ios platform files.
i've found running cordova platform remove {platform}
cordova folder, re-adding platform effective. ( re-add, cordova platform add {platform}
)
Comments
Post a Comment