Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Qualifier replacement when SCM is Git
Qualifier replacement when SCM is Git [message #768667] Tue, 20 December 2011 10:24 Go to previous message
Matthew Webber is currently offline Matthew Webber
Messages: 180
Registered: December 2010
Senior Member
Our buckminster properties file specifies
qualifier.replacement.*=generator:lastRevision

This works quite well for components that were checked out from subversion - the jars get build with names like my.plugin_1.0.0.r12345.jar. Here, 12345 is the subversion revision number for the most recent revision for that plugin.

However, it does not work at all for components that were checked out from Git - the jars get build with names like my.plugin_1.0.0.qualifier.jar.

Git of course does not have revision numbers, but I expected that the qualifier would be replaced by the SHA1 hash that Git uses as a sort of revision number equivalent.

Is there a way that I can get that to work? If not, what's the alternative? Does generator.lastModified work for Git?

Thanks
 
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Can Buckminster build Eclipse RCP Plug-in projects containing jars with dynamic file names?
Next Topic:How do you run findbugs in buckminster build?
Goto Forum:
  


Current Time: Sun May 26 01:11:39 EDT 2013

Powered by FUDForum. Page generated in 0.02745 seconds