We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › Errors With G4P (GUI 4 processing) When Deploying
Page Index Toggle Pages: 1
Errors With G4P (GUI 4 processing) When Deploying (Read 1104 times)
Errors With G4P (GUI 4 processing) When Deploying
Dec 29th, 2009, 4:58am
 
Note: the urls in this message are modified by necessity, since the forum will not let me post links to my code otherwise (<5 posts).

Hi,
I have been using Peter Lager's G4P library, and it is working well on my local machine (I am developing in eclipse).

Also when i export it and open the local html file in a browser it still works.

However, once I deploy it to my server I am getting the following errors from G4P:

http ://pastebin.com/m77dc5675

In particular, the problematic part is:

http ://pastebin.com/m1ec68b65

I do not get these error messages when running the applet locally on my computer, any idea why these methods will suddenly become invisible when deployed on the server?

The source code can be found here:
http ://code.google.com/p/ido-files/source/browse/#svn/branches/workspace/PrisonEscap
e/src

and the entry point is:
http ://code.google.com/p/ido-files/source/browse/branches/workspace/PrisonEscape/src
/PrisonEscape.java

As you can see the aforementioned methods are defined in the PrisonEscape class.

Thanks,
Ido.
Re: Errors With G4P (GUI 4 processing) When Deploying
Reply #1 - Dec 31st, 2009, 1:42am
 
Hi Ido

I have checked out the PrisonEscape from the SVN and although I can't run it as I don't have the other libraries I can't see a problem and you say it works fine in Eclipse anyway.

I think I know what the problem is but before I commit myself to an answer I need to know how you deploy the applet to a web server. Is it
(1) transfer to Processing and then use the Export option to create the applet code and HTML.
(2) some other way - if so how?

Page Index Toggle Pages: 1