Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » versionConverter for svn component reader
versionConverter for svn component reader [message #379920] Mon, 01 September 2008 20:03 Go to next message
fabrice macagno is currently offline fabrice macagnoFriend
Messages: 7
Registered: July 2009
Junior Member
Hello,
I would like to use the versionConverter to select the requested version of
a buckminster component. We've got the standard svn layout:
* branches
* tags
* trunk
And this the same layout under branches, tags and trunk.
I'm able to retrieve the correct component version stored under the tags
folder using the versionConverter with the type "tag" and the flag
"moduleBeforeTag". But when I use the version converter with the type
"branch" and the same flag "moduleBeforeTag", the component reader tries to
locate the component at the root of the branches folder. Do I have make a
mistake?

Thanks!
Re: versionConverter for svn component reader [message #379927 is a reply to message #379920] Tue, 02 September 2008 07:03 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Fabrice,
The version converter should behave exactly the same for branches and tags when using SVN.
Can you provide some more info? A snippet from you RMAP that shows how the provider is
configured and a DEBUG level log from a resolution attempt would be helpful.

Regards,
Thomas Hallgren


fabrice macagno wrote:
> Hello,
> I would like to use the versionConverter to select the requested version of
> a buckminster component. We've got the standard svn layout:
> * branches
> * tags
> * trunk
> And this the same layout under branches, tags and trunk.
> I'm able to retrieve the correct component version stored under the tags
> folder using the versionConverter with the type "tag" and the flag
> "moduleBeforeTag". But when I use the version converter with the type
> "branch" and the same flag "moduleBeforeTag", the component reader tries to
> locate the component at the root of the branches folder. Do I have make a
> mistake?
>
> Thanks!
Re: versionConverter for svn component reader [message #380021 is a reply to message #379927] Wed, 03 September 2008 15:07 Go to previous messageGo to next message
fabrice macagno is currently offline fabrice macagnoFriend
Messages: 7
Registered: July 2009
Junior Member
Hi, here is a RMAP snippet:

--->
<searchPath name="marny">
<provider readerType="svn" componentTypes="buckminster"
mutable="true" source="true">
<uri format="https://{0}:{1}
@our.svn.fr/repos/trunk/plugins/maya/arnold/{2}?moduleBefore Tag ">
<bc:propertyRef key="svn.login"/>
<bc:propertyRef key="svn.passwd"/>
<bc:propertyRef key="buckminster.component"/>
</uri>
<versionConverter type="branch" versionType="OSGi"/>
</provider>
</searchPath>
--->

And here is the debug level log:

--->
marny:buckminster/[2.27.4,2.27.4]#OSGi: Using resolver rmap
Downloading file:/T:/Temp/our.rmap
marny:buckminster/[2.27.4,2.27.4]#OSGi: Using resource map
file:/T:/Temp/our.rmap
marny:buckminster/[2.27.4,2.27.4]#OSGi: Using search path marny
marny:buckminster/[2.27.4,2.27.4]#OSGi: Trying provider svn(https://{0}:
{1}@our.svn.fr/repos/trunk/plugins/maya/arnold/{2}?moduleBef oreTag)
marny:buckminster/[2.27.4,2.27.4]#OSGi: Using version converter branch.
trunk/head will not be considered
marny:buckminster/[2.27.4,2.27.4]#OSGi: branches will be searched
Listing remote folder https://our.svn.fr/repos/branches#HEAD
marny:buckminster/[2.27.4,2.27.4]#OSGi: Rejecting provider svn(https://
{0}:{1}@our.svn.fr/repos/trunk/plugins/maya/arnold/{2}?modul eBeforeTag):
No component match was found
marny:buckminster/[2.27.4,2.27.4]#OSGi: No provider was found that could
resolve the request
ERROR [0001] : No suitable provider for component marny:buckminster/
[2.27.4,2.27.4]#OSGi was found in searchPath marny
ERROR [0001] : Rejecting provider svn(https://{0}:{1}
@our.svn.fr/repos/trunk/plugins/maya/arnold/{2}?moduleBefore Tag): No
component match was found
--->

I've got a window error message which says:

--->
'Resolving query" has encountered a problem.
Syntax error in version string java-1.4 at position 0:
Not a valid OSGi version
--->


"java-1.4" is a folder at the root of the branches directory (it has
nothing to do with my current project) and I guess it shoudn't be parsed
by the reader.

I have the exact same layout for my project under trunk and branches.

I hope it helps.


Thomas Hallgren <thomas@tada.se>
Re: versionConverter for svn component reader [message #380031 is a reply to message #380021] Thu, 11 September 2008 16:16 Go to previous messageGo to next message
fabrice macagno is currently offline fabrice macagnoFriend
Messages: 7
Registered: July 2009
Junior Member
Hi,
any ideas about my problem?

Thanks!

fabrice macagno wrote:

> Hi, here is a RMAP snippet:
>
> --->
> <searchPath name="marny">
> <provider readerType="svn" componentTypes="buckminster"
> mutable="true" source="true">
> <uri format="https://{0}:{1}
> @our.svn.fr/repos/trunk/plugins/maya/arnold/{2}?moduleBefore Tag ">
> <bc:propertyRef key="svn.login"/>
> <bc:propertyRef key="svn.passwd"/>
> <bc:propertyRef key="buckminster.component"/>
> </uri>
> <versionConverter type="branch" versionType="OSGi"/>
> </provider>
> </searchPath>
> --->
>
> And here is the debug level log:
>
> --->
> marny:buckminster/[2.27.4,2.27.4]#OSGi: Using resolver rmap
> Downloading file:/T:/Temp/our.rmap
> marny:buckminster/[2.27.4,2.27.4]#OSGi: Using resource map
> file:/T:/Temp/our.rmap
> marny:buckminster/[2.27.4,2.27.4]#OSGi: Using search path marny
> marny:buckminster/[2.27.4,2.27.4]#OSGi: Trying provider svn(https://{0}:
> {1}@our.svn.fr/repos/trunk/plugins/maya/arnold/{2}?moduleBef oreTag)
> marny:buckminster/[2.27.4,2.27.4]#OSGi: Using version converter branch.
> trunk/head will not be considered
> marny:buckminster/[2.27.4,2.27.4]#OSGi: branches will be searched
> Listing remote folder https://our.svn.fr/repos/branches#HEAD
> marny:buckminster/[2.27.4,2.27.4]#OSGi: Rejecting provider svn(https://
> {0}:{1}@our.svn.fr/repos/trunk/plugins/maya/arnold/{2}?modul eBeforeTag):
> No component match was found
> marny:buckminster/[2.27.4,2.27.4]#OSGi: No provider was found that could
> resolve the request
> ERROR [0001] : No suitable provider for component marny:buckminster/
> [2.27.4,2.27.4]#OSGi was found in searchPath marny
> ERROR [0001] : Rejecting provider svn(https://{0}:{1}
> @our.svn.fr/repos/trunk/plugins/maya/arnold/{2}?moduleBefore Tag): No
> component match was found
> --->
>
> I've got a window error message which says:
>
> --->
> 'Resolving query" has encountered a problem.
> Syntax error in version string java-1.4 at position 0:
> Not a valid OSGi version
> --->
>
>
> "java-1.4" is a folder at the root of the branches directory (it has
> nothing to do with my current project) and I guess it shoudn't be parsed
> by the reader.
>
> I have the exact same layout for my project under trunk and branches.
>
> I hope it helps.
>
>
> Thomas Hallgren <thomas@tada.se>
Re: versionConverter for svn component reader [message #380033 is a reply to message #380031] Thu, 11 September 2008 16:29 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Fabrice,
This looks like a bug. Apparently the branches folder is searched for versions even when
the moduleBeforeTag is specified. Can you please enter a bugzilla for this? The expected
behavior should be to search for branches/<module>/<version>/<component> and the
versionConverter should only see <version>

Thanks,
Thomas Hallgren

fabrice macagno wrote:
> Hi,
> any ideas about my problem?
>
> Thanks!
>
> fabrice macagno wrote:
>
>> Hi, here is a RMAP snippet:
>>
>> --->
>> <searchPath name="marny">
>> <provider readerType="svn" componentTypes="buckminster"
>> mutable="true" source="true">
>> <uri format="https://{0}:{1}
>> @our.svn.fr/repos/trunk/plugins/maya/arnold/{2}?moduleBefore Tag ">
>> <bc:propertyRef key="svn.login"/>
>> <bc:propertyRef key="svn.passwd"/>
>> <bc:propertyRef key="buckminster.component"/>
>> </uri>
>> <versionConverter type="branch" versionType="OSGi"/>
>> </provider>
>> </searchPath>
>> --->
>>
>> And here is the debug level log:
>>
>> --->
>> marny:buckminster/[2.27.4,2.27.4]#OSGi: Using resolver rmap
>> Downloading file:/T:/Temp/our.rmap
>> marny:buckminster/[2.27.4,2.27.4]#OSGi: Using resource map
>> file:/T:/Temp/our.rmap
>> marny:buckminster/[2.27.4,2.27.4]#OSGi: Using search path marny
>> marny:buckminster/[2.27.4,2.27.4]#OSGi: Trying provider svn(https://{0}:
>> {1}@our.svn.fr/repos/trunk/plugins/maya/arnold/{2}?moduleBef oreTag)
>> marny:buckminster/[2.27.4,2.27.4]#OSGi: Using version converter branch.
>> trunk/head will not be considered
>> marny:buckminster/[2.27.4,2.27.4]#OSGi: branches will be searched
>> Listing remote folder https://our.svn.fr/repos/branches#HEAD
>> marny:buckminster/[2.27.4,2.27.4]#OSGi: Rejecting provider svn(https://
>> {0}:{1}@our.svn.fr/repos/trunk/plugins/maya/arnold/{2}?modul eBeforeTag):
>> No component match was found
>> marny:buckminster/[2.27.4,2.27.4]#OSGi: No provider was found that could
>> resolve the request
>> ERROR [0001] : No suitable provider for component marny:buckminster/
>> [2.27.4,2.27.4]#OSGi was found in searchPath marny
>> ERROR [0001] : Rejecting provider svn(https://{0}:{1}
>> @our.svn.fr/repos/trunk/plugins/maya/arnold/{2}?moduleBefore Tag): No
>> component match was found
>> --->
>>
>> I've got a window error message which says:
>>
>> --->
>> 'Resolving query" has encountered a problem.
>> Syntax error in version string java-1.4 at position 0:
>> Not a valid OSGi version
>> --->
>>
>>
>> "java-1.4" is a folder at the root of the branches directory (it has
>> nothing to do with my current project) and I guess it shoudn't be parsed
>> by the reader.
>>
>> I have the exact same layout for my project under trunk and branches.
>>
>> I hope it helps.
>>
>>
>> Thomas Hallgren <thomas@tada.se> ?crivait news:48BCE544.6030804@tada.se:
>>
>>> Hi Fabrice,
>>> The version converter should behave exactly the same for branches and
>>> tags when using SVN. Can you provide some more info? A snippet from
>>> you RMAP that shows how the provider is configured and a DEBUG level
>>> log from a resolution attempt would be helpful.
>>>
>>> Regards,
>>> Thomas Hallgren
>>>
>>>
>>> fabrice macagno wrote:
>>>> Hello,
>>>> I would like to use the versionConverter to select the requested
>>>> version of a buckminster component. We've got the standard svn
>>>> layout: * branches
>>>> * tags
>>>> * trunk
>>>> And this the same layout under branches, tags and trunk.
>>>> I'm able to retrieve the correct component version stored under the
>>>> tags folder using the versionConverter with the type "tag" and the
>>>> flag "moduleBeforeTag". But when I use the version converter with the
>>>> type "branch" and the same flag "moduleBeforeTag", the component
>>>> reader tries to locate the component at the root of the branches
>>>> folder. Do I have make a mistake?
>>>>
>>>> Thanks!
>
Re: versionConverter for svn component reader [message #380036 is a reply to message #380033] Thu, 11 September 2008 18:03 Go to previous message
fabrice macagno is currently offline fabrice macagnoFriend
Messages: 7
Registered: July 2009
Junior Member
Done:
Bug 247062

Cheers.

Thomas Hallgren wrote:

> Hi Fabrice,
> This looks like a bug. Apparently the branches folder is searched for
> versions even when the moduleBeforeTag is specified. Can you please enter
> a bugzilla for this? The expected behavior should be to search for
> branches/<module>/<version>/<component> and the versionConverter should
> only see <version>
>
> Thanks,
> Thomas Hallgren
>
> fabrice macagno wrote:
>> Hi,
>> any ideas about my problem?
>>
>> Thanks!
>>
>> fabrice macagno wrote:
>>
>>> Hi, here is a RMAP snippet:
>>>
>>> --->
>>> <searchPath name="marny">
>>> <provider readerType="svn" componentTypes="buckminster"
>>> mutable="true" source="true">
>>> <uri format="https://{0}:{1}
>>> @our.svn.fr/repos/trunk/plugins/maya/arnold/{2}?moduleBefore Tag ">
>>> <bc:propertyRef key="svn.login"/>
>>> <bc:propertyRef key="svn.passwd"/>
>>> <bc:propertyRef key="buckminster.component"/>
>>> </uri>
>>> <versionConverter type="branch" versionType="OSGi"/>
>>> </provider>
>>> </searchPath>
>>> --->
>>>
>>> And here is the debug level log:
>>>
>>> --->
>>> marny:buckminster/[2.27.4,2.27.4]#OSGi: Using resolver rmap
>>> Downloading file:/T:/Temp/our.rmap
>>> marny:buckminster/[2.27.4,2.27.4]#OSGi: Using resource map
>>> file:/T:/Temp/our.rmap
>>> marny:buckminster/[2.27.4,2.27.4]#OSGi: Using search path marny
>>> marny:buckminster/[2.27.4,2.27.4]#OSGi: Trying provider svn(https://{0}:
>>> {1}@our.svn.fr/repos/trunk/plugins/maya/arnold/{2}?moduleBef oreTag)
>>> marny:buckminster/[2.27.4,2.27.4]#OSGi: Using version converter branch.
>>> trunk/head will not be considered
>>> marny:buckminster/[2.27.4,2.27.4]#OSGi: branches will be searched
>>> Listing remote folder https://our.svn.fr/repos/branches#HEAD
>>> marny:buckminster/[2.27.4,2.27.4]#OSGi: Rejecting provider svn(https://
>>> {0}:{1}@our.svn.fr/repos/trunk/plugins/maya/arnold/{2}?modul eBeforeTag):
>>> No component match was found
>>> marny:buckminster/[2.27.4,2.27.4]#OSGi: No provider was found that could
>>> resolve the request
>>> ERROR [0001] : No suitable provider for component marny:buckminster/
>>> [2.27.4,2.27.4]#OSGi was found in searchPath marny
>>> ERROR [0001] : Rejecting provider svn(https://{0}:{1}
>>> @our.svn.fr/repos/trunk/plugins/maya/arnold/{2}?moduleBefore Tag): No
>>> component match was found
>>> --->
>>>
>>> I've got a window error message which says:
>>>
>>> --->
>>> 'Resolving query" has encountered a problem.
>>> Syntax error in version string java-1.4 at position 0:
>>> Not a valid OSGi version
>>> --->
>>>
>>>
>>> "java-1.4" is a folder at the root of the branches directory (it has
>>> nothing to do with my current project) and I guess it shoudn't be parsed
>>> by the reader.
>>>
>>> I have the exact same layout for my project under trunk and branches.
>>>
>>> I hope it helps.
>>>
>>>
>>> Thomas Hallgren <thomas@tada.se> ?crivait news:48BCE544.6030804@tada.se:
>>>
>>>> Hi Fabrice,
>>>> The version converter should behave exactly the same for branches and
>>>> tags when using SVN. Can you provide some more info? A snippet from
>>>> you RMAP that shows how the provider is configured and a DEBUG level
>>>> log from a resolution attempt would be helpful.
>>>>
>>>> Regards,
>>>> Thomas Hallgren
>>>>
>>>>
>>>> fabrice macagno wrote:
>>>>> Hello,
>>>>> I would like to use the versionConverter to select the requested
>>>>> version of a buckminster component. We've got the standard svn
>>>>> layout: * branches
>>>>> * tags
>>>>> * trunk
>>>>> And this the same layout under branches, tags and trunk.
>>>>> I'm able to retrieve the correct component version stored under the
>>>>> tags folder using the versionConverter with the type "tag" and the
>>>>> flag "moduleBeforeTag". But when I use the version converter with the
>>>>> type "branch" and the same flag "moduleBeforeTag", the component
>>>>> reader tries to locate the component at the root of the branches
>>>>> folder. Do I have make a mistake?
>>>>>
>>>>> Thanks!
>>
Previous Topic:component type for eclipse projects
Next Topic:CVS component reader changed?
Goto Forum:
  


Current Time: Fri Apr 19 06:29:05 GMT 2024

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

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

Back to the top