Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Bundled sdm binaries

Orion,

Currently the sdm executable must be installed by hand (i.e. either compiled from source or copied from the plugin to an installation direction). You can install it in /usr/bin or anywhere you want.

However, installing it on the same machine running Eclipse is not that useful, since it really needs to be installed on the target system (the one running the application being developed). which may be a different o/s and architecture. The goal for the kepler release is to automatically copy the executable of the correct architecture from the plugin to the user's home directory on the target system, the run it from there. This will happen transparently, so the user will just start a debug session, and the sdm will be automatically installed if it isn't already.

The sdm is never run by hand. It is always started by Eclipse during a debug session.

If shipping the binaries is a problem for you, I would suggest either dropping the fragments from the build (in which case the user will have to build from source themselves), or installing the sdm's in known location that the user can copy manually to the target machine.

Greg

On Apr 22, 2013, at 5:29 PM, Orion Poplawski <orion@xxxxxxxxxxxxx> wrote:

> On 04/22/2013 12:55 PM, Greg Watson wrote:
>> Bug in script. Should work now.
>> Greg
> 
> That works now, thanks!
> 
> Next questions -
> 
> Does this binary have to get copied to releng/org.eclipse.ptp.linux/os/linux/x86_64/sdm, and thus packed into the ptp.linux jar?  Or can sdm look for the binary in other places?  It's somewhat problematic for the Fedora packages to ship a binary inside the jar file rather than just installing into /usr/bin or some such.  Is this command something that anyone would every run directly from the command line?
> 
> 
> -- 
> Orion Poplawski
> Technical Manager                     303-415-9701 x222
> NWRA, Boulder/CoRA Office             FAX: 303-415-9702
> 3380 Mitchell Lane                       orion@xxxxxxxx
> Boulder, CO 80301                   http://www.nwra.com
> _______________________________________________
> ptp-dev mailing list
> ptp-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ptp-dev



Back to the top