Hi all,

I have a problem that seems simple, but I can't solve it.

I am working on an application in a RESTful environment: the GWT-app
needs to be able to POST and GET from a webserver. This server will be
the same as the one that will host the GWT-application, so in the
final deployed application, SOP (Same Origin Policy) will be no
problem.

Development however takes place on my own machine, and from my local
machine, there seems to be no way to test the POST- and GET-code with
the actual server.

I can live with the hassle of 'change code'-'deploy to server'-'test
there' in the final stages of development - this is the way I also
work when developing ordinary HTML and Javascript. But the 'deploy to
server'-step is then typically done using subversion, which is
impossible to do in the case of GWT, because with every compilation
the whole directory structure, including the .svn-stuff required for
svn, is eradicated and replaced with a fresh copy of the module.


I have two questions:
1. is there ANY way in which an application in hosted mode on a local
machine can access an outside server? It seems that in the case of
Hosted Mode + local machine, a SOP-exception could safely be made, or,
if the SOP policy is enforced by WebKit, a proxy in the Tomcat server
could be configured to proxy local POSTs and GETs to an outside
domain.

2. How to quickly deploy over and over again, without things like FTP?
Is there a way to tell the GWT compiler to leave existing files and
directories in place?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to