You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org> on 2012/10/29 08:31:14 UTC
[jira] (MSHARED-243) add a way to calculate diffs of a directory at
2 different times
[ https://jira.codehaus.org/browse/MSHARED-243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kristian Rosenvold updated MSHARED-243:
---------------------------------------
Fix Version/s: maven-shared-utils-0.1
> add a way to calculate diffs of a directory at 2 different times
> ----------------------------------------------------------------
>
> Key: MSHARED-243
> URL: https://jira.codehaus.org/browse/MSHARED-243
> Project: Maven Shared Components
> Issue Type: New Feature
> Components: maven-shared-utils
> Reporter: Mark Struberg
> Assignee: Mark Struberg
> Fix For: maven-shared-utils-0.1
>
>
> For implementing the incremental build it should be possible to detect which files got created by a certain mojo execution.
> An example would be the maven-compiler-plugin which currently doesn't remove class files for Java sources which got deleted.
> The idea is to introduce a helper which can capture a snapshot of a certain directory (e.g. target/classes), then you do the mojo work (javac invocation with all source files) and take a capture of that very directory again.
> The tool will allow you to take a 'diff' and store the names of all the added files to a file in target/...
> The next time you invoke a build you can delete all those created classes by this very mojo-execution and so you do not have any left-overs.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira