Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Startlevel specified for product gets ignored

Hi Jan,

I am not talking about changing individual startLevels but changing the defaultStartLevel to level 5.
Specifying startlevels for individual bundles is no problem but I need to lift defaultStartLevel to 5 which is not working


Gesendet: Donnerstag, 04. Juli 2013 um 10:02 Uhr
Von: "Sievers, Jan" <jan.sievers@xxxxxxx>
An: "Tycho user list" <tycho-user@xxxxxxxxxxx>
Betreff: Re: [tycho-user] Startlevel specified for product gets ignored

is a working example with startlevels configured in the .product file


From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of David Schmitz
Sent: Mittwoch, 3. Juli 2013 19:04
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] Startlevel specified for product gets ignored


I am trying to set the default startLevel for my products to level 5 via p2.inf file.
The p2.inf file match the pattern productId.p2.inf. However the start level is ignored. 

p2.inf content:

instructions.configure = \ 
    setStartLevel(startLevel:5); \ 
    markStarted(started: true); 

I have also tried to set start level in .product file via property 

 <property name="osgi.bundles.defaultStartLevel" value="5" />    

in the configuration section but this is gets also ignored. My products get always generated with startLevel 4.

This is the pom of my product bundle:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="" xmlns:xsi=""
  <name>Navteq Wiki Upstream Product Repository</name>


Has anyone some advice what I am doing wrong or is it a bug?

PS: I am using Tycho 0.18.

tycho-user mailing list

Back to the top