Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] program argument -configuration (eclipse runtime option) not exported to .ini

Thanks a lot for your reply! The problem was solved by using the "Configuration" tab in the product editor.

The parameter was added to the config.ini. Therefore I had to use the  property osgi.configuration.area=@user.home/myNiceDirectory instead of the command line argument -configuration @user.home/myNiceDirectory which I had in application.ini. 


Thank you and kind regards,


-------- Original-Nachricht --------
> Datum: Wed, 29 Feb 2012 13:41:23 +0100
> Von: "Sievers, Jan" <jan.sievers@xxxxxxx>
> An: Tycho user list <tycho-user@xxxxxxxxxxx>
> Betreff: Re: [tycho-user] program argument -configuration (eclipse runtime option) not exported to .ini

> looks like the -configuration argument is indeed filtered out when used in
> <programArgs> 
> All other args, whether before or after -configuraton, with or w/o new
> line are preserved.
> the PDE product editor has a dedicated tab "Configuration" for configuring
> the config.ini file.
> I guess this is what you should use.
> Jan
> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx
> [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Sonja Subicin
> Sent: Mittwoch, 29. Februar 2012 12:33
> To: tycho-user@xxxxxxxxxxx
> Subject: [tycho-user] program argument -configuration (eclipse runtime
> option) not exported to .ini
> Hey there,
>  I am discovering problems using the eclipse runtime option
> -configuration @user.home/.myApplication/someDirectory. I need this option
> to set another configuration location for my application. 
> (see
> I am using tycho
> 0.13.0 and packaging type eclipse-repository to build my application.
> My product file contains the following program arguments: 
> -data @noDefault
> -configuration @user.home/.myApplication/someDirectory
> The eclipse-repository build is able to export the first parameter, but
> the whole second line is ignored so that my application.ini contains only the
> first parameter.
> I have already tried a lot of combinations, e. g. writing seperate lines,
> quotations etc., but the result stays the same. It seems as if there was  a
> special behaviour for the -configuration flag. 
> Does anyone have a clue what causes this problem?
> I have added my config to the attached tychodemo example for the
> eclipse-repository packaging type by Jan and Tobias.
> Kind regards!
> Sonja

NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                                  
Jetzt informieren:

Back to the top