]
Nick Boldt updated JBIDE-13671:
-------------------------------
Attachment: after-jgit.png
after-jgit2.png
before-jgit.png
before-jgit2.png
Comparing the devstudio 10.1 update sites before/after jgit timestamps:
* features before:
!before-jgit.png|thumbnail!
* features after:
!after-jgit.png|thumbnail!
* plugins before:
!before-jgit2.png|thumbnail!
* plugins after:
!after-jgit2.png|thumbnail!
Replace build timestamp in qualifier by last-mod-timestamp from git
-------------------------------------------------------------------
Key: JBIDE-13671
URL:
https://issues.jboss.org/browse/JBIDE-13671
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: build
Affects Versions: 4.1.0.Alpha1
Reporter: Nick Boldt
Assignee: Nick Boldt
Priority: Optional
Fix For: 4.4.1.AM1
Attachments: after-jgit.png, after-jgit2.png, arq-dirty-workspace-compare1.png,
arq-dirty-workspace-compare2.png, arq-dirty-workspace-compare3-bigger-change.png,
arq-dirty-workspace-compare4-bigger-change.png, base-before-after-jgit.png,
before-jgit.png, before-jgit2.png, jbide13671-before-and-after.png,
server-before-after-jgit-3-different-timestamps.png,
server-before-after-jgit-4-different-timestamps-features.png,
server-before-after-jgit-dirty-workspace-upversioned-features.png,
server-before-after-jgit-dirty-workspace-upversioned-plugin-with-change.png
This needs to be added to master parent pom:
{code}
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho.version}</version>
<dependencies>
<dependency>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-buildtimestamp-jgit</artifactId>
<version>${tycho-extras.version}</version>
</dependency>
</dependencies>
<configuration>
<strictBinIncludes>false</strictBinIncludes>
<format>'v'yyyyMMdd-HHmm</format>
<timestampProvider>jgit</timestampProvider>
<jgit.ignore>
</jgit.ignore>
</configuration>
</plugin>
{code}
Ref:
http://pweclipse.blogspot.ch/2012_09_01_archive.html