[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tycho-user] Right way to user eclipse-repository for building an update site
- From: Simon Goodall <simon@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 7 Aug 2012 10:50:07 +0100
- Delivered-to: firstname.lastname@example.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; bh=VrXa5mQo0u9gpUZha06mglGOLzGyGK6ZSxNPoIdM3vs=; b=YUJaF9geAi6mLsIYasrJYzaPyGIhpR2cgKb4bLrQoKxy0WIQEEQaDmA4UzEik4yOdh ZXiDWsAPQ+EjNxSAtuvYvep3jf046AXg4zRLo8YBk5M21zNGyzf/N9KIno11sCDJXJgn wud8c2reYDmQyRXm7ylhQAnYYj868U25RTAaMOWmVejZrBpBHuBJQBAwsFqOUhWcLW60 UJVO9jfgjbWsNxeXldBHE6mt+f01IUZIGq+hrkXif5yJGdH3E6nBUCER4ibqTQNwo7ym vhodNJ9EhDRi3YYVb9kxQ+1qQOTqQAYU8u1c5cdsLYdoFCAQK1UKDMUTmWIU4KppFuPL QZ5g==
On 7 August 2012 08:33, Felix KÃhler (Berlin) <chakaaa@xxxxxxxxx> wrote:
> Hi everyone,
> i've done so far building my update-site with the eclipse-update-site
> packaging type. Now i want to use the non-deprecated-way with eclipse
> I've created a new category.xml and changed the packing type and now i get
> a "Failed to execute goal
> (default-publish-products) on project ... ... Tycho build extension not
> configured for mavenProject: ... ."- Error.
Do you have a sample project that we can see?
I would make sure you have the tycho-maven-plugin in your pom with the
"extensions" option set to true. Also make sure you are not mixing
versions of Tycho.
> In the example projects there a .product-files. So i created for test also a
> .product-file and configured the dependencies. But i get the same error.
Category.xml works fine for me under the eclipse-repository packaging
type - you only need .product if you want to export an RCP
> So whats the right way to change the packing type from update-site to
> And an other question byside.
> Whats the differnece between "-Dtycho.targetPlatform=/path/repository" and
> the maven-repository-config "<repository>/path/repository</repository>" ?
> Because if i use the maven-configuration i've got "Cannot resolve project
> dependencies"-Error for 2 of 10 projects.
The tycho.targetPlatform is typically used to point to an existing
eclipse installation where all the required plugins and features have
already been downloaded. This it a deprecated option though. By using
the repositories list you need to specify all of the p2 repositories
that contain your plugins. For example you may need to include the
indigo repository and the eclipse 3.7 updates repository to replace
the targetPlatform of a basic indigo based eclipse installation. Note
these need to be p2 repositories, not the older style update sites.
The older style update sites do not contain enough metadata for tycho
/ p2 to operate correctly.
If you are missing dependencies you will need to find a p2 repository
to add to the maven repositories list.
> tycho-user mailing list