I add an exclude to my compiler but that does not change anything <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.6</source> <target>1.6</target> <excludes> <exclude>javax/servlet/**</exclude> </excludes> </configuration> </plugin>
I don't understand why this javax classes are in the war... I would like not to add a ant run task to remove those file from the compiled classes directory. On 25 avr, 01:53, "cyril.lakech" <cyril.lak...@gmail.com> wrote: > OK, thank you very much for your answers ! > > @Isaac: I don't know why, these classes just appears in my war ! I > come here to understand. > @Jason: 1st/ OK that is done but that does not solve my problem. 2nd/ > the gwt-user library is never deploy because of the provided scope of > the maven config for this dependency. > @Scott: Good news ! But when I remove the java files, I do not have > any problem... any idea ? > > So what can I do to remove those javax/servlet files from my war under > classes directory ? > > I just got gwt-user in scope provided (I use maven and the gwt-maven- > plugin from codehaus) and then the gwt compilation add the javax/ > servlet class files in my output classes directory and my war... > > Bst rgds, > > On 24 avr, 18:11, Scott Blum <sco...@google.com> wrote: > > > I don't see this in 1.6.4. As far as I can tell, all of the .java files in > > javax/servlet have a timestamp of: > > Tue Jul 22 02:00:00 EDT 2008 > > > All of the .class files have: > > > Tue Jul 22 02:00:30 EDT 2008 > > > The class files are 30 seconds newer than the source files. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---