[ 
http://jira.codehaus.org/browse/MGWT-282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=262083#action_262083
 ] 

Kazimierz Pogoda edited comment on MGWT-282 at 3/31/11 9:47 AM:
----------------------------------------------------------------

The workaround that really worked for me was to set:

{code}
<out>${project.name}/target/www-test</out>
{code}

But then spare directory named ${project.name}/target/www-test is also created.


      was (Author: morisil):
    The workaround that really worked for me was to set:

{code}
<out>${project.name}/target/www-test</out>
{code}

But then spare directory named {{${project.name}/target/www-test}} is also 
created.

  
> out parameter for gwt:test configuration has wrong default
> ----------------------------------------------------------
>
>                 Key: MGWT-282
>                 URL: http://jira.codehaus.org/browse/MGWT-282
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Kazimierz Pogoda
>
> According to:
> http://mojo.codehaus.org/gwt-maven-plugin/test-mojo.html#out
> the {{out}} configuration parameter defaults to: {{target/www-test}}
> It is not correct for multi-module maven projects, because every {{gwt:test}} 
> run within specific module will output files to the {{target}} directory of 
> the master project (parent {{pom}}).
> Simple workaround is to specify the following {{out}} parameter for each 
> maven module which contains gwt tests:
> {code}
>   <build>
>     <plugins>
>       <plugin>
>         <groupId>org.codehaus.mojo</groupId>
>         <artifactId>gwt-maven-plugin</artifactId>
>         <executions>
>           <execution>
>             <goals>
>               <goal>test</goal>
>             </goals>
>             <configuration>
>               <out>${project.build.directory}/www-test</out>
>             </configuration>
>           </execution>
>         </executions>
>       </plugin>
>     </plugins>
>   </build>
> {code}
> It seems that this should be the default.

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