Problems with headless build on 3.5 [message #534818] |
Thu, 20 May 2010 12:59 |
Andrey Messages: 10 Registered: May 2010 |
Junior Member |
|
|
Hi!
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!
[Updated on: Thu, 20 May 2010 13:01] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02348 seconds