grprakash / cypal-studio

Automatically exported from code.google.com/p/cypal-studio
0 stars 0 forks source link

Run Configuration doesn't make "running in -noserver mode" very clear #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a new GWT Module using Cypal and write some simple "Hello, World"
onModuleLoad() code in the entrypoint class.
2. Creating a new "GWT Hosted Mode Application" Run configuration using Cypal
3. Select the "parameters" tab in the run configuration.
4. Discover that the -noserver and "use default URL" run config parameters
are a little ambiguous.

What is the expected output? What do you see instead?
In the Run Configuration, it's a little unclear how to run in -noserver
mode. Also, I'm not entirely clear what is meant by the "Use default URL"
option. I assume this is in the case that I am using -noserver mode and
have to specify the URL to the host HTML page on my web server. If this is
true, then wouldn't unchecking the "Use Embedded Tomcat Server" also
uncheck the "Use default URL" checkbox? I suggest using a new design for
the arguments in this page with mutually exclusive radio buttons and check
boxes. Something like:

On the left hand-side:
<radio button> Use Embedded Tomcat Server
  <checkbox> Use default URL (enabled if Use Embedded Tomcat Server is
selected, checked by default)
  <textbox> URL: (enabled if Use default URL is unchecked)

On the right hand side:
<radio button> Run in -noserver mode
 <textbox> URL:

Original issue reported on code.google.com by sumitcha...@google.com on 10 Oct 2007 at 8:09

GoogleCodeExporter commented 9 years ago
No server and the URL are independent parameters. One can change the URL even 
when
using the embedded tomcat. See Bruce's reply in this thread:

http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/338c4b765
d7dfc39/a8b19a34e036dba1?lnk=gst

So I guess its better to leave the current configuration as it is

Original comment by grprakash on 20 Oct 2007 at 8:22