Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Callbacks in provider tag of a .RMAP
Callbacks in provider tag of a .RMAP [message #495825] Fri, 06 November 2009 10:06 Go to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi

Does anybody know, if it is possible to extend the manipulation of the properties in the provider definition of a .RMAP configuration?

My problem is that the IDs of the plugins are like "ch.example.demo" but the svn Folders are called like "ChExampleDemo".
So a regex would not be a preoblem to convert the ID to the folder name. But unfortunatebly, the regex-macro "\u" to uppercase some characters is not supported by the regex implementation that is used in the rmap.

Question, is it possible to install a callback-rutine (e.g. a java class) to make the translation of the property by myself? E.g. using a 3rd party regex implementation.

Example:
<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
<bc:replace>
<bc:propertyRef key="buckminster.component" />
<bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
replacement='Test\u$3' />
</bc:replace>
</uri>
</provider>


Thanks for your answer,
kind regards, Alain.
Re: Callbacks in provider tag of a .RMAP [message #495858 is a reply to message #495825] Fri, 06 November 2009 12:15 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Alain,
There is currently no way to register callbacks at this position but you should be able to do this using a combination
of <bc:format>, <bc:split>, and <bc:toUpper>.

Regards,
Thomas Hallgren



On 11/06/2009 11:06 AM, Alain wrote:
> Hi
>
> Does anybody know, if it is possible to extend the manipulation of the
> properties in the provider definition of a .RMAP configuration?
>
> My problem is that the IDs of the plugins are like "ch.example.demo" but
> the svn Folders are called like "ChExampleDemo".
> So a regex would not be a preoblem to convert the ID to the folder name.
> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
> not supported by the regex implementation that is used in the rmap.
>
> Question, is it possible to install a callback-rutine (e.g. a java
> class) to make the translation of the property by myself? E.g. using a
> 3rd party regex implementation.
>
> Example:
> <provider readerType="svn"
> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
> <uri
> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
> <bc:replace>
> <bc:propertyRef key="buckminster.component" />
> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
> replacement='Test\u$3' />
> </bc:replace>
> </uri>
> </provider>
>
>
> Thanks for your answer,
> kind regards, Alain.
Re: Callbacks in provider tag of a .RMAP [message #497512 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497513 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497516 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497523 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497535 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497540 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497545 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497554 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497555 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497561 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497574 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497589 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497590 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497596 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497617 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497618 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497647 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497671 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497681 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497690 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497694 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497699 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497709 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497713 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497718 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497730 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497742 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497753 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497758 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497764 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497767 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497770 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497779 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497780 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497781 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497794 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497855 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497868 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497880 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497884 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497898 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497911 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497914 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497920 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497923 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497940 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497960 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497962 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497963 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497969 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497984 is a reply to message #495858] Fri, 13 November 2009 08:06 Go to previous messageGo to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas

Thanks a lot for your help.

I just do not understand how to use the xml based syntax to convert the
strings. Unfortunately the log output does not hel in debugging my
convertions. I read your documentation about the syntax at
http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
but even with that help I dont understand how to use it.

Is there any documentation about how to use this "language"?
Or are there any examples of how to use the "split" element -
respectively how to access the output of the plit element?

I tried this
- expected input: "ch.ivyteam.ivy"
- expected output: IvyUtil

<provider readerType="svn"
componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
<uri
format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
<bc:replace>
<bc:split pattern=".">
<bc:propertyRef key="buckminster.component" />
</bc:split>
<bc:match pattern="util"
replacement="IvyUtil" />
</bc:replace>
</uri>
</provider>

Thanks for your help,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> There is currently no way to register callbacks at this position but you
> should be able to do this using a combination of <bc:format>,
> <bc:split>, and <bc:toUpper>.
>
> Regards,
> Thomas Hallgren
>
>
>
> On 11/06/2009 11:06 AM, Alain wrote:
>> Hi
>>
>> Does anybody know, if it is possible to extend the manipulation of the
>> properties in the provider definition of a .RMAP configuration?
>>
>> My problem is that the IDs of the plugins are like "ch.example.demo" but
>> the svn Folders are called like "ChExampleDemo".
>> So a regex would not be a preoblem to convert the ID to the folder name.
>> But unfortunatebly, the regex-macro "\u" to uppercase some characters is
>> not supported by the regex implementation that is used in the rmap.
>>
>> Question, is it possible to install a callback-rutine (e.g. a java
>> class) to make the translation of the property by myself? E.g. using a
>> 3rd party regex implementation.
>>
>> Example:
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format="svn://srv1/Entwicklung/Projects/my/trunk/workspace/{0}">
>> <bc:replace>
>> <bc:propertyRef key="buckminster.component" />
>> <bc:match_MY_CALLBACK pattern="((\w+)\.)+(\w+)"
>> replacement='Test\u$3' />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>>
>> Thanks for your answer,
>> kind regards, Alain.
>
Re: Callbacks in provider tag of a .RMAP [message #497985 is a reply to message #497984] Fri, 13 November 2009 09:34 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Alain,
Have you read the documentation? I.e. the one that you get if you follow the documentation link on our homepage at
www.eclipse.org/buckminster.

http://www.eclipse.org/downloads/download.php?file=/tools/bu ckminster/doc/BuckyBook.pdf

It explains more about this topic.

A <bc:split> will result in a collection. You can access individual elements of this collection using a <bc:format>. For
instance:

<bc:format format="{0}{1}">
<bc:split pattern="\."/>
</bc:format>

If you want to do a toupper on the first, you would do something like:

<bc:toupper>
<bc:format format="{0}"/>
<bc:split pattern="\."/>
</bc:format>
</bc:toupper>

Please note that the split uses a regexp for splitting (just like String.split() in java). So unless you want to split
on every possible character (that's what '.' means), you need to use a pattern like "\." when splitting on dot.

If you want to combine your toUpper with other parts of the split, you'll need to create another split.

<bc:format format="{0}{2}{3}">
<bc:toupper>
<bc:format format="{0}"/>
<bc:split pattern="\."/>
</bc:format>
</bc:toupper>
<bc:split pattern="\."/>
</bc:format>

HTH,
- thomas


On 11/13/2009 09:06 AM, Alain Helfenstein wrote:
> Hi Thomas
>
> Thanks a lot for your help.
>
> I just do not understand how to use the xml based syntax to convert the
> strings. Unfortunately the log output does not hel in debugging my
> convertions. I read your documentation about the syntax at
> http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
>
> but even with that help I dont understand how to use it.
>
> Is there any documentation about how to use this "language"?
> Or are there any examples of how to use the "split" element -
> respectively how to access the output of the plit element?
>
> I tried this
> - expected input: "ch.ivyteam.ivy"
> - expected output: IvyUtil
>
> <provider readerType="svn"
> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
> <uri
> format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
>
> <bc:replace>
> <bc:split pattern=".">
> <bc:propertyRef key="buckminster.component" />
> </bc:split>
> <bc:match pattern="util"
> replacement="IvyUtil" />
> </bc:replace>
> </uri>
> </provider>
>
> Thanks for your help,
> Alain.
>
> Thomas Hallgren schrieb:
>> Hi Alain,
>> There is currently no way to register callbacks at this position but
>> you should be able to do this using a combination of <bc:format>,
>> <bc:split>, and <bc:toUpper>.
>>
>> Regards,
>> Thomas Hallgren
Re: Callbacks in provider tag of a .RMAP [message #497986 is a reply to message #497984] Fri, 13 November 2009 09:34 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
On 11/13/09 9:06 AM, Alain Helfenstein wrote:
> Is there any documentation about how to use this "language"?
> Or are there any examples of how to use the "split" element -
> respectively how to access the output of the plit element?
>
There is a Buckminster Book in PDF format available on Buckminster's
download page. The material on the wiki is dated. The reference section
contains documentation of the string functions.

- henrik
Re: Callbacks in provider tag of a .RMAP [message #497987 is a reply to message #497985] Fri, 13 November 2009 10:56 Go to previous message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
Hi Thomas and Henrik

Thanks a lot for your help!

In order to complete this thread, i will post the solution that finally
worked for my task:

Two things to note:
1. the default "style" of the split element is in my case "quoted" not
"unquoted"
2. splitting on any character (unquoted: . ) does probably not work.

<bc:format format="Ivy{0}{1}" >

<bc:toUpper>
<bc:replace
pattern="(\w)(\w+)"
replacement='$1'>
<bc:format format="{2}" >
<bc:split style="unquoted" pattern="\.">
<bc:propertyRef key="buckminster.component" />
</bc:split>
</bc:format>
</bc:replace>
</bc:toUpper>

<bc:replace
pattern="(\w)(\w+)"
replacement='$2'>
<bc:format format="{2}" >
<bc:split style="unquoted" pattern="\.">
<bc:propertyRef key="buckminster.component" />
</bc:split>
</bc:format>
</bc:replace>
</bc:format>

Best regards,
Alain.

Thomas Hallgren schrieb:
> Hi Alain,
> Have you read the documentation? I.e. the one that you get if you follow
> the documentation link on our homepage at www.eclipse.org/buckminster.
>
> http://www.eclipse.org/downloads/download.php?file=/tools/bu ckminster/doc/BuckyBook.pdf
>
>
> It explains more about this topic.
>
> A <bc:split> will result in a collection. You can access individual
> elements of this collection using a <bc:format>. For instance:
>
> <bc:format format="{0}{1}">
> <bc:split pattern="\."/>
> </bc:format>
>
> If you want to do a toupper on the first, you would do something like:
>
> <bc:toupper>
> <bc:format format="{0}"/>
> <bc:split pattern="\."/>
> </bc:format>
> </bc:toupper>
>
> Please note that the split uses a regexp for splitting (just like
> String.split() in java). So unless you want to split on every possible
> character (that's what '.' means), you need to use a pattern like "\."
> when splitting on dot.
>
> If you want to combine your toUpper with other parts of the split,
> you'll need to create another split.
>
> <bc:format format="{0}{2}{3}">
> <bc:toupper>
> <bc:format format="{0}"/>
> <bc:split pattern="\."/>
> </bc:format>
> </bc:toupper>
> <bc:split pattern="\."/>
> </bc:format>
>
> HTH,
> - thomas
>
>
> On 11/13/2009 09:06 AM, Alain Helfenstein wrote:
>> Hi Thomas
>>
>> Thanks a lot for your help.
>>
>> I just do not understand how to use the xml based syntax to convert the
>> strings. Unfortunately the log output does not hel in debugging my
>> convertions. I read your documentation about the syntax at
>> http://wiki.eclipse.org/Buckminster_component_meta-data_lang uage_1.0_(Reference)
>>
>>
>> but even with that help I dont understand how to use it.
>>
>> Is there any documentation about how to use this "language"?
>> Or are there any examples of how to use the "split" element -
>> respectively how to access the output of the plit element?
>>
>> I tried this
>> - expected input: "ch.ivyteam.ivy"
>> - expected output: IvyUtil
>>
>> <provider readerType="svn"
>> componentTypes="eclipse.feature,osgi.bundle,buckminster" source="true">
>> <uri
>> format=" svn://zugntsrv1/Entwicklung/Projects/Xpert.ivy/trunk/workspa ce/{2}">
>>
>>
>> <bc:replace>
>> <bc:split pattern=".">
>> <bc:propertyRef key="buckminster.component" />
>> </bc:split>
>> <bc:match pattern="util"
>> replacement="IvyUtil" />
>> </bc:replace>
>> </uri>
>> </provider>
>>
>> Thanks for your help,
>> Alain.
>>
>> Thomas Hallgren schrieb:
>>> Hi Alain,
>>> There is currently no way to register callbacks at this position but
>>> you should be able to do this using a combination of <bc:format>,
>>> <bc:split>, and <bc:toUpper>.
>>>
>>> Regards,
>>> Thomas Hallgren
Previous Topic:Passing Properties to prebind actions
Next Topic:Hudson-Buckminster RCP Build CSpec source required
Goto Forum:
  


Current Time: Tue Sep 24 20:29:21 GMT 2024

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

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

Back to the top