[Bug 504] DeploymentComponent should know about 'targets'

For more infomation about this bug, visit

Peter Soetens
<peter [dot] soetens [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
Component|TaskBrowser |Deployment

--- Comment #2 from Peter Soetens
<peter [dot] soetens [..] ...> 2008-01-22 11:19:38 ---
(In reply to comment #1)
> Ok. I can reproduce this. It's a bug in the tab completion of the TaskBrowser
> component.
>

Oops ! Comment post to wrong bug !

[Bug 504] New: DeploymentComponent should know about 'targets'

For more infomation about this bug, visit
Summary: DeploymentComponent should know about 'targets'
Product: OCL
Version: 1.4.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Deployment
AssignedTo: orocos-dev [..] ...
ReportedBy: peter [dot] soetens [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

Created an attachment (id=223)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=223)
Implements the feature

In certain installations of rtt/ocl, one can have the -lxrt, -gnulinux and
-xenomai components next to each other. A faulty XML file could load a
component from a different target into the current process, causing
segmentation faults. We could make the DeploymentComponent smart as it tries to
get the correct target. For example, in deployer-gnulinux, these are all
equivalent:

Abbreviated syntax:
loadLibrary("liborocos-helloworld-gnulinux.so")
loadLibrary("liborocos-helloworld-gnulinux")
loadLibrary("liborocos-helloworld")
loadLibrary("orocos-helloworld")

With a path:
loadLibrary("/usr/lib/liborocos-helloworld-gnulinux.so")
loadLibrary("/usr/lib/liborocos-helloworld-gnulinux")
loadLibrary("/usr/lib/liborocos-helloworld")

This patch allows you to omit the '-target' suffix and let the deployer pick
the correct one for you. Hence it allows you to share xml files between targets
to a certain extent.

[Bug 504] DeploymentComponent should know about 'targets'

For more infomation about this bug, visit

Peter Soetens
<peter [dot] soetens [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED

--- Comment #3 from Peter Soetens
<peter [dot] soetens [..] ...> 2008-02-05 10:22:14 ---
$ svn ci -m"Fix bug #504: DeploymentComponent should know about 'targets'."
Sending deployment/DeploymentComponent.cpp
Sending deployment/DeploymentComponent.hpp
Transmitting file data ..
Committed revision 28907.

[Bug 504] DeploymentComponent should know about 'targets'

For more infomation about this bug, visit

Peter Soetens
<peter [dot] soetens [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
Status|NEW |ASSIGNED
Component|Deployment |TaskBrowser

--- Comment #1 from Peter Soetens
<peter [dot] soetens [..] ...> 2008-01-22 11:18:24 ---
Ok. I can reproduce this. It's a bug in the tab completion of the TaskBrowser
component.