Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » qualifier replacement
qualifier replacement [message #384732] Thu, 09 April 2009 15:40 Go to next message
Florian Hackenberger is currently offline Florian HackenbergerFriend
Messages: 123
Registered: July 2009
Senior Member
Hi!

I'm trying to set a qualifier replacement using the following system
properties (passed to buckminster headless 1.1.0.r09505):

qualifier.replacement.org.acoveo.*=generator:lastRevision
generator.lastRevision.format=r{0,number,00000}

Unfortunately the resulting org.acoveo.* plugin jar files still have the
timestamp based qualifier. Am I missing something? Is there a extra plugins
I have to install?

The full command line (build and export product) looks like:

java -Dbuckminster.output.root=/build/artifacts -Dqualifier.replacement.org.acoveo.*=generator:lastRevision -Dgenerator.lastRevision.format=r{0,number,00000} -Xmx700m -XX:MaxPermSize=256m -Xms40m -jar /build/buckminster/startup.jar -data /tmp/buckminster/masterData --displaystacktrace --loglevel
DEBUG build
java -Dbuckminster.output.root=/build/artifacts/linux -Dqualifier.replacement.org.acoveo.*=generator:lastRevision -Dgenerator.lastRevision.format=r{0,number,00000} -Xmx700m -XX:MaxPermSize=256m -Xms40m -jar /build/buckminster/startup.jar -data /tmp/buckminster/masterData --displaystacktrace --loglevel
DEBUG perform
org.acoveo.callcenter.softPhoneProduct#create.org.acoveo.cal lcenter.softPhone.product

Cheers,
Florian

--
DI Florian Hackenberger
florian@hackenberger.at
www.hackenberger.at
Re: qualifier replacement [message #384734 is a reply to message #384732] Thu, 09 April 2009 16:43 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Florian,
Stupid question perhaps, but is the org.acoveo.* plugins checked out from a Subversion repository? Also, what subversion
provider are you using. Subclipse or Subversive?

In your example it looks like you pass the * unescaped on a shell command line. If that's the case, you should try
putting it within quotes to avoid shell expansion.

Regards,
Thomas Hallgren


DI Florian Hackenberger wrote:
> Hi!
>
> I'm trying to set a qualifier replacement using the following system
> properties (passed to buckminster headless 1.1.0.r09505):
>
> qualifier.replacement.org.acoveo.*=generator:lastRevision
> generator.lastRevision.format=r{0,number,00000}
>
> Unfortunately the resulting org.acoveo.* plugin jar files still have the
> timestamp based qualifier. Am I missing something? Is there a extra plugins
> I have to install?
>
> The full command line (build and export product) looks like:
>
> java -Dbuckminster.output.root=/build/artifacts -Dqualifier.replacement.org.acoveo.*=generator:lastRevision -Dgenerator.lastRevision.format=r{0,number,00000} -Xmx700m -XX:MaxPermSize=256m -Xms40m -jar /build/buckminster/startup.jar -data /tmp/buckminster/masterData --displaystacktrace --loglevel
> DEBUG build
> java -Dbuckminster.output.root=/build/artifacts/linux -Dqualifier.replacement.org.acoveo.*=generator:lastRevision -Dgenerator.lastRevision.format=r{0,number,00000} -Xmx700m -XX:MaxPermSize=256m -Xms40m -jar /build/buckminster/startup.jar -data /tmp/buckminster/masterData --displaystacktrace --loglevel
> DEBUG perform
> org.acoveo.callcenter.softPhoneProduct#create.org.acoveo.cal lcenter.softPhone.product
>
> Cheers,
> Florian
>
Re: qualifier replacement [message #384735 is a reply to message #384734] Thu, 09 April 2009 16:51 Go to previous messageGo to next message
Florian Hackenberger is currently offline Florian HackenbergerFriend
Messages: 123
Registered: July 2009
Senior Member
Thomas Hallgren wrote:
> Stupid question perhaps, but is the org.acoveo.* plugins checked out from
> a Subversion repository? Also, what subversion
> provider are you using. Subclipse or Subversive?

Hi Thomas!

Yes, all those plugins are from my svn, resolved by buckminster. I'm using
the org.eclipse.team.svn.core and org.eclipse.buckminster.subversive
bundles, thus subversive.

> In your example it looks like you pass the * unescaped on a shell command
> line. If that's the case, you should try putting it within quotes to avoid
> shell expansion.
I copied the command line from ps aux, I'm using ant to invoke buckminster.
So that should be fine.

Thanks for your help so far! Any other ideas?

Cheers,
Florian

--
DI Florian Hackenberger
florian@hackenberger.at
www.hackenberger.at
Re: qualifier replacement [message #384747 is a reply to message #384734] Tue, 14 April 2009 11:11 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Florian,
I found the cause of this problem. The current implementation will let you specify:

qualifier.replacement.* -> Match all
qualifier.replacement.<name> -> Match <name> exactly

It will not allow:

qualifier.replacement.<partial name>.* Match name partially

I think the corresponding function in PDE build suffers from the same problem. In any case, I decided to do something
about it so a fix is under way. I'll add you as CC to the bugzilla https://bugs.eclipse.org/bugs/show_bug.cgi?id=272134

Regards,
Thomas Hallgren

Thomas Hallgren wrote:
> Hi Florian,
> Stupid question perhaps, but is the org.acoveo.* plugins checked out
> from a Subversion repository? Also, what subversion provider are you
> using. Subclipse or Subversive?
>
> In your example it looks like you pass the * unescaped on a shell
> command line. If that's the case, you should try putting it within
> quotes to avoid shell expansion.
>
> Regards,
> Thomas Hallgren
>
>
> DI Florian Hackenberger wrote:
>> Hi!
>>
>> I'm trying to set a qualifier replacement using the following system
>> properties (passed to buckminster headless 1.1.0.r09505):
>>
>> qualifier.replacement.org.acoveo.*=generator:lastRevision
>> generator.lastRevision.format=r{0,number,00000}
>>
>> Unfortunately the resulting org.acoveo.* plugin jar files still have the
>> timestamp based qualifier. Am I missing something? Is there a extra
>> plugins
>> I have to install?
>>
>> The full command line (build and export product) looks like:
>>
>> java -Dbuckminster.output.root=/build/artifacts
>> -Dqualifier.replacement.org.acoveo.*=generator:lastRevision
>> -Dgenerator.lastRevision.format=r{0,number,00000} -Xmx700m
>> -XX:MaxPermSize=256m -Xms40m -jar /build/buckminster/startup.jar -data
>> /tmp/buckminster/masterData --displaystacktrace --loglevel
>> DEBUG build
>> java -Dbuckminster.output.root=/build/artifacts/linux
>> -Dqualifier.replacement.org.acoveo.*=generator:lastRevision
>> -Dgenerator.lastRevision.format=r{0,number,00000} -Xmx700m
>> -XX:MaxPermSize=256m -Xms40m -jar /build/buckminster/startup.jar -data
>> /tmp/buckminster/masterData --displaystacktrace --loglevel
>> DEBUG perform
>> org.acoveo.callcenter.softPhoneProduct#create.org.acoveo.cal lcenter.softPhone.product
>>
>>
>> Cheers,
>> Florian
>>
Re: qualifier replacement [message #384834 is a reply to message #384747] Tue, 14 April 2009 12:11 Go to previous message
Florian Hackenberger is currently offline Florian HackenbergerFriend
Messages: 123
Registered: July 2009
Senior Member
Thomas Hallgren wrote:
> I think the corresponding function in PDE build suffers from the same
> problem. In any case, I decided to do something about it so a fix is under
> way. I'll add you as CC to the bugzilla
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=272134

Thanks as lot Thomas! I'll give the 'Match all' expression a try and report
back!

Cheers,
Florian

--
DI Florian Hackenberger
florian@hackenberger.at
www.hackenberger.at
Previous Topic:File not found for http://download.eclipse.org/tools/buckminster/headless-3.5/
Next Topic:Unable to materialize buckminster headless
Goto Forum:
  


Current Time: Thu Apr 25 16:49:08 GMT 2024

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

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

Back to the top