Investigate config for Surefire that supports GWTTestCase
---------------------------------------------------------

                 Key: MGWT-30
                 URL: http://jira.codehaus.org/browse/MGWT-30
             Project: Maven 2.x GWT Plugin
          Issue Type: Task
            Reporter: Charlie Collins
            Priority: Minor


Instead of using a special Test mojo that lines up all the GWTTestCase based 
testing support, investigate some more Surefire options for getting them to 
work with Surefire.  I tried about 700 things and researched this for a few 
days in the past, but a user on the GWT-Maven group reports he got it to work 
(his config below).  Investigate this further at some point and reconsider 
whether or not we need a test mojo if it works. 

>From Miles in the forum, this setup is supposed to work:

<plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-surefire-plugin</artifactId>
                                <version>2.4.3</version>
                                <configuration>
                                        <additionalClasspathElements>
                                               
<additionalClasspathElement>${project.build.sourceDirectory}</
additionalClasspathElement>
                                               
<additionalClasspathElement>${project.build.testSourceDirectory}
</additionalClasspathElement>
                                        </additionalClasspathElements>
                                       
<useSystemClassLoader>true</useSystemClassLoader>
                                       
<useManifestOnlyJar>false</useManifestOnlyJar>
                                        <forkMode>always</forkMode>
                                        <systemProperties>
                                                <property>
                                                        <name>gwt.args</name>
                                                        <value>-out
target/www</value>
                                                </property>
                                        </systemProperties>
                                        <argLine>-Xmx256m</argLine>
                                </configuration>
                        </plugin> 


-- 
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


Reply via email to