Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] config.ini parameters for tycho surefire test

Hello,

I would like to run UI tests for an application that starts with
non-default startLevels.
My product's config.ini provides these lines as described in the
"system properties" section in [1]
osgi.startLevel=20
osgi.bundles.defaultStartLevel=20

During the surefire test, the config.ini is created with
defaultStartLevel 4, although I configured the system properties with:

<systemProperties>
        <osgi.startLevel>20</osgi.startLevel>
        <osgi.bundles.defaultStartLevel>20</osgi.bundles.defaultStartLevel>
</systemProperties>

The tycho code in [2] does not consider the system property in the
config.ini but sets the default startlevel to 4 and just appends the
system properties with -D[...].
The command line properties do neither take precendence nor are they
considered at all, if they don't have a command line equivalent in
[2].
Is there chance to make tycho consider the _known_ system properties
(as described in [1]) and put them into config.ini instead of the
command line?

Steffen

[1] http://help.eclipse.org/indigo/topic/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html
[2] https://github.com/sonatype/sonatype-tycho/blob/master/tycho-equinox-launching/src/main/java/org/eclipse/tycho/equinox/launching/internal/DefaultEquinoxInstallationFactory.java#L102


Back to the top