thx thomas,

i should mention that gwt:run works fine. is there a way to see conflicting 
dependencies? to get rid of the conflicting derby dependency i used "mvn 
dependency:tree -Dverbose". This shows only one conflict for gwt stuff:

[INFO] |  +- (javax.validation:validation-api:jar:1.0.0.GA:provided - 
omitted for duplicate)
[INFO] |  \- (javax.validation:validation-api:jar:sources:1.0.0.GA:provided 
- omitted for duplicate)

(Maven should handle all conflicts)

i just tried to added 

<configuration>
<runClasspathExcludes>
<excludes>org.eclipse.birt.runtime-4.2.0.jar</excludes>
</runClasspathExcludes>
<configuration>

to gwt-maven-plugin's configuration but it changes nothing. - not sure if i 
've done it right?
Is there an example for the long term solution you suggested? I guess with 
modules you mean maven modules? - Such an big change in projects 
configuration i only want to do if i am sure that this solves my current 
problem and there's no easier way.

On Wednesday, 12 September 2012 14:48:59 UTC+2, Thomas Broyer wrote:
>
>
> On Wednesday, September 12, 2012 2:07:06 PM UTC+2, tanteanni wrote:
>>
>> i did some researches: the hosted mode stops working if i only add the 
>> dependency - without using it. as mentioned above i checked out the 
>> revision before adding and using this lib. based on that revision i only 
>> added the dependency to pom and the hosted mode stops working. on deleting 
>> the dependency it is working again.
>
>
> Incompatibility with some (embedded) dependency of GWT? (ECJ/JDT maybe, or 
> some Apache Commons)
>
> Short-term solution: exclude BiRT from the DevMode classpath (try using 
> "mvn gwt:run" or "mvn gwt:debug" to launch the DevMode, and use 
> runClasspathExcludes to exclude BiRT: 
> http://mojo.codehaus.org/gwt-maven-plugin/debug-mojo.html#runClasspathExcludes
> )
> Long-term solution: use separate modules for client-side and server-side 
> (and shared) code, so that your client-side module only has dependencies on 
> client-side libraries, that are much less likely to collide with the 
> DevMode (and Compiler, BTW).
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/gOJY5kPq5gMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to