Re: [eclipse-clp-users] multi-platform deployment of embedded ECLiPSe

From: Kish Shen <kisshen_at_cisco.com>
Date: Mon, 14 Sep 2009 20:13:18 +0100
Ulrich Scholz wrote:
> Dear Kish
> 
> I've already successfully used an EclipseEngineOptions object.  The problem
> with the automatic deployment is that the EclipseEngineOptions object needs
> the absolute path to the ECLiPSe installation but the deployed bundle does
> not have one.  In other words, the environment does not provide an absolute
> path the the Java code.
> 
> For this reason, we had the idea to move the ECLiPSe system to a known
> directory, e.g., a subdirectory of /tmp.  Then, the EclipseEngineOptions
> object could be supplied with a valid path.
> 
> Thanks,
> 
> Ulrich
> 
Hi Ulrich,

I don't know about bundles in Java, but are you saying that you cannot 
obtain the absolute path to your bundle once it is deployed?

If you can obtain the absolute path to your bundle, or at least the Java 
program you are running to initialise ECLiPSe, could you not use this to 
construct the absolute path to the ECLiPSe that you deployed with the 
bundle? (I am assuming you would include ECLiPSe within a known relative 
path position within the bundle -- or is this not how bundle works?)

Cheers,

Kish

-- 
This e-mail may contain confidential and privileged material for the
sole use of the intended recipient. Any review, use, distribution or
disclosure by others is strictly prohibited. If you are not the intended
recipient (or authorized to receive for the recipient), please contact
the sender by reply e-mail and delete all copies of this message.
Cisco Systems Limited (Company Number: 02558939), is registered in
England and Wales with its registered office at 1 Callaghan Square,
Cardiff, South Glamorgan CF10 5BT.
Received on Mon Sep 14 2009 - 19:13:34 CEST

This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET