[
http://jira.codehaus.org/browse/MGWT-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
nicolas de loof closed MGWT-77.
-------------------------------
Assignee: nicolas de loof
Resolution: Fixed
Fix Version/s: 1.1
The executedProject MAY not have runtime dependencies resolved as only compile
phase is executed on it
Fixed by using a separate ${project.artifacts} for dependencies and
executedProject for sourceRoots
> gwt:run does not use the 'runtime' scope's classpath.
> -----------------------------------------------------
>
> Key: MGWT-77
> URL: http://jira.codehaus.org/browse/MGWT-77
> Project: Maven 2.x GWT Plugin
> Issue Type: Bug
> Affects Versions: 1.1
> Reporter: Gabe
> Assignee: nicolas de loof
> Fix For: 1.1
>
>
> I have a war project with several dependencies in the "runtime" scope.
> If I build the .war and run it in an application server, it works perfectly.
> If I run the project using gwt:run (hosted mode), the embedded Tomcat
> complains that classes on the 'runtime' scope are not present. Switching all
> runtime-only dependencies to the 'compile' scope solves the problem.
> This is suboptimal and results in a number of dependencies being included in
> the .war that should not be there.
> I'm solving this using a hosted-mode profile for the moment.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email