saiddfhi / gwt-maven

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

runtime classpath different from compile, breaks hosted mode #139

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Is this Maven 1 or Maven 2?
Maven 2

What steps will reproduce the problem?
1. Include third party GWT module as a dependency scoped as compile and
inherit it in your .gwt.xml file.
2. Run gwt:gwt and watch the gwt:compile goal include third party jar in
classpath (as displayed in DEBUG SCRIPT CLASSPATH LIST).
3. The classpath for the gwt:gwt goal includes everything except the third
party jar.
4. Hosted mode launches complaining that the jar is not in the classpath.

What is the expected output? What do you see instead?
The expected output is to have the jar file included both in compilation
and running hosted mode. What happens is it's not included and hosted mode
blows up.

What version of the product are you using? On what operating system?
Using the 2.0-ccbranch-beta22 on Ubuntu 7.10.

Please provide any additional information below.
I've tried scoping the third party module as runtime, but that didn't have
any effect (and made the gwt:compile goal fail).

Original issue reported on code.google.com by arthur.k...@gmail.com on 28 Aug 2008 at 2:17

GoogleCodeExporter commented 9 years ago
resolved in 2.0-beta22-SNAPSHOT

Original comment by charlie....@gmail.com on 28 Aug 2008 at 2:19

GoogleCodeExporter commented 9 years ago
You can find Charlie's solution here:
http://groups.google.com/group/gwt-maven/msg/cc6662552b4bb0f1?hl=en

Original comment by arthur.k...@gmail.com on 28 Aug 2008 at 3:50