Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [Teneo] problem with update site
[Teneo] problem with update site [message #1693684] Mon, 27 April 2015 13:49 Go to next message
Thomas Elskens is currently offline Thomas ElskensFriend
Messages: 159
Registered: September 2014
Location: Brussels - Belgium
Senior Member
Hello,

Could it be that the dependencies of Teneo (http://www.elver.org/eclipse/2.1.0/update/) reside on an update-site ancient style ?

I can fetch the dependencies with PDE-target-assistance, but when I try to launch a build, Tycho refuses the repository:
Quote:

[ERROR] Failed to resolve target definition C:\git\portfolio\be.groups.portfolio.targetdefinition\be.groups.portfolio.targetdefinition.target:
Failed to load p2 metadata repository from location http://www.elver.org/eclipse/2.1.0/update: No repository found at http://www.elver.org/eclipse/2.1.0/update.


If I'm correct, is there any way to fetch these dependencies from a regular p2 site ? I've looked for them on Orbit, but org.hibernate is absent and javax.persistence only available in an antiquated version. Only dom4j is available with the good version number...

Many thanks in advance,

Thomas Elskens
Re: [Teneo] problem with update site [message #1693756 is a reply to message #1693684] Tue, 28 April 2015 07:35 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Thomas,
I don't know of other sites which have these plugins. I can change the update site. You seem to know what's wrong with
it. If you can give me some hints I can change the format.

Here is the github repo with the complete site so you can see the current structure:
https://github.com/mtaal/texoteneodeps/tree/master/org.eclipse.emf.teneo.update

Let me know what you think, thanks!

gr. Martin

On 27-04-15 15:49, Thomas Elskens wrote:
> Hello,
>
> Could it be that the dependencies of Teneo (http://www.elver.org/eclipse/2.1.0/update/) reside on an update-site ancient
> style ?
> I can fetch the dependencies with PDE-target-assistance, but when I try to launch a build, Tycho refuses the repository:
> Quote:
>> [ERROR] Failed to resolve target definition
>> C:\git\portfolio\be.groups.portfolio.targetdefinition\be.groups.portfolio.targetdefinition.target: Failed to load p2
>> metadata repository from location http://www.elver.org/eclipse/2.1.0/update: No repository found at
>> http://www.elver.org/eclipse/2.1.0/update.
>
>
> If I'm correct, is there any way to fetch these dependencies from a regular p2 site ? I've looked for them on Orbit, but
> org.hibernate is absent and javax.persistence only available in an antiquated version. Only dom4j is available with the
> good version number...
>
> Many thanks in advance,
>
> Thomas Elskens
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Re: [Teneo] problem with update site [message #1693821 is a reply to message #1693756] Tue, 28 April 2015 14:10 Go to previous messageGo to next message
Thomas Elskens is currently offline Thomas ElskensFriend
Messages: 159
Registered: September 2014
Location: Brussels - Belgium
Senior Member
Hi Martin,

Thanks for the quick answer.

In se, the update site seems okay. As far as I understand what is happening, the problem is really with Tycho. Tycho only resolves dependencies from a "modern" p2 repository, not from an "old" Eclipse Update Site (you can recognize the old format via the presence of the site.xml file).
With the sources you hinted at, I could generate a p2 repository and that one works fine for me (both in PDE and with Maven/Tycho).

It's really extremely easy to implement with Eclipse PDE: in the workspace where you have your feature projects, do

* File > Export > Plug-in development > Deployable Features >
* Choose the features you want to export
* In the destination tab, specify the output directory
* In the options tab, check Generate p2 repository

That's all : PDE generates a repository you can depose as is on your http server. If you're interested in this little enhancement, beware that users still working with Eclipse 3.5 or less cannot use a p2 repository.

Thanks anyhow for the bundling of all those dependencies, it's a real time saver!

Thomas Elskens
Re: [Teneo] problem with update site [message #1693858 is a reply to message #1693821] Tue, 28 April 2015 19:51 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Thomas,
I recreated the 2.1.0 update site as a p2 repository. Can you check if this indeed helps?

The 2.0.0 update site has not changed, I think I will keep that one as it is.

gr. Martin

On 28-04-15 16:10, Thomas Elskens wrote:
> Hi Martin,
>
> Thanks for the quick answer.
> In se, the update site seems okay. As far as I understand what is happening, the problem is really with Tycho. Tycho
> only resolves dependencies from a "modern" p2 repository, not from an "old" Eclipse Update Site (you can recognize the
> old format via the presence of the site.xml file). With the sources you hinted at, I could generate a p2 repository and
> that one works fine for me (both in PDE and with Maven/Tycho).
> It's really extremely easy to implement with Eclipse PDE: in the workspace where you have your feature projects, do
> * File > Export > Plug-in development > Deployable Features > * Choose the features you want to export
> * In the destination tab, specify the output directory
> * In the options tab, check Generate p2 repository
>
> That's all : PDE generates a repository you can depose as is on your http server. If you're interested in this little
> enhancement, beware that users still working with Eclipse 3.5 or less cannot use a p2 repository.
> Thanks anyhow for the bundling of all those dependencies, it's a real time saver!
>
> Thomas Elskens


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Re: [Teneo] problem with update site [message #1696384 is a reply to message #1693858] Tue, 26 May 2015 09:10 Go to previous messageGo to next message
Thomas Elskens is currently offline Thomas ElskensFriend
Messages: 159
Registered: September 2014
Location: Brussels - Belgium
Senior Member
Hello,

First of all sorry for the very late reaction : I somehow did not notice your answer coming by....

The site http://www.elver.org/eclipse/2.1.0/update/ seems to be perfect now, but as of today I can't reach any longer the official site http://download.eclipse.org/modeling/emf/teneo/updates/2.1.0/?d. Perhaps just a temporary network error ... ?

Thomas Elskens

Re: [Teneo] problem with update site [message #1696419 is a reply to message #1696384] Tue, 26 May 2015 11:35 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Thomas,
My mistake, is now back.
http://download.eclipse.org/modeling/emf/teneo/updates/2.1.0/interim/

gr. Martin

On 26-05-15 11:10, Thomas Elskens wrote:
> Hello,
>
> First of all sorry for the very late reaction : I somehow did not notice your answer coming by....
> The site http://www.elver.org/eclipse/2.1.0/update/ seems to be perfect now, but as of today I can't reach any longer
> the official site http://download.eclipse.org/modeling/emf/teneo/updates/2.1.0/?d. Perhaps just a temporary network
> error ... ?
>
> Thomas Elskens
>
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Previous Topic:[OOMPH] ClassCastException on Installer start
Next Topic:[EMF] How to use container the right way
Goto Forum:
  


Current Time: Tue Oct 15 20:55:46 GMT 2019

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

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

Back to the top