One more spam from me, I got this to work, would this suffice:

<plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-war-plugin</artifactId>
                                <configuration>
                                        <webXml>target/web.xml</webXml>
                    <warSourceExcludes>.gwt-tmp/**</
warSourceExcludes>
                                </configuration>
                        </plugin>


Note that you have to have war plugin 2.0.1 or 2.1 alpha for the
"warSourceExcludes" param to work, with 2.0 it seems to not get
applied.


On Oct 2, 2:28 pm, Charlie Collins <[EMAIL PROTECTED]> wrote:
> I am adding this to the tracker, I tried filtering a few ways, and
> indeed, I end up with the .gwt-tmp files in my WAR.  And, I stand
> corrected on GWT-Maven not outputting anything to the war dir.  It
> does.  Really the GWTCompiler does, the .gwt-tmp files end up there
> because they are part of the -out location which itself defaults to
> the webappLocation.  For example:  -out /data/ccollins/projects/maven-
> googlewebtoolkit2-plugin/sim
> plesample/target/maven-gwt-sample-1.0-SNAPSHOT.
>
> I will add this to the tracker and spend more time on it at some
> point.
>
> Right now though, I am trying to write an Android book that is due in
> two weeks, outside of my "day job" ;) - so any help would be greatly
> appreciated.
>
> On Oct 2, 1:01 pm, Charlie Collins <[EMAIL PROTECTED]> wrote:
>
> > Yes, there are a few other types of resources that may be necessary
> > too (other stuff the shell needs, for server side resources, etc).
>
> > I will look into this more though, I thought the regular filtering via
> > the webapp plugin still worked for WARs (who cares what's in the
> > shell, as long as it works, but deployment artifacts do need to be
> > clean).
>
> > What setup did you try to filter the resources?
>
> > I believe if you do something like this to configure the WAR plugin,
> > it works fine?
>
> > <webResources>
> >             <resource>
> >               <directory>target/gwt</directory>
> >               <excludes>
> >                 <!-- Filter out unwanted build artifacts -->
> >                 <exclude>**/whatever/**</exclude>
> >               </excludes>
> >             </resource>
> >           </webResources>
>
> > Maybe it would be sufficient to add that to the FAQ?  Try that please,
> > if you haven't, and let me know if it accomplishes what you are trying
> > to do.
>
> > On Oct 2, 9:17 am, MiSt <[EMAIL PROTECTED]> wrote:
>
> > > > And this solved my problems. Are there any reasons why this lines are
> > > > necessarry ?
>
> > > Ok, I can answer my own question ;).
>
> > > Thanks to resources dir at classpath you can edit css files and see
> > > changes without  gwt browser restart.
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"gwt-maven" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/gwt-maven?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to