I can do that with this configuration (maven). I put in bold the important
configuration.

<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<configuration>
<!-- La opcion de useFileMappedBuffer no me anduvo
http://stackoverflow.com/questions/184312/how-to-make-jetty-dynamically-load-static-pages-->
<!--
http://false.ekta.is/2010/12/jettyrun-maven-plugin-file-locking-on-windows-a-better-way/-->
<connectors>
<!-- work around file locking on windows -->
*<connector implementation="org.eclipse.jetty.server.bio.SocketConnector">*
<port>8080</port><!-- this connector defaults to 1300 for some
reason -->
</connector>
</connectors>
<!-- scanIntervalSeconds>1</scanIntervalSeconds -->
        <webApp> .... </webApp>
<contextXml>${basedir}/src/main/webapp/WEB-INF/jetty-context.xml</contextXml>

</configuration>

jettycontext:

<Configure class="org.eclipse.jetty.webapp.WebAppContext">
     <Call name="setAttribute">
      <Arg>org.eclipse.jetty.server.webapp.WebInfIncludeJarPattern</Arg>

<Arg>.*/.*foo-api-[^/]\.jar$|./.*bar-[^/]\.jar$|./.*wibble[^/]*\.jar$</Arg>
    </Call>
</Configure>


I can not make it works with jetty 9.x, it works
with: <jetty-maven-plugin.version>8.1.10.v20130312</jetty-maven-plugin.version>

I run using mvn jetty:run. The gwt dev mode works with "noserver" argument.

Juan


2014-03-20 16:20 GMT-03:00 Marc <[email protected]>:

> Using "mvn gwt:run", you need to place your stylesheet into the source
> folder. The jetty app seems to ignore the resources folder when looking for
> updates.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to