Re: GWT 2.0 Eclipse Plugin Not Working

2010-01-07 Thread Hethcox
It turns out that my classpath was too long. I was in the habit of
just adding all of the JBoss libraries to my path. This was ok under
GWT 1.7.1, but I guess the way GWT 2.0 launches Jetty causes a
problem. I refined the classpath and things are working well.


On Jan 7, 4:29 am, Sorinel C scristescu...@hotmail.com wrote:
 Why don't you check 
 herehttp://ui-programming.blogspot.com/2009/12/update-your-application-to...
 where you have the most important steps of upgrading a GWT application
 to version 2.0 ?

 I think it will help you...

 Cheers!
-- 
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.




GWT 2.0 Eclipse Plugin Not Working

2010-01-06 Thread Hethcox
Hi,
I'm attempting to get my project working in GWT 2.0 under Eclipse 3.5
on Windows XP. The project was previously running under 1.7.
Everything is working except jetty under Eclipse. (I separately
compile and deploy the app to JBoss and it works fine). When I attempt
to debug the app under Eclipse (Debug As-Web Application) I get
nothing. It just sits there. Sometimes some text appears at startup in
the console, but it disappears immediately. There is no process bound
to the relevant port so I don't think jetty is starting.

I assume I'm supposed to get the same console that appears when you
run DevMode under java. Is that correct? Any thoughts?

Cheers,
John
-- 
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: GWT 2.0 Eclipse Plugin Not Working

2010-01-06 Thread Keith Platfoot
Hi John,

When you try to debug the app in Eclipse, what is the debug process command
line?  You can find this by right-clicking the java process in the Debug
view in the Debug perspective, and selecting Properties.  Also, there might
be something useful in your workspace error log (Eclipse
workspace/.metadata/.log), so if you can send that it may be helpful in
diagnosing the problem.

To answer your last question, no, the Google Eclipse Plugin includes an
embedded Development Mode log view that is used instead of the standard Java
console you'd see if you launched dev mode from the command line.  The
embedded view should appear automatically when you debug a Web App project.
 However, since you mentioned Jetty does not appear to be starting, I
suspect the problem is not with the view.

Let's start by inspecting your debug process args and error log, and go from
there.

Keith

On Wed, Jan 6, 2010 at 3:36 PM, Hethcox heth...@gmail.com wrote:

 FWIW I created a new project with 2.0 and it works fine.

 On Jan 6, 2:16 pm, Hethcox heth...@gmail.com wrote:
  Hi,
  I'm attempting to get my project working in GWT 2.0 under Eclipse 3.5
  on Windows XP. The project was previously running under 1.7.
  Everything is working except jetty under Eclipse. (I separately
  compile and deploy the app to JBoss and it works fine). When I attempt
  to debug the app under Eclipse (Debug As-Web Application) I get
  nothing. It just sits there. Sometimes some text appears at startup in
  the console, but it disappears immediately. There is no process bound
  to the relevant port so I don't think jetty is starting.
 
  I assume I'm supposed to get the same console that appears when you
  run DevMode under java. Is that correct? Any thoughts?
 
  Cheers,
  John

 --
 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 

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: GWT 2.0 Eclipse Plugin Not Working

2010-01-06 Thread Hethcox
Thanks Keith,
Here's the debug command line:

 C:\Program Files\Java\jdk1.6.0_16\bin\javaw.exe -
agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:4615 -
Xmx512m -Dfile.encoding=Cp1252 -classpath C:\XCAFE\CDM550Frontend
\src;C:\XCAFE\CDM550Frontend\war\WEB-INF\classes; [skip a bit,
brother] C:\Software Tools\gwt-2.0.0\gwt-dev.jar
com.google.gwt.dev.DevMode -war C:\XCAFE\CDM550Frontend\war -logLevel
INFO -remoteUI 4614:71449176286092 -port 
com.global.xcafe.cdm550.CDM550



On Jan 6, 4:02 pm, Keith Platfoot kplatf...@google.com wrote:
 Hi John,

 When you try to debug the app in Eclipse, what is the debug process command
 line?  You can find this by right-clicking the java process in the Debug
 view in the Debug perspective, and selecting Properties.  Also, there might
 be something useful in your workspace error log (Eclipse
 workspace/.metadata/.log), so if you can send that it may be helpful in
 diagnosing the problem.

 To answer your last question, no, the Google Eclipse Plugin includes an
 embedded Development Mode log view that is used instead of the standard Java
 console you'd see if you launched dev mode from the command line.  The
 embedded view should appear automatically when you debug a Web App project.
  However, since you mentioned Jetty does not appear to be starting, I
 suspect the problem is not with the view.

 Let's start by inspecting your debug process args and error log, and go from
 there.

 Keith

 On Wed, Jan 6, 2010 at 3:36 PM, Hethcox heth...@gmail.com wrote:
  FWIW I created a new project with 2.0 and it works fine.

  On Jan 6, 2:16 pm, Hethcox heth...@gmail.com wrote:
   Hi,
   I'm attempting to get my project working in GWT 2.0 under Eclipse 3.5
   on Windows XP. The project was previously running under 1.7.
   Everything is working except jetty under Eclipse. (I separately
   compile and deploy the app to JBoss and it works fine). When I attempt
   to debug the app under Eclipse (Debug As-Web Application) I get
   nothing. It just sits there. Sometimes some text appears at startup in
   the console, but it disappears immediately. There is no process bound
   to the relevant port so I don't think jetty is starting.

   I assume I'm supposed to get the same console that appears when you
   run DevMode under java. Is that correct? Any thoughts?

   Cheers,
   John

  --
  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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
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.