C:\Program Files (x86)\SenchaArchitect>set PATH=C:/Documents and Settings/eQuest
/bin/Sencha/Cmd/3.0.0.250;C:\Program Files (x86)\SenchaSDKTools-2.0.0-beta3;C:\W
INDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Internet Ex
plorer;C:\Program Files (x86)\Java\jdk1.7.0_04\bin & sencha -sdk "C:/wamp/www/
sencha-touch-2.1.0/sencha-touch-2.1" generate app navbut .
Sencha Cmd v3.0.0.250
[INF] init-properties:
[INF] init-sencha-command:
[INF] init:
[INF] -before-generate-workspace:
[INF] generate-workspace-impl:
[WRN] Ignoring @require ../version/Version.js in js/String.js
[WRN] Ignoring @require ../Ext-more.js in js/Format.js
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExTemplate: Cannot write to targetDir='{'0
'}'
[ERR] at com.sencha.tools.generator.Generator.prepareDir(Gener
ator.java:286)
[ERR] at com.sencha.tools.generator.Generator.generateDirToDir
(Generator.java:244)
[ERR] at com.sencha.tools.generator.Generator.generateDirToDir
(Generator.java:252)
[ERR] at com.sencha.tools.generator.Generator.generate(Generat
or.java:124)
[ERR] at com.sencha.ant.GeneratorTask.doExecute(GeneratorTask.
java:63)
[ERR] at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:2
2)
[ERR] at org.apache.tools.ant.UnknownElement.execute(UnknownEl
ement.java:291)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
ethod)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown S
ource)
[ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno
wn Source)
[ERR] at java.lang.reflect.Method.invoke(Unknown Source)
[ERR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(D
ispatchUtils.java:106)
[ERR] at org.apache.tools.ant.Task.perform(Task.java:348)
[ERR] at org.apache.tools.ant.Target.execute(Target.java:392)
[ERR] at org.apache.tools.ant.Target.performTasks(Target.java:
413)
[ERR] at org.apache.tools.ant.Project.executeSortedTargets(Pro
ject.java:1399)
[ERR] at org.apache.tools.ant.Project.executeTarget(Project.ja
va:1368)
[ERR] at org.apache.tools.ant.helper.DefaultExecutor.executeTa
rgets(DefaultExecutor.java:41)
[ERR] at org.apache.tools.ant.Project.executeTargets(Project.j
ava:1251)
[ERR] at com.sencha.ant.AntRunner.run(AntRunner.java:156)
[ERR] at com.sencha.ant.AntRunner.run(AntRunner.java:72)
[ERR] at com.sencha.command.BasePluginCommands$BasePluginComma
nd.run(BasePluginCommands.java:87)
[ERR] at com.sencha.command.BasePluginCommands$BasePluginComma
nd.run(BasePluginCommands.java:91)
[ERR] at com.sencha.command.generator.GeneratorCommands$Worksp
aceCommand.execute(GeneratorCommands.java:80)
[ERR] at com.sencha.command.generator.GeneratorCommands$AppCom
mand.execute(GeneratorCommands.java:175)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
ethod)
[ERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown S
ource)
[ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno
wn Source)
[ERR] at java.lang.reflect.Method.invoke(Unknown Source)
[ERR] at com.sencha.cli.Command.dispatch(Command.java:78)
[ERR] at com.sencha.cli.Commands.dispatch(Commands.java:49)
[ERR] at com.sencha.cli.Commands.dispatch(Commands.java:49)
[ERR] at com.sencha.command.Sencha.main(Sencha.java:71)
[ERR] Total time: 0 seconds
[ERR] com.sencha.exceptions.ExTemplate: Cannot write to targetDir={0}
what happens when you run the following command from cmd window?
cd "C:/wamp/www/senchaarchitect1/navbut/"
2.2 which I hope will come out soon should convert these to backslashes and remove the last slash as some flavors of windows has trouble with this. I wonder if this is the issue here?
Also note that step 2 is not required to package or simulate. A work around would be to run the commands you see yourself after fixing the ending slash issue. Or not worry about step 2 as simulating and packaging doesn't require it.