how to find my external programs? [message #127980] |
Fri, 12 September 2003 03:26  |
Eclipse User |
|
|
|
Originally posted by: ian.brown.printsoft.de
I am investigating what I need to do to ship a product based on eclipse.
My plug-in needs to call some c++ executables, and these will be shipped
with the product. The directory structure I have at the moment is like this:
<install directory>
/bin
/jre
eclipse.exe
/features
etc.
It's not quite as the documentation suggests (i.e. there is no eclipse
sub-directory) ... this is because I am using the free zero-g installer and
it insists on putting the jre in the install directory.
Anyhow, my tools live in the bin directory. At the moment, I just make sure
that <install directory>/bin is on the path and invoke them by name. Because
I want to support side by side installations, I need to change my plug-in so
that it invokes my executables directly ... i.e. the system command needs to
be:
<install directory>/bin/mytool.exe
The question I have is how do I find <install directory> from within
eclipse. I can find the directory for the workspace, for the project and
even for the directory passed along with the -data command line option ...
but none of these are what I need. I need the location of the currently
running eclipse.
Anyone any ideas or pointers,
Ian
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08125 seconds