saiddfhi / gwt-maven

Automatically exported from code.google.com/p/gwt-maven
0 stars 0 forks source link

Scope runtime and compile BOTH should be present for the GWTShell (GWTMojo) #161

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
2.0-beta24 changed the GWTMojo scope to COMPILE, at the request of several
users.  And, it makes sense in most cases (gives you compile and provided
deps, but not runtime deps). 

2.0-beta23 had runtime, also at the request of users.  We have been back
and forth on this a few times. 

What the shell really needs is BOTH. The shell is special and we should do
compile on the @requiresDepedencyRes annotation, as it is now, but then
also manually resolve the RUNTIME deps and add them to the shell classpath.
 (Will probably have to re-resolve deps in the classpath util.)

Original issue reported on code.google.com by charlie....@gmail.com on 3 Oct 2008 at 11:16

GoogleCodeExporter commented 9 years ago
beta24 breaks my gwt:gwt because it does not package/assemble the webapp. I 
have GWT srcs in one dir, and 
other HTML artifacts in another dir; the war plugin joins them.

Original comment by reentry.espresso@gmail.com on 7 Oct 2008 at 9:36

GoogleCodeExporter commented 9 years ago

Original comment by charlie....@gmail.com on 5 Nov 2008 at 9:23

GoogleCodeExporter commented 9 years ago
We just stumbled across this issue.
We have defined our JDBC driver as runtime dependency.
Starting with version 2.0-beta24, we get ClassNotFoundException for the driver 
class
when running 'mvn gwt:gwt'.

As a workaround we changed it to a dependency with compile-scope, but this 
cannot be
the solution?!.
What's the reasoning behind this change?

Thanks,
Holger

Original comment by holger.b...@googlemail.com on 28 Jan 2009 at 7:54

GoogleCodeExporter commented 9 years ago
Fixed in unknown revision

Original comment by keber...@gmail.com on 22 Mar 2009 at 9:20

GoogleCodeExporter commented 9 years ago
In 2.0-RC1. 

Original comment by charlie....@gmail.com on 3 Apr 2009 at 1:16