Re: Api to get path

Peter Cheung <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <SG2PR01MB0348AA1AE936F4038CDED8BAB5930@SG2PR01MB0348.apcprd01.prod.exchangelabs.com>
Thanks, but the problem is : i need to get the location of the config directory, still finding API to do that. If hard code it to relative path, it could be wrong.

thanks

from Peter


________________________________
From: Benno Markiewicz <[email protected]>
Sent: Tuesday, December 20, 2016 11:58 PM
To: dev
Subject: [platform-dev] Re: Api to get path

Create a backup of your configuration directory. And if NB is not recoverable then restore the backup

Den 20 dec. 2016 09:42 skrev "Peter Cheung" <[email protected]<mailto:[email protected]>>:

Hi

   I am developing a plugin to sign this file (/Users/peter/Library/Application Support/NetBeans/8.2/config/Toolbars/Standard.xml) to google drive. So in case netbeans completely crash (I tried many times) and after reinstall it, i can quickly restore my toolbar buttons. So is there any api to get the path of Standard.xml?

thanks

from Peter.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.