[jbosstools-issues] [JBoss JIRA] (JBIDE-13671) Replace build timestamp in qualifier by last-mod-timestamp from git
Nick Boldt (JIRA)
issues at jboss.org
Wed Jun 29 12:19:00 EDT 2016
[ https://issues.jboss.org/browse/JBIDE-13671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Boldt updated JBIDE-13671:
-------------------------------
Attachment: base-before-after-jgit.png
arq-dirty-workspace-compare2.png
arq-dirty-workspace-compare1.png
arq-dirty-workspace-compare3-bigger-change.png
arq-dirty-workspace-compare4-bigger-change.png
Using these two PRs, here's what happens in Base when we switch to jgit:
!base-before-after-jgit.png|thumbnail!
And, here's some examples of what happens in Arquillian when comparing a clean jgit-based build with a dirty-workspace version of the same build, to show that even without committing changes, your LOCALLY built plugins/features will be correctly upversioned so you can do install tests.
!arq-dirty-workspace-compare1.png|thumbnail!
!arq-dirty-workspace-compare1.png|thumbnail!
!arq-dirty-workspace-compare3-bigger-change.png|thumbnail!
!arq-dirty-workspace-compare4-bigger-change.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: 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, jbide13671-before-and-after.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
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list