Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » RCP application and config file
RCP application and config file [message #318404] Fri, 27 July 2007 13:48
Eclipse UserFriend
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
Previous Topic:Exception thrown when uninstalling a feature containing an install handler
Next Topic:Change in state to IPropertySource
Goto Forum:
  


Current Time: Mon May 12 19:19:08 EDT 2025

Powered by FUDForum. Page generated in 0.04124 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top