Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Relative paths in RMAP redirects
Relative paths in RMAP redirects [message #379842] Thu, 28 August 2008 08:57 Go to next message
James H is currently offline James HFriend
Messages: 5
Registered: July 2009
Junior Member
Hi

I'm trying to use a redirect in an rmap to provide a fallback for a lot
of common components:

<locator searchPathRef="org.acme.teamA.product.repository"
pattern="^org\.acme\.teamA.product\..*" />

<redirect href="common-resources.rmap" pattern="^.*$" />

I'm not sure this is the intended use of redirect: I saw it as a path to
re-usable rmaps.

If this isn't the intended usage, then this is probably my user-error:

checkout:
[java] !SESSION 2008-08-28 09:51:04.041
-----------------------------------------------
[java] eclipse.buildId=unknown
[java] java.version=1.6.0_04
[java] java.vendor=Sun Microsystems Inc.
[java] BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
[java] Framework arguments: --displaystacktrace --loglevel ERROR
resolve build.cquery
[java] Command-line arguments: -data
E:\workspaces\maia-one\org.acme.teamA.product.build/build
og --displaystacktrace --loglevel ERROR resolve build.cquery
[java] ERROR java.net.MalformedURLException: no protocol:
common-resources.rmap

[java] !ENTRY org.eclipse.buckminster.core 4 293 2008-08-28
09:51:09.557
[java] !MESSAGE ERROR java.net.MalformedURLException: no
protocol: common-resources.rmap

[java] !ENTRY org.eclipse.buckminster.runtime 4 293 2008-08-28
09:51:09.572
[java] !MESSAGE Error while refreshing workspace: null
[java] ERROR: Error while refreshing workspace: null
[java] Command canceled
[java] Java Result: 1

Is there a way to use an rmap from a relative path?

Thanks and regards,

James
Re: Relative paths in RMAP redirects [message #379844 is a reply to message #379842] Thu, 28 August 2008 09:47 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi James,
Relative paths in the rmap redirect makes a lot of sense but it has not been implemented
yet. We already have it in the cquery (for the rmap and properties URL) and in the mspec
(for the cquery/bom url).

Can you please enter an enhancement request for this in our Bugzilla?

Thanks,
Thomas Hallgren


James H wrote:
> Hi
>
> I'm trying to use a redirect in an rmap to provide a fallback for a lot
> of common components:
>
> <locator searchPathRef="org.acme.teamA.product.repository"
> pattern="^org\.acme\.teamA.product\..*" />
>
> <redirect href="common-resources.rmap" pattern="^.*$" />
>
> I'm not sure this is the intended use of redirect: I saw it as a path to
> re-usable rmaps.
>
> If this isn't the intended usage, then this is probably my user-error:
>
> checkout:
> [java] !SESSION 2008-08-28 09:51:04.041
> -----------------------------------------------
> [java] eclipse.buildId=unknown
> [java] java.version=1.6.0_04
> [java] java.vendor=Sun Microsystems Inc.
> [java] BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
> [java] Framework arguments: --displaystacktrace --loglevel ERROR
> resolve build.cquery
> [java] Command-line arguments: -data
> E:\workspaces\maia-one\org.acme.teamA.product.build/build
> og --displaystacktrace --loglevel ERROR resolve build.cquery
> [java] ERROR java.net.MalformedURLException: no protocol:
> common-resources.rmap
>
> [java] !ENTRY org.eclipse.buckminster.core 4 293 2008-08-28
> 09:51:09.557
> [java] !MESSAGE ERROR java.net.MalformedURLException: no
> protocol: common-resources.rmap
>
> [java] !ENTRY org.eclipse.buckminster.runtime 4 293 2008-08-28
> 09:51:09.572
> [java] !MESSAGE Error while refreshing workspace: null
> [java] ERROR: Error while refreshing workspace: null
> [java] Command canceled
> [java] Java Result: 1
>
> Is there a way to use an rmap from a relative path?
>
> Thanks and regards,
>
> James
Re: Relative paths in RMAP redirects (enhancement requested) [message #379849 is a reply to message #379844] Thu, 28 August 2008 11:03 Go to previous message
James H is currently offline James HFriend
Messages: 5
Registered: July 2009
Junior Member
Hi Thomas

Enhancement logged in bugzilla.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=245516

Thanks, and regards,

James

Thomas Hallgren wrote:
> Hi James,
> Relative paths in the rmap redirect makes a lot of sense but it has
> not been implemented yet. We already have it in the cquery (for the
> rmap and properties URL) and in the mspec (for the cquery/bom url).
>
> Can you please enter an enhancement request for this in our Bugzilla?
>
> Thanks,
> Thomas Hallgren
>
>
> James H wrote:
>> Hi
>>
>> I'm trying to use a redirect in an rmap to provide a fallback for a
>> lot of common components:
>>
>> <locator searchPathRef="org.acme.teamA.product.repository"
>> pattern="^org\.acme\.teamA.product\..*" />
>> <redirect href="common-resources.rmap" pattern="^.*$" />
>>
>> I'm not sure this is the intended use of redirect: I saw it as a path
>> to re-usable rmaps.
>>
>> If this isn't the intended usage, then this is probably my user-error:
>>
>> checkout:
>> [java] !SESSION 2008-08-28 09:51:04.041
>> -----------------------------------------------
>> [java] eclipse.buildId=unknown
>> [java] java.version=1.6.0_04
>> [java] java.vendor=Sun Microsystems Inc.
>> [java] BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
>> [java] Framework arguments: --displaystacktrace --loglevel
>> ERROR resolve build.cquery
>> [java] Command-line arguments: -data
>> E:\workspaces\maia-one\org.acme.teamA.product.build/build
>> og --displaystacktrace --loglevel ERROR resolve build.cquery
>> [java] ERROR java.net.MalformedURLException: no protocol:
>> common-resources.rmap
>>
>> [java] !ENTRY org.eclipse.buckminster.core 4 293 2008-08-28
>> 09:51:09.557
>> [java] !MESSAGE ERROR java.net.MalformedURLException: no
>> protocol: common-resources.rmap
>>
>> [java] !ENTRY org.eclipse.buckminster.runtime 4 293 2008-08-28
>> 09:51:09.572
>> [java] !MESSAGE Error while refreshing workspace: null
>> [java] ERROR: Error while refreshing workspace: null
>> [java] Command canceled
>> [java] Java Result: 1
>>
>> Is there a way to use an rmap from a relative path?
>>
>> Thanks and regards,
>>
>> James
>
Previous Topic:Pulling components from CVS branch
Next Topic:Updates for 3.3 and 3.4
Goto Forum:
  


Current Time: Thu Apr 25 17:56:35 GMT 2024

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

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

Back to the top