Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] problem with target platform in tycho 0.13.0

Hi,

i use the following target file

	<?xml version="1.0" encoding="UTF-8" standalone="no"?>
	<?pde version="3.6"?>

	<target name="indigo" sequenceNumber="8">
		<locations>
			<location includeAllPlatforms="false" includeMode="planner"
includeSource="true" type="InstallableUnit">
				<unit id="org.eclipse.platform.ide" version="3.7.0.I20110613-1736"/>
				<unit id="org.eclipse.rcp.feature.group"
version="3.7.0.v20110216-9DB5Fm1FpBGy_AaVz-mFamgY"/>
				<repository
location="http://download.eclipse.org/eclipse/updates/3.7"/>
			</location>
		</locations>
	</target>

and this configuration inside of the pom.xml

	<plugin>
		<groupId>org.eclipse.tycho</groupId>
		<artifactId>target-platform-configuration</artifactId>
		<version>${tycho.version}</version>
		<configuration>
			<resolver>p2</resolver>
			<target>
				<artifact>
					<groupId>${project.groupId}</groupId>
					<artifactId>${project.artifactId}</artifactId>
					<version>${project.version}</version>
					<classifier>indigo</classifier>
				</artifact>
			</target>
			<environments>
				<environment>
					<os>win32</os>
					<ws>win32</ws>
					<arch>x86</arch>
				</environment>
			</environments>
		</configuration>
	</plugin>

it works with release 0.12.0 but with release 0.13.0 i get compilation
errors due not resolved dependencies.
Inside the pom.xml are no other repositories defined.

The maven output with 0.12.0 looks like:

	[INFO] Scanning for projects...
	[INFO] Resolving target platform for project MavenProject:
com.exmaple.rcp:com.example.rcp.commons:1.0.0-SNAPSHOT @
C:\Workspace\workspace_tycho\commons\pom.xml
	[INFO] Adding repository http://download.eclipse.org/eclipse/updates/3.7
	[INFO] Adding repository http://download.eclipse.org/eclipse/updates/3.7
	...

with 0.13.0:

	[INFO] Scanning for projects...
	[INFO] Resolving target platform for project MavenProject:
com.exmaple.rcp:com.example.rcp.commons:1.0.0-SNAPSHOT @
C:\Workspace\workspace_tycho\commons\pom.xml
	...

If i add this

	<repository>
		<id>indigo</id>
		<layout>p2</layout>
		<url>http://download.eclipse.org/eclipse/updates/3.7</url>
	</repository>

to the repositories inside the pom.xml, the log output looks like the
output with 0.12.0, nevertheless the result is the same, the compilation
fails!

Is there anything to configure in 0.13.0?

Thanks
Sebastian


Back to the top