Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Get the absolute path of Eclipse RCP exe ?
Get the absolute path of Eclipse RCP exe ? [message #768807] Tue, 20 December 2011 15:59 Go to next message
Federico Sellanes is currently offline Federico Sellanes
Messages: 71
Registered: November 2011
Member
Hi, i have an Eclipse RCP and i need to know how i can get the path of the ide after he is opened (the folder where is the eclipse.exe file that open my rcp).Thanks.
Re: Get the absolute path of Eclipse RCP exe ? [message #769111 is a reply to message #768807] Wed, 21 December 2011 07:32 Go to previous message
Federico Sellanes is currently offline Federico Sellanes
Messages: 71
Registered: November 2011
Member
I figured out myself..

File f = new File(".");
String root = f.getAbsolutePath.toString(); // subString(0, lenght-1)
Previous Topic:Issue opening text/word document in Eclipse RCP
Next Topic:How do i open previous instance of my RCP application
Goto Forum:
  


Current Time: Sat Apr 19 00:32:26 EDT 2014

Powered by FUDForum. Page generated in 0.01973 seconds