2009MAR161440
Cappuccino & Objective-J problem with test app using git repo source
On Feb 22, 9:50 pm, Thomas Balthazar wrote:
> In Firefox, by default, local documents don't have access to all other
> local documents. Follow this procedure to develop locally in Firefox
http://wiki.github.com/280north/cappuccino/developing-locally-in-firefox-3
Thanks for writing this problem up. After following the video & comments on "Build Cappuccino from the source" at Cappuccinocasts
- cappuccinocasts.com/2009/02/09/2-build-cappuccino-from-th...
I ran into this simple problem. I've added a quick link to the "cappuccinocasts" post for future reference.
Regs PR
a bit later
If you run into a problem running your application using Firefox 3, developing locally along the lines of
“Objective-J.js (line 2178) CPObject is not defined”
and the code will not render, please check this post problem with test app using git repo source (Cappuccino & Objective-J) on google groups by Bakki Kudva ~ is.gd/nuDl
The solution is documented here ~ wiki.github.com/280north/cappuccino/developing-locally-in...
the next day...
On Mon, 2009-03-16 at 19:54 -0700, Chandler Kent wrote:
> So I tried making a change to the AppController.j as described in
> Thomas's 2nd cappuccino cast "building from the source" and now
> Firebug gives me an error even in index-debug.html. The error is:
> "a is not defined file:///home/kentcc/test_app/Frameworks/Debug/Objective-J/Objective-J.js
> Line 2175"
>
I wrote about this yesterday on the list after finding the solution on
google objectivej group asked by "bakki" & answered by "Thomas Balthazar". It's a trivial problem "modifying the security permissions" & the solution is here:
wiki.github.com/280north/cappuccino/developing-locally-in...
1.- Type about:config into the Location Bar (address bar) & press Enter.
2.- Click the “I’ll be carefull, I promise” button xD
3.- Change the security.fileuri.strict_origin_policy: (click False)
> When I load index.html I get the same error as before.
> This is strange. Thoughts?
Try searching groups.google.com/group/objectivej first because
the solution was there. I also pointed out this problem on the tutorial
you mention in the comments so it will be easier to find in the future:
the next day
On Tue, 2009-03-17 at 04:40 -0700, Chandler Kent wrote:
> My security permissions were correct. I forgot to mention that I had
> already changed them so that security.fileuri.strict_origin_policy was
> false. Just to be sure, I changed it to true and got the errors that
> have been previously documented.
>
Ok.
>I have been developing with Cappuccino on this machine for some time
> and it has worked until now when I tried to build my project against
> the source.
>
Meaning the problem could be with the STEAM_BUILD path to the Frameworks libs. The error you get indicates the Frameworks libs are not seen.
A) Could it be the paths? When setting the STEAM_BUILD path in .bash_profile did you check to see if it was visible in the bash shell?
$ echo $STEAM_BUILD
/foo/bar/
If you have created a new project using the tute using
$ steam create foo -l
then check the symbolic links to the Frameworks libs point to where you set them?
B) Did you update the STEAM_BUILD path and forget to update it in the shell?
$ source ~/.bash_profile
>Any other suggestions?
Another thing I can think of is the problem with "ant" accepting sudo on installation?
C) Did you use sudo and pass the sudo command to ant when installing to avoid the "ant" sudo bug?
$ sudo echo
password:
$ ant bootstrap
Can't think of any other causes but I do think it's a "path" to Frameworks problem. Follow the video again, checking the "environment variables" and "sudo" on installation.
next >>>
2009MAR161440
Cappuccino & Objective-J problem with test app using git repo source
On Feb 22, 9:50 pm, Thomas Balthazar wrote:
> In Firefox, by default, local documents don't have access to all other
> local documents. Follow this procedure to develop locally in Firefox
http://wiki.github.com/280north/cappuccino/developing-locally-in-firefox-3
Thanks for writing this problem up. After following the video & comments on "Build Cappuccino from the source" at Cappuccinocasts
- cappuccinocasts.com/2009/02/09/2-build-cappuccino-from-th...
I ran into this simple problem. I've added a quick link to the "cappuccinocasts" post for future reference.
Regs PR
a bit later
If you run into a problem running your application using Firefox 3, developing locally along the lines of
“Objective-J.js (line 2178) CPObject is not defined”
and the code will not render, please check this post problem with test app using git repo source (Cappuccino & Objective-J) on google groups by Bakki Kudva ~ is.gd/nuDl
The solution is documented here ~ wiki.github.com/280north/cappuccino/developing-locally-in...
the next day...
On Mon, 2009-03-16 at 19:54 -0700, Chandler Kent wrote:
> So I tried making a change to the AppController.j as described in
> Thomas's 2nd cappuccino cast "building from the source" and now
> Firebug gives me an error even in index-debug.html. The error is:
> "a is not defined file:///home/kentcc/test_app/Frameworks/Debug/Objective-J/Objective-J.js
> Line 2175"
>
I wrote about this yesterday on the list after finding the solution on
google objectivej group asked by "bakki" & answered by "Thomas Balthazar". It's a trivial problem "modifying the security permissions" & the solution is here:
wiki.github.com/280north/cappuccino/developing-locally-in...
1.- Type about:config into the Location Bar (address bar) & press Enter.
2.- Click the “I’ll be carefull, I promise” button xD
3.- Change the security.fileuri.strict_origin_policy: (click False)
> When I load index.html I get the same error as before.
> This is strange. Thoughts?
Try searching groups.google.com/group/objectivej first because
the solution was there. I also pointed out this problem on the tutorial
you mention in the comments so it will be easier to find in the future:
the next day
On Tue, 2009-03-17 at 04:40 -0700, Chandler Kent wrote:
> My security permissions were correct. I forgot to mention that I had
> already changed them so that security.fileuri.strict_origin_policy was
> false. Just to be sure, I changed it to true and got the errors that
> have been previously documented.
>
Ok.
>I have been developing with Cappuccino on this machine for some time
> and it has worked until now when I tried to build my project against
> the source.
>
Meaning the problem could be with the STEAM_BUILD path to the Frameworks libs. The error you get indicates the Frameworks libs are not seen.
A) Could it be the paths? When setting the STEAM_BUILD path in .bash_profile did you check to see if it was visible in the bash shell?
$ echo $STEAM_BUILD
/foo/bar/
If you have created a new project using the tute using
$ steam create foo -l
then check the symbolic links to the Frameworks libs point to where you set them?
B) Did you update the STEAM_BUILD path and forget to update it in the shell?
$ source ~/.bash_profile
>Any other suggestions?
Another thing I can think of is the problem with "ant" accepting sudo on installation?
C) Did you use sudo and pass the sudo command to ant when installing to avoid the "ant" sudo bug?
$ sudo echo
password:
$ ant bootstrap
Can't think of any other causes but I do think it's a "path" to Frameworks problem. Follow the video again, checking the "environment variables" and "sudo" on installation.
next >>>