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

Cyril Lakech commented on MGWT-48:
----------------------------------

I manage to remove the javax directory from the war with the 
maven-antrun-plugin and the delete ant task :

                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-antrun-plugin</artifactId>
                                <executions>
                                        <execution>
                                                <id>remove-javax</id>
                                                <phase>compile</phase>
                                                <configuration>
                                                        <tasks>
                                                                <delete 
dir="${project.build.directory}/classes/javax" />
                                                        </tasks>
                                                </configuration>
                                                <goals>
                                                        <goal>run</goal>
                                                </goals>
                                        </execution>
                                </executions>
                        </plugin>

A better solution would be welcome... 

> Problem with javax servlet of gwt-user in my war
> ------------------------------------------------
>
>                 Key: MGWT-48
>                 URL: http://jira.codehaus.org/browse/MGWT-48
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: gwt 1.6.4, maven 2, win XP/linux RH5
>            Reporter: Cyril Lakech
>            Assignee: nicolas de loof
>            Priority: Critical
>             Fix For: 1.1
>
>
> I got a problem discussed here : 
> http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/d4dd93967b8231e7?pli=1
> When I compile my GWT application, the javax/servlet java files are compiled 
> and gwt put them in the classes package of the output directory. So the 
> javax/servlet classes are in the war of the project and all the applications 
> servers embedded this library already.
> So we got a wonderfull linkage error at runtime. 
> Could you help me about this ?
> I use the gwt-maven-plugin to build, and the javax/servlet directory from the 
> gwt-user library is in my war and that create some linkage error on 
> tomcat/jboss etc...
> Bst Rgds,

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