Hello guys,

  I was wondering if there is a way to configure maven to deploy on 
jetty gwt code without recompile of client classes, i.e. with using of 
excludes in the scanTargetPattern configuration. Currently I'm having a 
completed set up of GWT with maven and jetty and I'm trying to  speed up 
the redeployment of the static content in hosted mode. At the moment 
I've tried two types of deployment:

Packaging of the application and running jetty with webdir pointing to 
the target directory.  To do that I'm executing the following command:
/mvn package jetty:run -Dwebdir=target/myapp-0.0.1-SNAPSHOT//

When I deploy my application and I change some of the html files, the 
application doesn't refreshes them. The problem is obvious - html pages 
are not redeployed to the target directory on save. Here I want to 
mention that I'm using eclipse as a development environment and maven 
goal's are started from eclipse.

The second situation is when jetty is started with webdir pointing to 
the src/main/webapp/. In this case the static content and jsp page are 
reloading like a charm but the problem is that when I change some GWT 
class Jetty reloads the context. Currently it is done for a few seconds 
but If I add few more libraries to my project like hibernate and spring 
this time will be much longer than now.

I've tried to exclude the client classes with the followed pattern:
<scanTargetPatterns>
    <scanTargetPattern>
         <directory>target//myapp-0.0.1-SNAPSHOT//</directory>        
                                            
                            <excludes>
                                <exclude>**/Admin.class</exclude>        
                       
                            </excludes>                          
    </scanTargetPattern>
</scanTargetPatterns>

But this pattern is not working correctly. I don't know where exactly is 
the problem. Probably I'm doing something wrong or maybe I'm missing 
some step.

Hope that someone can help. Thanks in advance.

Regards,
  Miroslav


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to