Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » qualifier replacement across projects
qualifier replacement across projects [message #543726] Wed, 30 June 2010 08:29 Go to next message
Bernhard Merkle is currently offline Bernhard Merkle
Messages: 88
Registered: July 2009
Member
Hi again,

I have a java project A with a properties file version.properties and would like to use the contained values there for version identifieres for plugin B and C.

How can I achieve this in buckminster ?
Is ant task buckminster.versionQualifier the way to go ?
or is there a better way ? e.g. via the buckminster.properties ?

Is there a simple example how to use this ant task ? (e.g. I am unsure what ComponentName and ComponentType are.

thanks for your help,
Bernhard.
Re: qualifier replacement across projects [message #543827 is a reply to message #543726] Wed, 30 June 2010 13:02 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2492
Registered: July 2009
Senior Member
I don't really understand what you are trying to do.
Are the projects bundles, features, or just "plain" java projects?

What is it you want to build - a p2 site out of A, B and C. Or build
them independently (if so to what? just jars?), or to a site each, etc.

Typically a "relese engineering project" (releng) or "meta project" is
typically used where different properties files, queries, maps etc. for
different purposes are kept, with suitable names (dev, nightly, etc.).
When invoking commands in UI or headless just supply the properties file
from this project. (But you may have asked about something else...)

Regards
- henrik

On 6/30/10 2:29 PM, Bernhard Merkle wrote:
> Hi again,
>
> I have a java project A with a properties file version.properties and
> would like to use the contained values there for version identifieres
> for plugin B and C.
>
> How can I achieve this in buckminster ?
> Is ant task buckminster.versionQualifier the way to go ?
> or is there a better way ? e.g. via the buckminster.properties ?
>
> Is there a simple example how to use this ant task ? (e.g. I am unsure
> what ComponentName and ComponentType are.
>
> thanks for your help,
> Bernhard.
>
Re: qualifier replacement across projects [message #543848 is a reply to message #543827] Wed, 30 June 2010 14:46 Go to previous messageGo to next message
Bernhard Merkle is currently offline Bernhard Merkle
Messages: 88
Registered: July 2009
Member
This is a multi-part message in MIME format.
--------------070301050904060301010601
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi Henrik

i attached my current buckminster Project.
For sure there is room for improvement, e.g. atm we are not using a real
target platform but this is on my todo list.
Any other hints, corrections are very much appreciated.

On 30.06.2010 19:02, Henrik Lindberg wrote:
> I don't really understand what you are trying to do.
> Are the projects bundles, features, or just "plain" java projects?
>
> What is it you want to build - a p2 site out of A, B and C. Or build
> them independently (if so to what? just jars?), or to a site each, etc.

I have a "normal" Java Project "CodeGen". This will be delivered as
normal jar and as a eclipse plugin. I want to create the feature and
update site automatically with buckminster for the "CodeGen" plugin.
In "CodeGen" there is a version.properties file with system properties
(3 numbers). I want to use them and produce the corresponding "feature"
and "site" project with the correpsonding version number.
How can I do this ?

"de.sick.sopas.generator.srt.buckminster" is my feature project and
contains most of the buckminster configuration. Can you have a look at
that ?

"de.sick.sopas.generator.srt.site" contains the update site project.

I invoke this in the Eclipse IDE via the buckminster menu for the
"d.s.s.g.srt.buckminster" and the for "d.s.s.g.srt.site". action
p2.site. The producted update site seem fine and the plugin is signed.

I want to invoke this however via hudson/buckminster of course.
This does not really work (2 problems pls see below)...

My commands are:
importtargetdefinition -A
'${WORKSPACE}/de.sick.sopas.generator.srt.buckminster/de.sic k.sopas.generator.srt.target'
import '${WORKSPACE}/de.sick.sopas.generator.srt.buckminster/site.c query'
build
perform -D target.os=* -D target.ws=* -D target.arch=* -D
qualifier.replacement.*=${version}
de.sick.sopas.generator.srt.feature#site.p2

however as in the previous post i have two problems:
- the source plugin is still build.
- the plugin is not signed.

I just updated/reinstalled the bm 3.6 headless in a fresh directory and
the behaviour remains the same so I am really stuck here.

> Typically a "relese engineering project" (releng) or "meta project" is
> typically used where different properties files, queries, maps etc. for
> different purposes are kept, with suitable names (dev, nightly, etc.).
> When invoking commands in UI or headless just supply the properties file
> from this project. (But you may have asked about something else...)

okay. I assume I can look up the buckminster or b3 project for a verbose
example under the releng project, right ? (or which other eclipse
projects ?)

thanks so much,
Bernhard.

>
> Regards
> - henrik
>
> On 6/30/10 2:29 PM, Bernhard Merkle wrote:
>> Hi again,
>>
>> I have a java project A with a properties file version.properties and
>> would like to use the contained values there for version identifieres
>> for plugin B and C.
>>
>> How can I achieve this in buckminster ?
>> Is ant task buckminster.versionQualifier the way to go ?
>> or is there a better way ? e.g. via the buckminster.properties ?
>>
>> Is there a simple example how to use this ant task ? (e.g. I am unsure
>> what ComponentName and ComponentType are.
>>
>> thanks for your help,
>> Bernhard.
>>
>


--------------070301050904060301010601
Content-Type: application/octet-stream;
name="buckminsterProject.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="buckminsterProject.zip"

UEsDBBQACAAIAIJ+3jwAAAAAAAAAAAAAAAAwAAAAZGUuc2ljay5zb3Bhcy5n ZW5lcmF0b3Iu
c3J0LmJ1Y2ttaW5zdGVyLy5wcm9qZWN0dZDNjgIhEITPmvgOZu6C3jzgmKjx 6EV9AGQ6E3aG
n3QzxscXEN0dk70Qvkp1V4HYPkw/vwOSdnZTrdiymoNVrtG23VTXy3Gxrrb1 bCo8uh9Q4QCk
UPsQ3VGdCCsN1A0w0qpj5Lwk1oIFlMEhIwzsNqjOaEsBUPDsTmPKGQM21IK/ b0ktGZSBj+g2
6L45e1CJCu7jqLRNVkoThy0D1WtPwHysdQQZBoRdsv8tEP0S2yElU2E+FgT/ zijKu0QMTKuL
+wX/5Z/ymeKzKy/7Hf88dfy5T1BLBwj9r3Gi0wAAAJsBAABQSwMEFAAIAAgA gn7ePAAAAAAA
AAAAAAAAADkAAABkZS5zaWNrLnNvcGFzLmdlbmVyYXRvci5zcnQuYnVja21p bnN0ZXIvYnVj
a21pbnN0ZXIuY3NwZXjFVMtu2zAQPDtA/4Egcg3Z9FQEUnIomiC3Amk/gKI2 NmGJZMllHDfw
v5cP2ZYNq0mRQy4CXzM73BmxunnuO/IEziuja3rJPlMCWppW6XlNf/28vfhK b64/nVXSW5Df
nxF0OkkiSvsrafqaLhDtFeer1YqB7JT1wIyb8ybIZa+0R3D8m+l7oy8ye0a+ DfUQS2ZQFDCr
hMRY2afxrLKh6ZQkWvRQU+lAIDDrTBskUhJP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AAGRlLnNpY2suc29wYXMuZ2VuZXJhdG9yLnNydC5idWNrbWluc3Rl ci9zaXRlLnht
bFBLAQIUABQACAAIAIJ+3jzoqW0Q2QEAADUQAAA6AAAAAAAAAAAAAAAAAH8V AABkZS5zaWNr
LnNvcGFzLmdlbmVyYXRvci5zcnQuYnVja21pbnN0ZXIvdGVhbXByb2plY3Rz ZXQucHNmUEsB
AhQAFAAIAAgAWH7ePLhya6fNAAAAlAEAACkAAAAAAAAAAAAAAAAAwBcAAGRl LnNpY2suc29w
YXMuZ2VuZXJhdG9yLnNydC5zaXRlLy5wcm9qZWN0UEsBAhQAFAAIAAgAAKTe PLQLujhNAQAA
WAIAADcAAAAAAAAAAAAAAAAA5BgAAGRlLnNpY2suc29wYXMuZ2VuZXJhdG9y LnNydC5zaXRl
L2J1Y2ttaW5zdGVyLnByb3BlcnRpZXNQSwECFAAUAAgACABYft48YOI43ooA AAA8AQAAMQAA
AAAAAAAAAAAAAACWGgAAZGUuc2ljay5zb3Bhcy5nZW5lcmF0b3Iuc3J0LnNp dGUvYnVpbGQu
cHJvcGVydGllc1BLAQIUABQACAAIAFh+3jxBfilqBQEAAGwCAAAsAAAAAAAA AAAAAAAAAH8b
AABkZS5zaWNrLnNvcGFzLmdlbmVyYXRvci5zcnQuc2l0ZS9mZWF0dXJlLnht bFBLBQYAAAAA
DwAPAOgFAADeHAAAAAA=
--------------070301050904060301010601--
Re: qualifier replacement across projects [message #543942 is a reply to message #543848] Thu, 01 July 2010 03:29 Go to previous message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3208
Registered: July 2009
Senior Member
Hi Bernhard,

Looking at the perform command, I don't see that you pass any properties
to turn off the source build or control signing. Shouldn't there be a -P
<some folder>/buckminster.properties somewhere?

- thomas


On 06/30/2010 08:46 PM, Bernhard Merkle wrote:
> Hi Henrik
>
> i attached my current buckminster Project.
> For sure there is room for improvement, e.g. atm we are not using a real
> target platform but this is on my todo list.
> Any other hints, corrections are very much appreciated.
>
> On 30.06.2010 19:02, Henrik Lindberg wrote:
>> I don't really understand what you are trying to do.
>> Are the projects bundles, features, or just "plain" java projects?
>>
>> What is it you want to build - a p2 site out of A, B and C. Or build
>> them independently (if so to what? just jars?), or to a site each, etc.
>
> I have a "normal" Java Project "CodeGen". This will be delivered as
> normal jar and as a eclipse plugin. I want to create the feature and
> update site automatically with buckminster for the "CodeGen" plugin.
> In "CodeGen" there is a version.properties file with system properties
> (3 numbers). I want to use them and produce the corresponding "feature"
> and "site" project with the correpsonding version number.
> How can I do this ?
>
> "de.sick.sopas.generator.srt.buckminster" is my feature project and
> contains most of the buckminster configuration. Can you have a look at
> that ?
>
> "de.sick.sopas.generator.srt.site" contains the update site project.
>
> I invoke this in the Eclipse IDE via the buckminster menu for the
> "d.s.s.g.srt.buckminster" and the for "d.s.s.g.srt.site". action
> p2.site. The producted update site seem fine and the plugin is signed.
>
> I want to invoke this however via hudson/buckminster of course.
> This does not really work (2 problems pls see below)...
>
> My commands are:
> importtargetdefinition -A
> '${WORKSPACE}/de.sick.sopas.generator.srt.buckminster/de.sic k.sopas.generator.srt.target'
>
> import '${WORKSPACE}/de.sick.sopas.generator.srt.buckminster/site.c query'
> build
> perform -D target.os=* -D target.ws=* -D target.arch=* -D
> qualifier.replacement.*=${version}
> de.sick.sopas.generator.srt.feature#site.p2
>
> however as in the previous post i have two problems:
> - the source plugin is still build.
> - the plugin is not signed.
>
> I just updated/reinstalled the bm 3.6 headless in a fresh directory and
> the behaviour remains the same so I am really stuck here.
>
>> Typically a "relese engineering project" (releng) or "meta project" is
>> typically used where different properties files, queries, maps etc. for
>> different purposes are kept, with suitable names (dev, nightly, etc.).
>> When invoking commands in UI or headless just supply the properties file
>> from this project. (But you may have asked about something else...)
>
> okay. I assume I can look up the buckminster or b3 project for a verbose
> example under the releng project, right ? (or which other eclipse
> projects ?)
>
> thanks so much,
> Bernhard.
>
>>
>> Regards
>> - henrik
>>
>> On 6/30/10 2:29 PM, Bernhard Merkle wrote:
>>> Hi again,
>>>
>>> I have a java project A with a properties file version.properties and
>>> would like to use the contained values there for version identifieres
>>> for plugin B and C.
>>>
>>> How can I achieve this in buckminster ?
>>> Is ant task buckminster.versionQualifier the way to go ?
>>> or is there a better way ? e.g. via the buckminster.properties ?
>>>
>>> Is there a simple example how to use this ant task ? (e.g. I am unsure
>>> what ComponentName and ComponentType are.
>>>
>>> thanks for your help,
>>> Bernhard.
>>>
>>
>
Previous Topic:SVN Repository link is broken http://www.eclipse.org/buckminster
Next Topic:buckminster.properties not obeyed ? difference between headless and eclipse based build
Goto Forum:
  


Current Time: Fri Apr 18 19:33:35 EDT 2014

Powered by FUDForum. Page generated in 0.01592 seconds