Hello,

I'm trying to setup surefire plugin to run GWTTestCase. This requires some
custom setup as the "hosted mode browser" requires GWT to read the java
source code :

        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <additionalClasspathElements>

<additionalClasspathElement>src/it/java</additionalClasspathElement>

<additionalClasspathElement>src/main/java</additionalClasspathElement>
          </additionalClasspathElements>
          <systemProperties>
            <property>
              <name>gwt.args</name>
              <value>-out target/www-test -logLevel ALL</value>
            </property>
          </systemProperties>
          <argLine>-Xmx256M</argLine>
        </configuration>


Myissue is that - according to GWT log -- GWT does only lookup the
surefire.class.path (JRE rt.jar + surefirebooter.jar), and not all other
dependencies or additionalClassPathElements. It seems the classloader
hierarchy used by surefire that is not supported by GWTTestCase.

Any suggestion to get this working ?

Reply via email to