Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Problems with headless build on 3.5
Problems with headless build on 3.5 [message #534831] Thu, 20 May 2010 13:15
Andrey is currently offline AndreyFriend
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!
Previous Topic:Appending a button to the toolbar
Next Topic:Working with Action not enabled exception
Goto Forum:
  


Current Time: Sun Jun 16 16:01:56 GMT 2024

Powered by FUDForum. Page generated in 0.03153 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top