Re: using eclipse GPE and WTP

2011-03-08 Thread Martin Trummer
Thank you Thomas - I think, now I found the problem.

It seems, I've selected the wrong war directory when I first started
my launch config.
Now I have just fixed the -war parameter in the launch config to point
into the WTP tomcat server instance.
in my case: -war D:\_development\_eclipse_workspace\dsm\.metadata
\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\appGwtDsm
(before it was set to src/main/webapp and thus neither eclipse, nor
the tomcat server recognised the new/changed files)

another question related to the -war path:
I tried to use a local path instead, but eclipse keeps telling me that
this dir does not exist:
${workspace_loc:/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/
wtpwebapps/appGwtDsm}
Any ideas what the problem could be?

On 22 Feb., 11:37, Thomas Broyer t.bro...@gmail.com wrote:
 On Tuesday, February 22, 2011 11:30:28 AM UTC+1, Martin Trummer wrote:

  Thanks for the reply - it is actually what I used to setup the project
  (almost - I used the maven entry below)

  So, does it work for you, if you start the server first (from a clean
  project) and then start the GWT development mode?
  (if so, then I have made some mistake in my setup)

 Yes, I confirm it works for us (5 developers, using Jetty-WTP, and using
 Maven too, with m2eclipse-WTP).

 I'm looking towards using the jetty-maven-plugin though, as we're having
 issues with WTP (classes not deployed to the server, sometimes even
 dependencies' JARs)

-- 
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-toolkit@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: using eclipse GPE and WTP

2011-02-22 Thread Martin Trummer
Thanks for the reply - it is actually what I used to setup the project
(almost - I used the maven entry below)

So, does it work for you, if you start the server first (from a clean
project) and then start the GWT development mode?
(if so, then I have made some mistake in my setup)


On Feb 18, 3:12 pm, Thomas Broyer t.bro...@gmail.com wrote:
 Seehttp://code.google.com/eclipse/docs/faq.html#gwt_in_eclipse_for_java_eefor
 the official recommended way.

 This is what we're using too, works quite well.

-- 
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-toolkit@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: using eclipse GPE and WTP

2011-02-22 Thread Thomas Broyer

On Tuesday, February 22, 2011 11:30:28 AM UTC+1, Martin Trummer wrote:

 Thanks for the reply - it is actually what I used to setup the project 
 (almost - I used the maven entry below) 

 So, does it work for you, if you start the server first (from a clean 
 project) and then start the GWT development mode? 
 (if so, then I have made some mistake in my setup)


Yes, I confirm it works for us (5 developers, using Jetty-WTP, and using 
Maven too, with m2eclipse-WTP).

I'm looking towards using the jetty-maven-plugin though, as we're having 
issues with WTP (classes not deployed to the server, sometimes even 
dependencies' JARs)

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



using eclipse GPE and WTP

2011-02-18 Thread Martin Trummer
hi,

I am using google plugin for eclipse and start my tomcat server
instance via the eclipse-WTP servers view.
Basically it works, but the first start is quite inconvenient and I
wonder, if anyone knows a better way to do this.

so here is what I need do to start the gwt-app.

when I checkout a clean version of my project, the war folder includes
only the web.xml and WEB-INF folder.
now I start my 'Web Application' run-configuration which has the -war
attribute set to the war folder.
when this starts up, it will create the MODULE directory in my war
folder (which inlcudes hosted.html, etc.)

but eclipse does not see these files yet: I have to manuall refresh my
project.

when I now start the browser (by dbl-clicking the entry in the
Development Mode view, the .gwt.rpc files will be created in my
MODULE directory.
again I have to manually refresh the project in eclipse Package
Explorer view

now I can start my server and then I need to refresh the browser and
everything will work.

*
when I start the server first and then the development, the files will
automatically be copied to the web-servers exploded war directory, but
the client-server communication will not work: I get
SerializationExceptions

cheers, martin


-- 
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-toolkit@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: using eclipse GPE and WTP

2011-02-18 Thread Thomas Broyer
See http://code.google.com/eclipse/docs/faq.html#gwt_in_eclipse_for_java_ee for 
the official recommended way.

This is what we're using too, works quite well.

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