p2.director installIU [message #534175] |
Tue, 18 May 2010 09:59 |
Manuel Selva Messages: 189 Registered: July 2009 Location: Grenoble, France |
Senior Member |
|
|
Hi there,
I facing an issue that I was not able to solve so I am asking here for your help.
I have an headless build building some features and then launching J-Unit tests.
To do that, I first build my features (it's ok), then install these features in a new "configuration" and finally run the tests.
The problem resides at features installation level performed as following:
<java dir="${env.ECLIPSE}/plugins" classname="org.eclipse.equinox.launcher.Main" fork="yes" classpathref="equinox.launcher.class.path" maxmemory="512m">
<arg line="-application org.eclipse.equinox.p2.director -repository file://${extensions} -installIU ${features} -configuration ${config}" />
</java>
This command completed successfully.
Then I run the test suite as following:
<java dir="${env.ECLIPSE}/plugins" classname="org.eclipse.equinox.launcher.Main" fork="yes" classpathref="equinox.launcher.class.path" maxmemory="512m">
<arg line="-application org.eclipse.pde.junit.runtime.uitestapplication -port ${pde.test.port} -testpluginname ${plugin.name} -classnames ${pde.test.classes} -configuration ${config}" />
</java>
In this workbench with this configuration I can see that my features are correctly installed (they are displayed in the installation details - installed software dialog but my plugins are not visible (and not loaded because test failed with class not found exception) in the plugins tab.
Am I missing something, any ideas ?
Thanks in advance
Manu
http://manuelselva.wordpress.com/
|
|
|
Powered by
FUDForum. Page generated in 0.07000 seconds