maven-gwt-plugin and super-source

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

maven-gwt-plugin and super-source

Geoffrey De Smet

In our gwt.xml we have something like this:

// src/main/resources/org/uberfire/myModule.gwt.xml
   <super-source path='jre'/>

That super-source is to emulate the with this file:

// src/main/resources/org/uberfire/java/nio/jre/java/io/
public class File {}

This compiles in Maven, but causes 2 issues:
- IntelliJ/Eclipse compiles java files in src/main/resources too, so it
compiles that and breaks
- That file is copied (not compiled) as a resource into the jar.

Is there a better way to deal with super-source dirs?

To unsubscribe from this list, please visit: