-
27 Dec 2011 9:08 PM #1
error while building jsb3 file: Project file doesn't exist
error while building jsb3 file: Project file doesn't exist
Hi every one
i have configured my project. I wrote my jsb3 file, but when i make <ctrl + b> i have this message in the output console: "Project file doesn't exist"
There is no file created as i was expected !
Have somebody had this problem ? Please how did you solve it ?
Here is a part of my app.jsb3 file
Thanks a lot for help guys
NOTA:
Should i have to create manualy the files:
- controllers.js, views.js, models.js ? i'm not sure this is the cause of my problem :-(
---------------------
{
"projectName": "Application Test",
"licenseText": "Free Licence - Opensource",
"packages": [
{
"name": "Application Controllers",
"target": "tablet/controllers/controllers.js",
"id" : "controllers",
"files" : [ ]
},
{
"name": "Application Models",
"target": "tablet/models/models.js",
"id" : "models",
"files" : [ ]
},
{
"name": "Application Views",
"target": "tablet/views/views.js",
"id" : "views",
"files" : [
{"path": "tablet/views/", "name": "ContactDetail.js"},
{"path": "tablet/views/", "name": "ContactForm.js"},
{"path": "tablet/views/", "name": "ContactsList.js"},
...
]
}
],
"builds": [
{
"name": "Application Test - Production",
"target": "app-debug.js",
"debug": true,
"compress": true,
"options": {
"minVersion": 1.1
},
"packages": [
"controllers",
"models",
"views"
]
}
],
"resources": [
{"src": "../jsbuilder/"},
{"src": "../lib/"},
{"src": "../resources/"},
{"src": "../test/"},
{"src": "app.jsb3", "dest": "app.jsb3", "filters": ".*" },
{"src": "index.html"}
...
]
}
-
28 Dec 2011 8:36 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,656
- Vote Rating
- 435
If you are using MVC then there are two commands you should use. The first is the one that will create the jsb3 file for you and the second will do the actual build for you:
sencha create jsb -a index.html -p app.jsb3
sencha build -p app.jsb3 -d ./Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
28 Dec 2011 1:49 PM #3
where to execute this commands ?
where to execute this commands ?
Hi guys thanks for the quick reply.
I am wondering from "WHERE" i should execute those "commands" ?
- My windows cmd.exe
- if configured on aptana, how should i do it ?
I've created a project with eclipse. And another one in Aptana that references my eclipse project's "www" directory. So i'm working on aptana to design all the code that i want to minify.
NOTA:
- I'm following the "Contact" example to create my application
<http://www.sencha.com/learn/a-sencha...with-phonegap/>
- I've configured my JSbuilderon aptana according to this tutorial:
<http://www.swarmonline.com/2011/02/h...na-on-windows/>
-
19 Jan 2012 5:58 AM #4
Hey guys
Sorry for not reading enought :-(. I've found the tool to manage my .jsb3 in ExtJs distribution :-).
On the otherhand, i was trying to configure my builder on APTANA. I was including quote (" ") on my JSBuilder config Argument..that what was wrong :-(
BAD:
------
/C JSBuilder.bat -v -p "${workspace_loc:/MyProjectName/app/project.jsb3}" -d ${workspace_loc:/MyProjectName/deploy/}
GOOD:
--------
/C JSBuilder.bat -v -p ${workspace_loc:/MyProjectName/app/project.jsb3} -d ${workspace_loc:/MyProjectName/deploy/}
I was following this tutorial : Integrate JSBuilder in Aptana/Eclipse
http://www.swarmonline.com/2011/02/h...na-on-windows/
Thank you for reporting this bug. We will make it our priority to review this report.



Reply With Quote