-
2 May 2012 5:33 PM #1
Unable to Package in Sencha Architect 2.0 build 412 on both Vista and Ubuntu
Unable to Package in Sencha Architect 2.0 build 412 on both Vista and Ubuntu
Configuration on both machines is SA2.0 build 412, sencha-touch-2.0.1, and SenchaSDKTools-2.0.0-beta3
On both vista and ubuntu I can from the sencha-touch-2.0.1 folder run
This successfully creates myapp1 project with all the related files (sdk etc).Code:sencha app create MyApp1 c:/senchaprojects/myapp1 (win) or sencha app create MyApp1 /senchaprojects/myapp1 (ubuntu)
I can then setup my webserver to point to the myapp1 folder, browser to the app, all works fine.
I can also build the app for production successfully with
This is all good and proves the paths a to SDK's etc are all OK, in both environments.Code:c:\senchaprojects\myapp1\sencha app build production
I now create myapp2 (just a simple navview) in SA2.0 located at c:/senchaprojects.
Problem 1 -Package button is greyed
On the Ubuntu machine
When I select Deploy I get a dialog that says SDKTools v2 Installed:false and only the Copy button is clickable.
The Package button is greyed.
Many other users in the forum have this same problem but knowone from sencha has commented yet.
If I just select Copy that works as expected and I can browse the app.
However on the vista machine
When I select Deploy I get dialog that says SDKTools v2 Installed:true and both Copy and Package
buttons are clickable.
If I just select Copy that works as expected and I can browse the app, as above.
If I select Package the Package:packager.json dialog comes up, I accept the defaults and click Save and Package.
Problem 2 -Error message
A dialog is displayed with the following text
In not sure why it should be looking in the SenchaArchitect directory, to my mind it should be the app directory, but I can't see where to change this.Code:31m[1m[WARN] The current working directory (C:\sencha\SenchaArchitect) is not a recognized Sencha SDK or application folder. Running in backwards compatible mode.[22m[39m Sencha Command v2.0.0 Beta 3 Copyright (c) 2012 Sencha Inc. usage: sencha COMMAND [ARGS] The available commands are: build build a JSB project create bootstrapdata generate boostrap data create jsb generate a minimal JSB project for an app create locale generate a template locale file from source create manifest generate classes manifest package package your Touch web app into a native bundle slice theme slice a custom theme's images for IE See 'sencha help COMMAND' for more information on a specific command. [31m[1m[ERROR] The current working directory (C:\sencha\SenchaArchitect) is not a recognized Sencha SDK or application folder[22m[39m Error copying build/native/ to build//My Application.app/webapp/ Failed to package application
I then thought to try the manual build process that worked above for the sencha-touch-2.0.1 created app on a SA2.0 created app.
When I try in both environments
Problem 3 -Error messageCode:c:\senchaprojects\myapp2\sencha app build production
I get the following
Many other forum users have also reported this, with suggestions to do with creating a .senchasdk fileCode:"[ERROR] The current working (c:\senchaprojects\myapp2) is not a recognized Sencha SDK or application folder"
in various locations, none of this suggests have worked for me.
I hope this is enough information to solve the problems.
SA2.0 looks great so far, but these are show stoppers for me.
ThanksLast edited by rgratwick; 2 May 2012 at 5:37 PM. Reason: clarification
-
3 May 2012 5:13 AM #2
Hi guys, we are dealing with the same kind of troubles. Is this a bug or is just that the sencha command line doesn't work together with architect?
The app structure that are created from architect and the command line are totally different.
It would be great if we could use the command line functionality with projects on the architect, but we haven't succeed on that yet.
Do you have any tips, suggestions or a clarification about this issues.
-
3 May 2012 1:07 PM #3
In windows, the packager must run from within the projects working directory. We've updated the deployment/packing script to resolve this issue and it will be fixed in the next auto update.
Aaron Conran
@aconran
Sencha Architect Development Team
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote