Must recompile to see changes

2010-12-22 Thread Adrian
Hi,

Newbie to GWT here.

When running the Set up Eclipse tutorial, I notice that I have to do a
GWT Recompile before I can see changes.

In other words this part of the tutorial is'nt working right for me.

--
Look inside the MyWebApp.java file in the client package. Line 40
constructs the send button.

final Button sendButton = new Button(Send);

Change the text from Send to Send to Server.

final Button sendButton = new Button(Send to Server);

Now, save the file and simply click Refresh back in your browser to
see your change. The button should now say Send to Server instead of
Send.

---

I must be missing something. Any assistance would be appreciated.

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Must recompile to see changes

2010-12-22 Thread Jim Douglas
If you're using the URL that includes ?gwt.codesvr=1.2.3.4:9997, then
you're using DevMode.  In that mode, you don't have to do a GWT
compile to JavaScript after saving every change (but you do have to
reload the web page).  If you're using the URL that does not include
the gwt.codesvr stuff, then you're running production JavaScript.  In
that mode, you do need to do a GWT compile to see changes.  This
article goes through the core concepts:

http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html

On Dec 22, 8:50 am, Adrian alie...@gmail.com wrote:
 Hi,

 Newbie to GWT here.

 When running the Set up Eclipse tutorial, I notice that I have to do a
 GWT Recompile before I can see changes.

 In other words this part of the tutorial is'nt working right for me.

 --
 Look inside the MyWebApp.java file in the client package. Line 40
 constructs the send button.

 final Button sendButton = new Button(Send);

 Change the text from Send to Send to Server.

 final Button sendButton = new Button(Send to Server);

 Now, save the file and simply click Refresh back in your browser to
 see your change. The button should now say Send to Server instead of
 Send.

 ---

 I must be missing something. Any assistance would be appreciated.

 Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Must recompile to see changes

2010-12-22 Thread Nirmal Patel
Hi Adrian,
I presume you have installed the GWT plugin in Eclipse.
You will also need to install the GWT dev mode browser plugins.

To start dev-mode; Run As - Web Application (it will prompt you to select 
your entry module when running first time)
A Devlopment Mode view will open and once loaded; you will get a Launch 
URL like: http://127.0.0.1:/YourHTMLFile.html?gwt.codesvr=127.0.0.1:9997

Launch this URL in a browser you want to test in. If you dont have the GWT 
browser plugin installed already; it will present you a link to download the 
same; download and install it.
Once the plugin is installed; you should be able to see your application 
running in the browser.

Any changes you make in code henceforth will be visible in dev-mode by 
refreshing the browser.

Regards,
Nirmal

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.