1. #1
    Sencha User
    Join Date
    Oct 2012
    Location
    Pune
    Posts
    6
    Vote Rating
    0
    anandsingh6779@gmail.com is on a distinguished road

      0  

    Default Getting Error During Packaging of Sencha Architect Application

    Getting Error During Packaging of Sencha Architect Application


    Hello,

    I am Trying to packaging my Sencha Architect Application.I am Using The following link for it.(http://docs.sencha.com/architect/2/#!/guide/deploy) .But I am getting error on secon step.i.e this step.


    and i am Getting This Error....So Please Help Me



    C:\Program Files (x86)\SenchaArchitect>cd "C:/wamp/www/senchaarchitect1/navbut/"


    The system cannot find the path specified.


    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}


    C:\Program Files (x86)\SenchaArchitect>

  2. #2
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,729
    Vote Rating
    51
    Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough

      0  

    Default


    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?

    cd "C:\wamp\www\senchaarchitect1\navbut"
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  3. #3
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,729
    Vote Rating
    51
    Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough

      0  

    Default


    I'm sorry for the delayed response on this.

    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.
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar