puppalasrikanth / google-plugin-for-eclipse

Automatically exported from code.google.com/p/google-plugin-for-eclipse
Eclipse Public License 1.0
0 stars 0 forks source link

[GWT] Plugin creates WEB-INF/lib/gwt-servlet.jar #249

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create non-GWT project
2. Add gwt-servlet.jar to classpath either manually or via maven/ivy
3. Enable GWT support for project

What is the expected output? What do you see instead?
Nothing should happen - gwt-servlet is in classpath. Instead, GWT plugin copies 
this file to WEB-INF/lib.

What version of the product are you using? On what operating system?
3.4.2

Please provide any additional information below.
When looking for gwt-servlet you should scan for specific class in classpath 
and ignore jar names.

Original issue reported on code.google.com by mwisnicki@gmail.com on 19 Nov 2013 at 1:42

GoogleCodeExporter commented 8 years ago
gwt-servlet.jar needs to be in WEB-INF/lib in order for your application to 
work in a servlet container; putting on the build classpath is not enough. 
That's why it is automatically being copied. Is there a reason as to why you 
don't want it in war/WEB-INF/lib?

Original comment by rdayal@google.com on 26 Nov 2013 at 4:32

GoogleCodeExporter commented 8 years ago
Necessary jars are provided by ivy/maven (and they have different names, most 
of it is spread across various vaadin-*.jar files).

Eclipse should absolutely not provide any jars or modify project in any way 
(except when requested by user). I have perfectly good configuration and just 
want GWT plugin features like JSNI editor.

Original comment by mwisnicki@gmail.com on 26 Nov 2013 at 5:06

GoogleCodeExporter commented 8 years ago
Yes, unfortunately GPE doesn't play all that well with Maven right now. We're 
working on this problem (supporting Maven-based GWT and App Engine projects in 
GPE in the proper way). We'll have proper App Engine support this month, with 
GWT support a little after that. 

Original comment by rdayal@google.com on 26 Nov 2013 at 10:55