[ 
http://jira.codehaus.org/browse/MGWT-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

nicolas de loof closed MGWT-45.
-------------------------------

         Assignee: nicolas de loof
       Resolution: Fixed
    Fix Version/s: 1.1

Nice freature for productivity,

thanks for contribution

> Compile only when sources have changed
> --------------------------------------
>
>                 Key: MGWT-45
>                 URL: http://jira.codehaus.org/browse/MGWT-45
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.1
>            Reporter: Alexander Gordt
>            Assignee: nicolas de loof
>             Fix For: 1.1
>
>         Attachments: CompileMojo-Patch-basedon-9580.txt, CompileMojo.java
>
>
> Hi all,
> since I'm working in a bigger project with several gwt projects, build time 
> is an important factor. Therefore it would be very nice, if gwt sources are 
> only compiled, when they have changed...
> I've had a look at the java compiler mojo and modified the CompileMojo in a 
> way, that should be suitable in most case (I hope).
> If you think, that it is a feature that should be optional, it wouldn't be a 
> problem to provide another configuration property like 
> "onlyCompileOnStaleSources" to make this behavior optional. 
> My patch isn't perfect since don't check if dependencies have changed or not. 
> But in most cases when dependencies have changed, I'm running a "clean 
> install" which automatically produces "stale" sources.
> Since my project has different codestyle settings I attached the new Java 
> file as well as a svn patch.
> The only left change is to add another dependency to the pom:
>               <dependency>
>                       <groupId>org.codehaus.plexus</groupId>
>                       <artifactId>plexus-compiler-javac</artifactId>
>                       <version>1.5.3</version>
>               </dependency>
> Would be cool, if you could add this change to svn :)
> Cheers,
> Alex
> P.s. is "patch submitted" correct if I've added it as attachment and not 
> directly to svn?

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