Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Problems with headless build on 3.5
Problems with headless build on 3.5 [message #534818] Thu, 20 May 2010 12:59
Andrey is currently offline AndreyFriend
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

Previous Topic:Declarative Service in a class created by eclipse extension point
Next Topic:"Unresolved compilation problem" upon starting a bundle
Goto Forum:
  


Current Time: Sat Apr 27 01:13:34 GMT 2024

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

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

Back to the top