Timestamp skip: optional feature to skip unmodified source files to speed up builds#11
Open
danigiri wants to merge 4 commits intohappygiraffe:masterfrom
Open
Timestamp skip: optional feature to skip unmodified source files to speed up builds#11danigiri wants to merge 4 commits intohappygiraffe:masterfrom
danigiri wants to merge 4 commits intohappygiraffe:masterfrom
Conversation
Author
|
First commit shows some old code on one of the files (tried a crappy scheme for the timestamps report) but it should be OK if you take all commits. dani:jslint4java-maven-plugin/ (timestamp-skip) $ git status [1:33:27]
# On branch timestamp-skip
nothing to commit (working directory clean)
dani:jslint4java-maven-plugin/ (timestamp-skip) $ mvn -Pdist clean verify install -q [1:48:54]
[debug] execute contextualize
[debug] execute contextualize
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.googlecode.jslint4java.maven.FileListerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.216 sec
Running com.googlecode.jslint4java.maven.FileTimestampExcludeListerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.043 sec
Running com.googlecode.jslint4java.maven.JSLintMojoTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.797 sec
Running com.googlecode.jslint4java.maven.MultiReportWriterTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running com.googlecode.jslint4java.maven.ReportWriterImplTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running com.googlecode.jslint4java.maven.TimestampFormatterTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Results :
Tests run: 32, Failures: 0, Errors: 0, Skipped: 0
[debug] execute contextualize
[debug] execute contextualize
dani:jslint4java-maven-plugin/ (timestamp-skip) $ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When doing several maven runs, processing several JS files that haven't been modified is quite slow.
With this fork, setting the optional parameter checkFileModificationTimes=true means that maven will skip checking files that haven't been modified on the previous builds.
Features:
Caveats:
Please let me know if you think this is useful and if there are any required tweaks, thanks.