Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Where generator.lastRevision.format and buckminster.properties should go.
Where generator.lastRevision.format and buckminster.properties should go. [message #1017894] Tue, 12 March 2013 18:14
Andrea Richiardi is currently offline Andrea Richiardi
Messages: 42
Registered: August 2012
Member
Hello guys,

I am trying to replace the qualifier of the feature I am going to build using buckminster headless.

The architecture is similar to the releng one, where one site includes one generic feature that in turn includes the feature I want to build (which is an eclipse plugin).

What I would like to do is replace the qualifier with the svn revision.

My buckminster.properties is in the site feature, and is the following:

# ----------------------
# Where all the output should go
buckminster.output.root=/p2/rc

# Where the temp files should go
buckminster.temp.root=/p2/rc/tmp

# How .qualifier in versions should be replaced
qualifier.replacement.*=generator:lastRevision

# How the qualifier (last revision) should be formatted
generator.lastRevision.format=r{0,number,00000}

# Should source bundles be built and included
cbi.include.source=false

# What platforms should be built, * for "all"
target.os=win32
target.ws=win32
target.arch=x86


Buckminster is able to generate the plugin and put it into C:\p2\rc, but the qualifier is the timestamp. In the logs I can see the following:

INFO:  [start com.myplugin.ui:osgi.bundle$8000.3.0.qualifier#eclipse.build]
  target.arch=x86_64
  buckminster.component=com.myplugin.ui
  workspace.root=C:/Users/arichiardi/workspace
  buckminster.temp=C:/Users/ARICHI~1/AppData/Local/Temp/buckminster/com.myplugin.ui_8000.3.0-osgi.bundle/temp
  buckminster.home=C:\Users\arichiardi\workspace\plugins\com.myplugin.ui\
  buckminster.output=C:/Users/ARICHI~1/AppData/Local/Temp/buckminster/build/com.myplugin.ui_8000.3.0-osgi.bundle
  buckminster.temp.root=C:\Users\ARICHI~1\AppData\Local\Temp\buckminster
  localhost=XXX
  generator.buildTimestamp.format=2013-03-12T18:00:38.950+0000
  buckminster.component.type=osgi.bundle
  buckminster.version=2.3.0.qualifier
  target.nl=en_US
  target.ws=win32
  eclipse.home=C:\buckminster
  target.os=win32
  target.location=C:\p2\platform
INFO:  [end com.myplugin.ui:osgi.bundle$8000.3.0.qualifier#eclipse.build]


Are this settings correct? What am I missing here?

Thanks!

[Updated on: Tue, 12 March 2013 18:15]

Report message to a moderator

Previous Topic:Continous Integration & Delivery of eclipse projects fo Beginners
Next Topic:Jenkins/Hudson -> Buckminster plugin support.
Goto Forum:
  


Current Time: Wed Sep 17 19:56:35 GMT 2014

Powered by FUDForum. Page generated in 0.02098 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software