RCP application and config file [message #318404] |
Fri, 27 July 2007 13:48 |
Eclipse User |
|
|
|
Originally posted by: michel.rizzo.st.com
Hi All
Hoping that I was not mistaken in newsgroup ....
We are currently developping an RCP application. No problem about that. To
well-use it we wrote a "config.ini" file, mainly to specify splahscreen and
so on. I put its code hereafter:
osgi.splashPath=platform:/base/plugins/com.st.stxP70.XPackIm port
eclipse.product=com.st.stxP70.XPackImport.product
osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.core.runtime@start
osgi.bundles.defaultStartLevel=4
My issue is about its deployment. In a first time, I would like to
distribute
as a tar ball (or a winzip file depending the targeted platform). So,
where can
I install the configuration file? I think that the best idea could be
$HOME/<dir> (linux) or %USERPROFILE%\<dir> (WinXP) so the launching file
could run the application with
eclipse.exe -product <blabla> -configuration "@user.home/<dir>"
The problem:
- at installation time, I do not know the home directory ....
- may I dynamically generate the config file (in ths case, no more issue)?
Any idea is welcome.
Michel
|
|
|
Powered by
FUDForum. Page generated in 0.04124 seconds