Re: Application deployement, user config file

Casqueiro Gilles <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <46731A37FFC5D047B3FAAD3558D349B7588216CC@BMI-2K8-MS03.emea.bracco.priv>
Hi Geertjan,

Thanks for your reply. My question was slightly different, sorry. Doing as you suggested actually takes the custom .conf file and deploys it into the C:/Program Files/ApplicationName/etc during the installation of the application. According to this tutorial : http://wiki.netbeans.org/FaqNetbeansConf , there are two places where we can put such conf files. The first one is a global location (it works for all users) and the second one is user dependent. Apparently the user dependent one overrides the global one. The user dependent one has to be located in ${userdir}/etc/ myCustom.conf. I am interested in using the user dependent one but it is not deployed during installation by using “app.conf= nbproject/myCustom.conf” in the project.properties file. Is there a way to do it?

Gilles

From: geertjan wielenga [mailto:[email protected]]
Sent: lundi 8 février 2016 12:00
To: [email protected]
Subject: [platform-dev] Re: Application deployement, user config file


https://blogs.oracle.com/geertjan/entry/support_for_custom_configuration_files

Gj
On 8-2-2016 11:57, Casqueiro Gilles wrote:
Hi,

Is there a way to force the Netbeans framework to put a copy of a custom .conf file in ${userdir}/etc/ during deployment (Windows installer) or the first time the application is launched? By default, only the global  one in Program Files is deployed.

Thanks

Gilles



-----------------------------------------------------------------------

Le informazioni contenute in questo messaggio di posta elettronica e relativi allegati sono riservate e confidenziali e ne è vietata la diffusione in qualunque modo eseguita. Qualora Lei non fosse la persona a cui il presente messaggio è destinato, La invitiamo ad eliminarlo e a darcene gentile comunicazione.

The information contained in this e-mail and any attachments is confidential and may also be privileged. If you are not the named recipient please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.

-----------------------------------------------------------------------



-----------------------------------------------------------------------

Le informazioni contenute in questo messaggio di posta elettronica e relativi allegati sono riservate e confidenziali e ne è vietata la diffusione in qualunque modo eseguita. Qualora Lei non fosse la persona a cui il presente messaggio è destinato, La invitiamo ad eliminarlo e a darcene gentile comunicazione.

The information contained in this e-mail and any attachments is confidential and may also be privileged. If you are not the named recipient please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.

-----------------------------------------------------------------------
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.