Problems with headless build on 3.5 [message #534831] |
Thu, 20 May 2010 13:15 |
Andrey![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=razumovsky.andrey%40gmail.com) Messages: 10 Registered: May 2010 |
Junior Member |
|
|
Hi!
Sorry to create duplicate topic, but I think I missed the right forum first.
I have an Ant script that builds my plugin using antRunner:
<java classname="org.eclipse.equinox.launcher.Main" fork="true" failonerror="true">
<arg value="-application" />
<arg value="org.eclipse.ant.core.antRunner" />
<arg value="-Dtimestamp=${timestamp}" />
<arg value="-buildfile" />
<arg value="${eclipseLocation}/plugins/org.eclipse.pde.build_${pdeBuildPluginVersion}/scripts/build.xml" />
<arg value="-DbuildDirectory=${buildDirectory}" />
<arg value="-DbaseLocation=${eclipseLocation}" />
<arg value="-DUpdateSiteStagingLocation=${UpdateSiteStagingLocation}" />
<classpath>
<pathelement location="${eclipseLocation}/plugins/org.eclipse.equinox.launcher_${equinoxLauncherPluginVersion}.jar" />
</classpath>
</java>
buildDirectory looks like that
features \
my.plugin.test.feature \
plugins \
my.plugin
my.plugin.test \
So there're two plugins - one main, and one dependant, with tests. Feature points to test plugin.
The script works fine on Eclipse 3.3. But, when I try to migrate it to Eclipse 3.5, it fails.
The reason is that somehow "test" plugin gets compiled BEFORE main one, therefore dependencies cannot be resoved.
Do you know what's the reason of that, or at least what I should look for in the logs?
Thanks!
|
|
|
Powered by
FUDForum. Page generated in 0.03153 seconds