Home » Modeling » EMF » [Teneo] problem with update site
[Teneo] problem with update site [message #1693684] |
Mon, 27 April 2015 09:49  |
Eclipse User |
|
|
|
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 03:35   |
Eclipse User |
|
|
|
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 10:10   |
Eclipse User |
|
|
|
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 15:51   |
Eclipse User |
|
|
|
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
|
|
| | |
Goto Forum:
Current Time: Mon Jul 07 01:44:30 EDT 2025
Powered by FUDForum. Page generated in 0.08631 seconds
|