cappuccino / cappuccino

Web Application Framework in JavaScript and Objective-J
https://cappuccino.dev/
GNU Lesser General Public License v2.1
2.2k stars 333 forks source link

press fails when building from source with ReferenceError: "system" is not defined. #276

Closed anthonycagle closed 14 years ago

anthonycagle commented 14 years ago

Ran 'press test pressed' on a project generated with: 'capp gen test' commit cb416e02776b2445dde936afc8c06550fb482653 Date: Sat Sep 26 18:49:08 2009 -0700 identical results on Ubuntu Juanty Jackalope and Mac OSX Leopard Rake 0.8.7 on both systems ran 'rake clobber-all install' for both installs. Trace follows:

2009-08-29 16:27:55.214 Cappuccino [info]: Application root:    /Users/anthony/work/cappuccino/temp/test
2009-08-29 16:27:55.220 Cappuccino [info]: Output directory:    pressed
2009-08-29 16:27:55.244 Cappuccino [info]: Main file:           /Users/anthony/work/cappuccino/temp/test/main.j
2009-08-29 16:27:55.275 Cappuccino [info]: Frameworks:          /Users/anthony/work/cappuccino/temp/test/Frameworks
2009-08-29 16:27:55.381 Cappuccino [error]: PHASE 1: Loading application...
2009-08-29 16:27:55.542 Cappuccino [debug]: Evaling /Users/anthony/work/cappuccino/temp/test/main.j / /Users/anthony/work/cappuccino/temp/test/Info.plist
/Users/anthony/work/cappuccino/temp/test/main.j
ReferenceError: "system" is not defined.
js: "Objective-J.js", line 1734: exception from uncaught JavaScript throw: ReferenceError: "system" is not defined.
    at Objective-J.js:1734 (objj_exception_report)
    at Objective-J.js:2460 (fragment_evaluate_code)
    at /Users/anthony/work/cappuccino/objj_home/share/narwhal/packages/objj/lib/press/objj-analysis-tools.j:152
    at Objective-J.js:2422
    at Objective-J.js:2439
    at bridge.js:161 (serviceTimeouts)
    at <cmd>:5
    at /Users/anthony/work/cappuccino/objj_home/share/narwhal/packages/objj/lib/press/objj-analysis-tools.j:202
    at /Users/anthony/work/cappuccino/objj_home/share/narwhal/packages/objj/lib/press/objj-analysis-tools.j:158
    at /Users/anthony/work/cappuccino/objj_home/share/narwhal/packages/objj/lib/press/main.j:85
    at /Users/anthony/work/cappuccino/objj_home/share/narwhal/packages/objj/lib-js/objj/objj.js:96
    at Objective-J.js:2430
    at Objective-J.js:2438
    at /Users/anthony/work/cappuccino/objj_home/share/narwhal/packages/browserjs/lib/browser/timeout.js:103
    at /Users/anthony/work/cappuccino/objj_home/share/narwhal/packages/objj/lib-js/objj/objj.js:120
    at /Users/anthony/work/cappuccino/objj_home/share/narwhal/packages/objj/bin/objj:3
    at /USers/anthony/work/cappuccino/objj_home/share/narwhal/lib/sandbox.js:250
    at narwhal.js:209
stevegeek commented 14 years ago

I can confirm this error with the following: capp gen -l test press test pressed

tlrobinson commented 14 years ago

Should be fixed by 69cdc2ccd044a3adc75b20447254465b5cc0df87