Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » IAM (Eclipse Integration for Apache Maven) » IAM & GWT plugin for multi-module project
IAM & GWT plugin for multi-module project [message #512071] Wed, 03 February 2010 14:34 Go to next message
No real name is currently offline No real name
Messages: 4
Registered: February 2010
Junior Member
Hi,

I'm using IAM, WTP and the GWT Google Plugin for Eclipse (http://code.google.com/eclipse) for a multi-module project (using flat structure):
.
|-- core
| `-- pom.xml
|-- gwt
| `-- pom.xml
`-- parent
`-- pom.xml

When I run my application as a GWT application (using the Google plugin), my "gwt" project is only using classes from the installed "core.jar" instead of using classes from the open project "core". The classpath used to run my application via the Googel plugin is not configured as the classpath used by WTP when I'm running my application on server (in this case it uses the open project instead of the installed jar).

IAM and Google plugin were working fine with a single module project, but not anymore with multi-modules Sad

I know that this could be related to the Google Plugin (I will also post this on their side) but maybe someone had this problem here...

Any ideas?

Thanks

Cedric
Re: IAM & GWT plugin for multi-module project [message #512084 is a reply to message #512071] Wed, 03 February 2010 15:51 Go to previous messageGo to next message
Carlos Sanchez is currently offline Carlos Sanchez
Messages: 114
Registered: July 2009
Senior Member
so you are saying that java works fine (everything compiles with the open project), WTP works fine, and the only issue is with the GWT plugin?

you'd need to check the classpath to see if the GWT plugin is contributing a new classpath container. It's strange because IAM publishes the dependencies to both JDT and WTP and that's where GWT should take theirs from
Re: IAM & GWT plugin for multi-module project [message #512378 is a reply to message #512084] Thu, 04 February 2010 14:51 Go to previous message
No real name is currently offline No real name
Messages: 4
Registered: February 2010
Junior Member
Hi,

Yes it seems that the only issue is GWT plugin (but it was working fine with a single module project).

I'm not very familiar with eclipse plugin classpath... how can I check the classpath used by GWT plugin ?

The GWT team is now working on a new version of their plugin to finally support Maven Smile
Here is the discussion about GWT, Maven and Eclipse:
http://groups.google.com/group/google-web-toolkit/browse_thr ead/thread/b43de4bb51a0ea2d/8ff67143cce64e19?#8ff67143cce64e 19

Cedric
Previous Topic:[ANN] Eclipse IAM 0.11.0
Next Topic:IAM & GWT plugin for multi-module project
Goto Forum:
  


Current Time: Wed Apr 16 21:08:20 EDT 2014

Powered by FUDForum. Page generated in 0.02815 seconds