[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Startlevel specified for product gets ignored
|
IIRC, there were cases where it was not possible to change the default start level to anything other than 4.
I'd also assume that setting osgi.bundles.defaultStartLevel=4 in the product should work. If it doesn't, you could open a bug report for this. When doning so, please provide a minimal, standalone example to demonstrate the problem.
Regards
Tobias
I would also guess that
> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of Sievers, Jan
> Sent: Donnerstag, 4. Juli 2013 10:02
> To: Tycho user list
> Subject: Re: [tycho-user] Startlevel specified for product gets ignored
>
> http://git.eclipse.org/c/tycho/org.eclipse.tycho-demo.git/tree/itp04-rcp
>
> is a working example with startlevels configured in the .product file
>
> Jan
>
> 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
>
> Hi,
>
> 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="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.
> org/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <parent>
> <artifactId>parent</artifactId>
> <groupId>com.navteq.wiki.upstream.build</groupId>
> <version>1.0.0-SNAPSHOT</version>
> <relativePath>../com.navteq.wiki.upstream.build/pom.xml</relativePath>
> </parent>
> <artifactId>com.navteq.wiki.upstream.repository</artifactId>
> <name>Navteq Wiki Upstream Product Repository</name>
> <packaging>eclipse-repository</packaging>
>
> <build>
> <plugins>
> <plugin>
> <groupId>${tycho-groupid}</groupId>
> <artifactId>tycho-p2-director-plugin</artifactId>
> <version>${tycho-version}</version>
> <executions>
> <execution>
> <id>materialize-products</id>
> <goals>
> <goal>materialize-products</goal>
> </goals>
> </execution>
> <execution>
> <id>archive-products</id>
> <goals>
> <goal>archive-products</goal>
> </goals>
> </execution>
> </executions>
> <configuration>
> <products>
> <product>
> <id>wikiupstream</id>
> <attachId>wikiupstream</attachId>
> </product>
> <product>
> <id>wikiupstream-aws</id>
> <attachId>wikiupstream-aws</attachId>
> </product>
> </products>
> </configuration>
> </plugin>
> </plugins>
> </build>
> </project>
>
> Has anyone some advice what I am doing wrong or is it a bug?
>
> PS: I am using Tycho 0.18.
>
>
> Regards
> David
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user