Thanks for the feedback. I'll add the addition of the -d debug flag - good idea!
Create script is intended for anyone using the cordova project, phonegap among them. Appname, up for debate. I don't care either way :) On 6/14/12 8:42 AM, "Drew Walters" <[email protected]> wrote: >Sorry, been on vacation for the past couple of days....trying to catch >up on emails. Not sure I completely understand the intended usage but >noticed these things when looking through changes: > >1. The template/project/www/resources directory still exists but is empty. >2. I would think the 'debug' command should result in web inspector >being enabled (-d flag) in the builds for playbook and smartphone >(OS7). Doesn't seem like there is currently a difference between >'debug' and 'emulate' commands when using simulator. >3. Is the create script intended for the distribution that is >available from phonegap.com? If so, the Coho script and the contents >of the blackberry distribution folder will need to be changed. The >bin/templates/dist/README.md section for 'Building and Deploying a >Project' would also likely need updated if thats the case. >4. If the appName 'create' argument is not specified the default is >"cordovaSample". Is this the cross platform default being used? Seems >like "Cordova Sample" would be better. > >Ran the 'create' script on my Mac and it executed fine. Since I run >simulators via vmware I wasn't able to test the debug or emulate >scripts. > > >On Wed, Jun 13, 2012 at 4:43 PM, Deeyo Dela Cruz <[email protected]> >wrote: >> >> >> Sent from my iPad >> >> On Jun 13, 2012, at 2:43 PM, Filip Maj <[email protected]> wrote: >> >>> Cool, I'll do the same. >>> >>> On 6/13/12 2:41 PM, "Anis KADRI" <[email protected]> wrote: >>> >>>> I trashed the following: test, bench, autotest on Android as I noticed >>>> that >>>> the bench and test repos no longer existed :) >>>> >>>> On Wed, Jun 13, 2012 at 2:33 PM, Filip Maj <[email protected]> wrote: >>>> >>>>> Thanks Tim. >>>>> >>>>> Yeah test/autotest/bench are all artifacts that I copied over. Not >>>>> necessary for the issues but the stubs are there. WE can leave those >>>>> alone >>>>> for now. >>>>> >>>>> Debug + emulate should work. Log doesn't. >>>>> >>>>> Good catch on the README. I'll update that. >>>>> >>>>> On 6/13/12 2:30 PM, "Tim Kim" <[email protected]> wrote: >>>>> >>>>>> Hey Fil, >>>>>> >>>>>> The create script is giving me some errors: >>>>>> >>>>>> *bench is throwing error:* >>>>>> Tims-MacBook-Air:incubator-cordova-blackberry-webworks timkim$ >>>>> ./bin/bench >>>>>> Building cordova-1.8.1.jar and cordova-1.8.1.js ... >>>>>> Copying assets and resources ... >>>>>> Updating config.xml ... >>>>>> Cleaning up ... >>>>>> Remember to update the project.properties file inside your >>>>>>application >>>>>> directory! >>>>>> Cloning into cordova-bench... >>>>>> ERROR: Repository not found. >>>>>> fatal: The remote end hung up unexpectedly >>>>>> ./bin/bench: line 40: ./bench/assets/www/index.html: No such file or >>>>>> directory >>>>>> ./bin/bench: line 47: ./bin/debug: No such file or directory >>>>>> >>>>>> >>>>>> *autotest is throwing error:* >>>>>> Tims-MacBook-Air:incubator-cordova-blackberry-webworks timkim$ >>>>>> ./bin/autotest >>>>>> The "sys" module is now called "util". It should have a similar >>>>> interface. >>>>>> >>>>>> module.js:311 >>>>>> throw err; >>>>>> ^ >>>>>> SyntaxError: In >>>>> >>>>>> >>>>>>/Users/timkim/repo/incubator-cordova-blackberry-webworks/bin/tests/au >>>>>>tot >>>>>> es >>>>>> t.coffee, >>>>>> Reserved word "with" on line 4 >>>>>> at SyntaxError (unknown source) >>>>>> at Lexer.identifierError >>>>> >>>>>> >>>>>>(/Users/timkim/repo/incubator-cordova-blackberry-webworks/bin/node_mo >>>>>>dul >>>>>> es >>>>>> /coffee-script/lib/lexer.js:458:13) >>>>>> at Lexer.identifierToken >>>>> >>>>>> >>>>>>(/Users/timkim/repo/incubator-cordova-blackberry-webworks/bin/node_mo >>>>>>dul >>>>>> es >>>>>> /coffee-script/lib/lexer.js:80:16) >>>>>> at Lexer.tokenize >>>>> >>>>>> >>>>>>(/Users/timkim/repo/incubator-cordova-blackberry-webworks/bin/node_mo >>>>>>dul >>>>>> es >>>>>> /coffee-script/lib/lexer.js:31:19) >>>>>> at >>>>> >>>>>> >>>>>>/Users/timkim/repo/incubator-cordova-blackberry-webworks/bin/node_mod >>>>>>ule >>>>>> s/ >>>>>> coffee-script/lib/coffee-script.js:29:34 >>>>>> at Object..coffee >>>>> >>>>>> >>>>>>(/Users/timkim/repo/incubator-cordova-blackberry-webworks/bin/node_mo >>>>>>dul >>>>>> es >>>>>> /coffee-script/lib/coffee-script.js:11:17) >>>>>> at Module.load (module.js:348:31) >>>>>> at Function._load (module.js:308:12) >>>>>> at Module.require (module.js:354:17) >>>>>> at require (module.js:370:17) >>>>>> >>>>>> >>>>>> *test is throwing error:* >>>>>> Tims-MacBook-Air:incubator-cordova-blackberry-webworks timkim$ >>>>> ./bin/test >>>>>> Cloning into incubator-cordova-mobile-spec... >>>>>> remote: Counting objects: 1478, done. >>>>>> remote: Compressing objects: 100% (457/457), done. >>>>>> remote: Total 1478 (delta 991), reused 1406 (delta 944) >>>>>> Receiving objects: 100% (1478/1478), 401.46 KiB | 493 KiB/s, done. >>>>>> Resolving deltas: 100% (991/991), done. >>>>>> Building cordova-1.8.1.jar and cordova-1.8.1.js ... >>>>>> Copying assets and resources ... >>>>>> Updating config.xml ... >>>>>> Cleaning up ... >>>>>> Remember to update the project.properties file inside your >>>>>>application >>>>>> directory! >>>>>> ./bin/test: line 41: ./cordova/debug: Permission denied >>>>>> >>>>>> >>>>>> *running test again:* >>>>>> Tims-MacBook-Air:incubator-cordova-blackberry-webworks timkim$ >>>>> ./bin/test >>>>>> fatal: destination path 'incubator-cordova-mobile-spec' already >>>>>>exists >>>>> and >>>>>> is not an empty directory. >>>>>> >>>>>> The bin/create script seems to work just fine though! Also, are >>>>>>those >>>>>> cordova debug/emulate commands ready to test as well? The readme >>>>>>still >>>>>> said >>>>>> todo for that stuff so I wasn't sure if you were done or not. >>>>>> >>>>>> -- >>>>>> Timothy Kim >>>>> >>>>> >>>
