|
Re: Relative paths in RMAP redirects [message #379844 is a reply to message #379842] |
Thu, 28 August 2008 09:47 |
|
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 |
James H 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
>
|
|
|
Powered by
FUDForum. Page generated in 5.03715 seconds