Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] Creating a target definition for an App to use CDO v3.0 / Hibernate Store
[CDO] Creating a target definition for an App to use CDO v3.0 / Hibernate Store [message #690901] Thu, 30 June 2011 11:34 Go to next message
Dan Pollitt is currently offline Dan PollittFriend
Messages: 55
Registered: August 2010
Member
Hi All,

I'm trying to create a target platform definition file (*.target) to set
as the target platform within my IDE so that I can experiment with CDO.

I will be looking at CDO v3.0 (as opposed to 4.0) because the most
likely Eclipse version to deploy my plugins into will be Eclipse 3.6.

I tried to follow the instructions for getting hold of dependencies
(i.e. p2 sites I should add to the target platform) from:
http://wiki.eclipse.org/CDO/Hibernate_Store/Quick_Start however I had a
couple of issues:

1. There are mixed messages as to which version of Teneo I should be
using. For CDO v3.0 and EMF v2.6 is it 1.1.2 or 1.2.0?

2. Whichever Teneo I add in the target platform it is showing me errors,
for example with Teneo 1.2.0, the target platform editor reports the
following problem:

"Cannot satisfy dependency:
From: EMF Teneo Hibernate 1.2.0.v201104261907
(org.eclipse.emf.teneo.hibernate 1.2.0.v201104261907)
To: bundle org.eclipse.emf.teneo.annotations [1.1.0,2.0.0)

Cannot satisfy dependency:
From: EMF Teneo Hibernate Runtime 1.2.0.v201104261907
(org.eclipse.emf.teneo.hibernate.feature.group 1.2.0.v201104261907)
To: org.eclipse.emf.teneo.hibernate [1.2.0.v201104261907]

....
"

I presume the second problem is just a knock-on to the first.

Can anyone point me in the right direction to resolve this - or perhaps
provide me an example target platform definition that works for them?

For reference, the target definition I have at the moment is:

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

<target name="cdotarget" sequenceNumber="2">
<locations>
<location
path="C:\dev\eclipse\eclipse-modeling-helios-SR2-incubation-win32\eclipse"
type="Profile"/>
<location includeAllPlatforms="false" includeMode="planner"
includeSource="true" type="InstallableUnit">
<unit id="org.apache.commons.logging.feature.group"
version="1.1.1.201005082216"/>
<unit id="org.apache.log4j.feature.group" version="1.2.16.201005082216"/>
<unit id="org.dom4j.feature.group" version="1.6.1.201005082216"/>
<unit id="org.hibernate.feature.group" version="3.3.2.201005082216"/>
<unit id="org.hsqldb.feature.group" version="1.8.1.201005082216"/>
<unit id="javax.persistence.feature.group" version="1.99.0.201005082216"/>
<unit id="com.mysql.jdbc.feature.group" version="5.1.11.201005082216"/>
<repository location="http://www.elver.org/eclipse/update_1.1.2"/>
</location>
<location includeAllPlatforms="false" includeMode="planner"
includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.emf.teneo.hibernate.sdk.feature.group"
version="1.2.0.v201104261907"/>
<unit id="org.eclipse.emf.teneo.hibernate.feature.group"
version="1.2.0.v201104261907"/>
<repository
location="http://download.eclipse.org/modeling/emf/teneo/updates/1.2.0/interim/"/>
</location>
</locations>
</target>


Thanks,
Dan
Re: [CDO] Creating a target definition for an App to use CDO v3.0 / Hibernate Store [message #690902 is a reply to message #690901] Thu, 30 June 2011 11:43 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Dan,
Hmm, it seems that you are missing plugins. You should install the CDO Hibernate feature from the teneo update site. The
plugins you need are:
org.eclipse.emf.teneo
org.eclipse.emf.teneo.annotations
org.eclipse.emf.teneo.hibernate.mapper

gr. Martin

On 06/30/2011 01:34 PM, Dan Pollitt wrote:
> Hi All,
>
> I'm trying to create a target platform definition file (*.target) to set as the target platform within my IDE so that I
> can experiment with CDO.
>
> I will be looking at CDO v3.0 (as opposed to 4.0) because the most likely Eclipse version to deploy my plugins into will
> be Eclipse 3.6.
>
> I tried to follow the instructions for getting hold of dependencies (i.e. p2 sites I should add to the target platform)
> from: http://wiki.eclipse.org/CDO/Hibernate_Store/Quick_Start however I had a couple of issues:
>
> 1. There are mixed messages as to which version of Teneo I should be using. For CDO v3.0 and EMF v2.6 is it 1.1.2 or 1.2.0?
>
> 2. Whichever Teneo I add in the target platform it is showing me errors, for example with Teneo 1.2.0, the target
> platform editor reports the following problem:
>
> "Cannot satisfy dependency:
> From: EMF Teneo Hibernate 1.2.0.v201104261907 (org.eclipse.emf.teneo.hibernate 1.2.0.v201104261907)
> To: bundle org.eclipse.emf.teneo.annotations [1.1.0,2.0.0)
>
> Cannot satisfy dependency:
> From: EMF Teneo Hibernate Runtime 1.2.0.v201104261907 (org.eclipse.emf.teneo.hibernate.feature.group 1.2.0.v201104261907)
> To: org.eclipse.emf.teneo.hibernate [1.2.0.v201104261907]
>
> ....
> "
>
> I presume the second problem is just a knock-on to the first.
>
> Can anyone point me in the right direction to resolve this - or perhaps provide me an example target platform definition
> that works for them?
>
> For reference, the target definition I have at the moment is:
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <?pde version="3.6"?>
>
> <target name="cdotarget" sequenceNumber="2">
> <locations>
> <location path="C:\dev\eclipse\eclipse-modeling-helios-SR2-incubation-win32\eclipse" type="Profile"/>
> <location includeAllPlatforms="false" includeMode="planner" includeSource="true" type="InstallableUnit">
> <unit id="org.apache.commons.logging.feature.group" version="1.1.1.201005082216"/>
> <unit id="org.apache.log4j.feature.group" version="1.2.16.201005082216"/>
> <unit id="org.dom4j.feature.group" version="1.6.1.201005082216"/>
> <unit id="org.hibernate.feature.group" version="3.3.2.201005082216"/>
> <unit id="org.hsqldb.feature.group" version="1.8.1.201005082216"/>
> <unit id="javax.persistence.feature.group" version="1.99.0.201005082216"/>
> <unit id="com.mysql.jdbc.feature.group" version="5.1.11.201005082216"/>
> <repository location="http://www.elver.org/eclipse/update_1.1.2"/>
> </location>
> <location includeAllPlatforms="false" includeMode="planner" includeSource="true" type="InstallableUnit">
> <unit id="org.eclipse.emf.teneo.hibernate.sdk.feature.group" version="1.2.0.v201104261907"/>
> <unit id="org.eclipse.emf.teneo.hibernate.feature.group" version="1.2.0.v201104261907"/>
> <repository location="http://download.eclipse.org/modeling/emf/teneo/updates/1.2.0/interim/"/>
> </location>
> </locations>
> </target>
>
>
> Thanks,
> Dan


--

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@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [CDO] Creating a target definition for an App to use CDO v3.0 / Hibernate Store [message #690910 is a reply to message #690902] Thu, 30 June 2011 12:03 Go to previous messageGo to next message
Dan Pollitt is currently offline Dan PollittFriend
Messages: 55
Registered: August 2010
Member
Hi Martin,

Thanks for your quick response. I had not selected the feature: "EMF
Teneo CDO" from the /teneo/updates/1.2.0/interim site - after adding
that as well, all seemed happy.

As far as the Teneo version, I am looking to use CDO v3.0 with EMF v2.6
with the Hibernate Store backed with MySQL - am I ok with the following
versions:

Teneo CDO/Hibernate: 1.2.0
Hibernate 3.3.2 ?

Thanks,
Dan

On 30/06/2011 12:43, Martin Taal wrote:
> Hi Dan,
> Hmm, it seems that you are missing plugins. You should install the CDO
> Hibernate feature from the teneo update site. The plugins you need are:
> org.eclipse.emf.teneo
> org.eclipse.emf.teneo.annotations
> org.eclipse.emf.teneo.hibernate.mapper
>
> gr. Martin
>
> On 06/30/2011 01:34 PM, Dan Pollitt wrote:
>> Hi All,
>>
>> I'm trying to create a target platform definition file (*.target) to
>> set as the target platform within my IDE so that I
>> can experiment with CDO.
>>
>> I will be looking at CDO v3.0 (as opposed to 4.0) because the most
>> likely Eclipse version to deploy my plugins into will
>> be Eclipse 3.6.
>>
>> I tried to follow the instructions for getting hold of dependencies
>> (i.e. p2 sites I should add to the target platform)
>> from: http://wiki.eclipse.org/CDO/Hibernate_Store/Quick_Start however
>> I had a couple of issues:
>>
>> 1. There are mixed messages as to which version of Teneo I should be
>> using. For CDO v3.0 and EMF v2.6 is it 1.1.2 or 1.2.0?
>>
>> 2. Whichever Teneo I add in the target platform it is showing me
>> errors, for example with Teneo 1.2.0, the target
>> platform editor reports the following problem:
>>
>> "Cannot satisfy dependency:
>> From: EMF Teneo Hibernate 1.2.0.v201104261907
>> (org.eclipse.emf.teneo.hibernate 1.2.0.v201104261907)
>> To: bundle org.eclipse.emf.teneo.annotations [1.1.0,2.0.0)
>>
>> Cannot satisfy dependency:
>> From: EMF Teneo Hibernate Runtime 1.2.0.v201104261907
>> (org.eclipse.emf.teneo.hibernate.feature.group 1.2.0.v201104261907)
>> To: org.eclipse.emf.teneo.hibernate [1.2.0.v201104261907]
>>
>> ....
>> "
>>
>> I presume the second problem is just a knock-on to the first.
>>
>> Can anyone point me in the right direction to resolve this - or
>> perhaps provide me an example target platform definition
>> that works for them?
>>
>> For reference, the target definition I have at the moment is:
>>
>> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>> <?pde version="3.6"?>
>>
>> <target name="cdotarget" sequenceNumber="2">
>> <locations>
>> <location
>> path="C:\dev\eclipse\eclipse-modeling-helios-SR2-incubation-win32\eclipse"
>> type="Profile"/>
>> <location includeAllPlatforms="false" includeMode="planner"
>> includeSource="true" type="InstallableUnit">
>> <unit id="org.apache.commons.logging.feature.group"
>> version="1.1.1.201005082216"/>
>> <unit id="org.apache.log4j.feature.group" version="1.2.16.201005082216"/>
>> <unit id="org.dom4j.feature.group" version="1.6.1.201005082216"/>
>> <unit id="org.hibernate.feature.group" version="3.3.2.201005082216"/>
>> <unit id="org.hsqldb.feature.group" version="1.8.1.201005082216"/>
>> <unit id="javax.persistence.feature.group"
>> version="1.99.0.201005082216"/>
>> <unit id="com.mysql.jdbc.feature.group" version="5.1.11.201005082216"/>
>> <repository location="http://www.elver.org/eclipse/update_1.1.2"/>
>> </location>
>> <location includeAllPlatforms="false" includeMode="planner"
>> includeSource="true" type="InstallableUnit">
>> <unit id="org.eclipse.emf.teneo.hibernate.sdk.feature.group"
>> version="1.2.0.v201104261907"/>
>> <unit id="org.eclipse.emf.teneo.hibernate.feature.group"
>> version="1.2.0.v201104261907"/>
>> <repository
>> location="http://download.eclipse.org/modeling/emf/teneo/updates/1.2.0/interim/"/>
>>
>> </location>
>> </locations>
>> </target>
>>
>>
>> Thanks,
>> Dan
>
>
Re: [CDO] Creating a target definition for an App to use CDO v3.0 / Hibernate Store [message #690911 is a reply to message #690910] Thu, 30 June 2011 12:09 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Yes these versions are fine, I am not sure in how far CDO 4.0 is backward compatible with 3.6, maybe it is... Eike
Stepper can tell this.

gr. Martin

On 06/30/2011 02:03 PM, Dan Pollitt wrote:
> Hi Martin,
>
> Thanks for your quick response. I had not selected the feature: "EMF Teneo CDO" from the /teneo/updates/1.2.0/interim
> site - after adding that as well, all seemed happy.
>
> As far as the Teneo version, I am looking to use CDO v3.0 with EMF v2.6 with the Hibernate Store backed with MySQL - am
> I ok with the following versions:
>
> Teneo CDO/Hibernate: 1.2.0
> Hibernate 3.3.2 ?
>
> Thanks,
> Dan
>
> On 30/06/2011 12:43, Martin Taal wrote:
>> Hi Dan,
>> Hmm, it seems that you are missing plugins. You should install the CDO
>> Hibernate feature from the teneo update site. The plugins you need are:
>> org.eclipse.emf.teneo
>> org.eclipse.emf.teneo.annotations
>> org.eclipse.emf.teneo.hibernate.mapper
>>
>> gr. Martin
>>
>> On 06/30/2011 01:34 PM, Dan Pollitt wrote:
>>> Hi All,
>>>
>>> I'm trying to create a target platform definition file (*.target) to
>>> set as the target platform within my IDE so that I
>>> can experiment with CDO.
>>>
>>> I will be looking at CDO v3.0 (as opposed to 4.0) because the most
>>> likely Eclipse version to deploy my plugins into will
>>> be Eclipse 3.6.
>>>
>>> I tried to follow the instructions for getting hold of dependencies
>>> (i.e. p2 sites I should add to the target platform)
>>> from: http://wiki.eclipse.org/CDO/Hibernate_Store/Quick_Start however
>>> I had a couple of issues:
>>>
>>> 1. There are mixed messages as to which version of Teneo I should be
>>> using. For CDO v3.0 and EMF v2.6 is it 1.1.2 or 1.2.0?
>>>
>>> 2. Whichever Teneo I add in the target platform it is showing me
>>> errors, for example with Teneo 1.2.0, the target
>>> platform editor reports the following problem:
>>>
>>> "Cannot satisfy dependency:
>>> From: EMF Teneo Hibernate 1.2.0.v201104261907
>>> (org.eclipse.emf.teneo.hibernate 1.2.0.v201104261907)
>>> To: bundle org.eclipse.emf.teneo.annotations [1.1.0,2.0.0)
>>>
>>> Cannot satisfy dependency:
>>> From: EMF Teneo Hibernate Runtime 1.2.0.v201104261907
>>> (org.eclipse.emf.teneo.hibernate.feature.group 1.2.0.v201104261907)
>>> To: org.eclipse.emf.teneo.hibernate [1.2.0.v201104261907]
>>>
>>> ....
>>> "
>>>
>>> I presume the second problem is just a knock-on to the first.
>>>
>>> Can anyone point me in the right direction to resolve this - or
>>> perhaps provide me an example target platform definition
>>> that works for them?
>>>
>>> For reference, the target definition I have at the moment is:
>>>
>>> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>> <?pde version="3.6"?>
>>>
>>> <target name="cdotarget" sequenceNumber="2">
>>> <locations>
>>> <location
>>> path="C:\dev\eclipse\eclipse-modeling-helios-SR2-incubation-win32\eclipse"
>>> type="Profile"/>
>>> <location includeAllPlatforms="false" includeMode="planner"
>>> includeSource="true" type="InstallableUnit">
>>> <unit id="org.apache.commons.logging.feature.group"
>>> version="1.1.1.201005082216"/>
>>> <unit id="org.apache.log4j.feature.group" version="1.2.16.201005082216"/>
>>> <unit id="org.dom4j.feature.group" version="1.6.1.201005082216"/>
>>> <unit id="org.hibernate.feature.group" version="3.3.2.201005082216"/>
>>> <unit id="org.hsqldb.feature.group" version="1.8.1.201005082216"/>
>>> <unit id="javax.persistence.feature.group"
>>> version="1.99.0.201005082216"/>
>>> <unit id="com.mysql.jdbc.feature.group" version="5.1.11.201005082216"/>
>>> <repository location="http://www.elver.org/eclipse/update_1.1.2"/>
>>> </location>
>>> <location includeAllPlatforms="false" includeMode="planner"
>>> includeSource="true" type="InstallableUnit">
>>> <unit id="org.eclipse.emf.teneo.hibernate.sdk.feature.group"
>>> version="1.2.0.v201104261907"/>
>>> <unit id="org.eclipse.emf.teneo.hibernate.feature.group"
>>> version="1.2.0.v201104261907"/>
>>> <repository
>>> location="http://download.eclipse.org/modeling/emf/teneo/updates/1.2.0/interim/"/>
>>>
>>> </location>
>>> </locations>
>>> </target>
>>>
>>>
>>> Thanks,
>>> Dan
>>
>>
>


--

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@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [CDO] Creating a target definition for an App to use CDO v3.0 / Hibernate Store [message #690935 is a reply to message #690901] Thu, 30 June 2011 12:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by:

Dan,

although it's not officially supported, we have CDO 4.0 running with a
Helios-based TP (Eclipse 3.6 + EMF 2.6). Not sure about Teneo...

HTH,
Víctor.

Dan Pollitt escribió:
> Hi All,
>
> I'm trying to create a target platform definition file (*.target) to set
> as the target platform within my IDE so that I can experiment with CDO.
>
> I will be looking at CDO v3.0 (as opposed to 4.0) because the most
> likely Eclipse version to deploy my plugins into will be Eclipse 3.6.
>
> I tried to follow the instructions for getting hold of dependencies
> (i.e. p2 sites I should add to the target platform) from:
> http://wiki.eclipse.org/CDO/Hibernate_Store/Quick_Start however I had a
> couple of issues:
>
> 1. There are mixed messages as to which version of Teneo I should be
> using. For CDO v3.0 and EMF v2.6 is it 1.1.2 or 1.2.0?
>
> 2. Whichever Teneo I add in the target platform it is showing me errors,
> for example with Teneo 1.2.0, the target platform editor reports the
> following problem:
>
> "Cannot satisfy dependency:
> From: EMF Teneo Hibernate 1.2.0.v201104261907
> (org.eclipse.emf.teneo.hibernate 1.2.0.v201104261907)
> To: bundle org.eclipse.emf.teneo.annotations [1.1.0,2.0.0)
>
> Cannot satisfy dependency:
> From: EMF Teneo Hibernate Runtime 1.2.0.v201104261907
> (org.eclipse.emf.teneo.hibernate.feature.group 1.2.0.v201104261907)
> To: org.eclipse.emf.teneo.hibernate [1.2.0.v201104261907]
>
> ...
> "
>
> I presume the second problem is just a knock-on to the first.
>
> Can anyone point me in the right direction to resolve this - or perhaps
> provide me an example target platform definition that works for them?
>
> For reference, the target definition I have at the moment is:
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <?pde version="3.6"?>
>
> <target name="cdotarget" sequenceNumber="2">
> <locations>
> <location
> path="C:\dev\eclipse\eclipse-modeling-helios-SR2-incubation-win32\eclipse"
> type="Profile"/>
> <location includeAllPlatforms="false" includeMode="planner"
> includeSource="true" type="InstallableUnit">
> <unit id="org.apache.commons.logging.feature.group"
> version="1.1.1.201005082216"/>
> <unit id="org.apache.log4j.feature.group" version="1.2.16.201005082216"/>
> <unit id="org.dom4j.feature.group" version="1.6.1.201005082216"/>
> <unit id="org.hibernate.feature.group" version="3.3.2.201005082216"/>
> <unit id="org.hsqldb.feature.group" version="1.8.1.201005082216"/>
> <unit id="javax.persistence.feature.group" version="1.99.0.201005082216"/>
> <unit id="com.mysql.jdbc.feature.group" version="5.1.11.201005082216"/>
> <repository location="http://www.elver.org/eclipse/update_1.1.2"/>
> </location>
> <location includeAllPlatforms="false" includeMode="planner"
> includeSource="true" type="InstallableUnit">
> <unit id="org.eclipse.emf.teneo.hibernate.sdk.feature.group"
> version="1.2.0.v201104261907"/>
> <unit id="org.eclipse.emf.teneo.hibernate.feature.group"
> version="1.2.0.v201104261907"/>
> <repository
> location="http://download.eclipse.org/modeling/emf/teneo/updates/1.2.0/interim/"/>
>
> </location>
> </locations>
> </target>
>
>
> Thanks,
> Dan
Re: [CDO] Creating a target definition for an App to use CDO v3.0 / Hibernate Store [message #690936 is a reply to message #690935] Thu, 30 June 2011 12:45 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
If it is possible I would use 4.0, it is maintained and it works with Hibernate 3.6.0.

gr. Martin

On 06/30/2011 02:39 PM, Víctor Roldán Betancort wrote:
> Dan,
>
> although it's not officially supported, we have CDO 4.0 running with a Helios-based TP (Eclipse 3.6 + EMF 2.6). Not sure
> about Teneo...
>
> HTH,
> Víctor.
>
> Dan Pollitt escribió:
>> Hi All,
>>
>> I'm trying to create a target platform definition file (*.target) to set
>> as the target platform within my IDE so that I can experiment with CDO.
>>
>> I will be looking at CDO v3.0 (as opposed to 4.0) because the most
>> likely Eclipse version to deploy my plugins into will be Eclipse 3.6.
>>
>> I tried to follow the instructions for getting hold of dependencies
>> (i.e. p2 sites I should add to the target platform) from:
>> http://wiki.eclipse.org/CDO/Hibernate_Store/Quick_Start however I had a
>> couple of issues:
>>
>> 1. There are mixed messages as to which version of Teneo I should be
>> using. For CDO v3.0 and EMF v2.6 is it 1.1.2 or 1.2.0?
>>
>> 2. Whichever Teneo I add in the target platform it is showing me errors,
>> for example with Teneo 1.2.0, the target platform editor reports the
>> following problem:
>>
>> "Cannot satisfy dependency:
>> From: EMF Teneo Hibernate 1.2.0.v201104261907
>> (org.eclipse.emf.teneo.hibernate 1.2.0.v201104261907)
>> To: bundle org.eclipse.emf.teneo.annotations [1.1.0,2.0.0)
>>
>> Cannot satisfy dependency:
>> From: EMF Teneo Hibernate Runtime 1.2.0.v201104261907
>> (org.eclipse.emf.teneo.hibernate.feature.group 1.2.0.v201104261907)
>> To: org.eclipse.emf.teneo.hibernate [1.2.0.v201104261907]
>>
>> ...
>> "
>>
>> I presume the second problem is just a knock-on to the first.
>>
>> Can anyone point me in the right direction to resolve this - or perhaps
>> provide me an example target platform definition that works for them?
>>
>> For reference, the target definition I have at the moment is:
>>
>> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>> <?pde version="3.6"?>
>>
>> <target name="cdotarget" sequenceNumber="2">
>> <locations>
>> <location
>> path="C:\dev\eclipse\eclipse-modeling-helios-SR2-incubation-win32\eclipse"
>> type="Profile"/>
>> <location includeAllPlatforms="false" includeMode="planner"
>> includeSource="true" type="InstallableUnit">
>> <unit id="org.apache.commons.logging.feature.group"
>> version="1.1.1.201005082216"/>
>> <unit id="org.apache.log4j.feature.group" version="1.2.16.201005082216"/>
>> <unit id="org.dom4j.feature.group" version="1.6.1.201005082216"/>
>> <unit id="org.hibernate.feature.group" version="3.3.2.201005082216"/>
>> <unit id="org.hsqldb.feature.group" version="1.8.1.201005082216"/>
>> <unit id="javax.persistence.feature.group" version="1.99.0.201005082216"/>
>> <unit id="com.mysql.jdbc.feature.group" version="5.1.11.201005082216"/>
>> <repository location="http://www.elver.org/eclipse/update_1.1.2"/>
>> </location>
>> <location includeAllPlatforms="false" includeMode="planner"
>> includeSource="true" type="InstallableUnit">
>> <unit id="org.eclipse.emf.teneo.hibernate.sdk.feature.group"
>> version="1.2.0.v201104261907"/>
>> <unit id="org.eclipse.emf.teneo.hibernate.feature.group"
>> version="1.2.0.v201104261907"/>
>> <repository
>> location="http://download.eclipse.org/modeling/emf/teneo/updates/1.2.0/interim/"/>
>>
>> </location>
>> </locations>
>> </target>
>>
>>
>> Thanks,
>> Dan
>


--

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@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [CDO] Creating a target definition for an App to use CDO v3.0 / Hibernate Store [message #690955 is a reply to message #690935] Thu, 30 June 2011 12:50 Go to previous messageGo to next message
Dan Pollitt is currently offline Dan PollittFriend
Messages: 55
Registered: August 2010
Member
Hi Víctor,

That's interesting - I guess it will come down to what the real
difference between CDO v4.0 and v3.0 is, whether it's enough of a pull
to run it in that configuration.

Thanks,
Dan

On 30/06/2011 13:39, Víctor Roldán Betancort wrote:
> Dan,
>
> although it's not officially supported, we have CDO 4.0 running with a
> Helios-based TP (Eclipse 3.6 + EMF 2.6). Not sure about Teneo...
>
> HTH,
> Víctor.
>
> Dan Pollitt escribió:
>> Hi All,
>>
>> I'm trying to create a target platform definition file (*.target) to set
>> as the target platform within my IDE so that I can experiment with CDO.
>>
>> I will be looking at CDO v3.0 (as opposed to 4.0) because the most
>> likely Eclipse version to deploy my plugins into will be Eclipse 3.6.
>>
>> I tried to follow the instructions for getting hold of dependencies
>> (i.e. p2 sites I should add to the target platform) from:
>> http://wiki.eclipse.org/CDO/Hibernate_Store/Quick_Start however I had a
>> couple of issues:
>>
>> 1. There are mixed messages as to which version of Teneo I should be
>> using. For CDO v3.0 and EMF v2.6 is it 1.1.2 or 1.2.0?
>>
>> 2. Whichever Teneo I add in the target platform it is showing me errors,
>> for example with Teneo 1.2.0, the target platform editor reports the
>> following problem:
>>
>> "Cannot satisfy dependency:
>> From: EMF Teneo Hibernate 1.2.0.v201104261907
>> (org.eclipse.emf.teneo.hibernate 1.2.0.v201104261907)
>> To: bundle org.eclipse.emf.teneo.annotations [1.1.0,2.0.0)
>>
>> Cannot satisfy dependency:
>> From: EMF Teneo Hibernate Runtime 1.2.0.v201104261907
>> (org.eclipse.emf.teneo.hibernate.feature.group 1.2.0.v201104261907)
>> To: org.eclipse.emf.teneo.hibernate [1.2.0.v201104261907]
>>
>> ...
>> "
>>
>> I presume the second problem is just a knock-on to the first.
>>
>> Can anyone point me in the right direction to resolve this - or perhaps
>> provide me an example target platform definition that works for them?
>>
>> For reference, the target definition I have at the moment is:
>>
>> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>> <?pde version="3.6"?>
>>
>> <target name="cdotarget" sequenceNumber="2">
>> <locations>
>> <location
>> path="C:\dev\eclipse\eclipse-modeling-helios-SR2-incubation-win32\eclipse"
>>
>> type="Profile"/>
>> <location includeAllPlatforms="false" includeMode="planner"
>> includeSource="true" type="InstallableUnit">
>> <unit id="org.apache.commons.logging.feature.group"
>> version="1.1.1.201005082216"/>
>> <unit id="org.apache.log4j.feature.group" version="1.2.16.201005082216"/>
>> <unit id="org.dom4j.feature.group" version="1.6.1.201005082216"/>
>> <unit id="org.hibernate.feature.group" version="3.3.2.201005082216"/>
>> <unit id="org.hsqldb.feature.group" version="1.8.1.201005082216"/>
>> <unit id="javax.persistence.feature.group"
>> version="1.99.0.201005082216"/>
>> <unit id="com.mysql.jdbc.feature.group" version="5.1.11.201005082216"/>
>> <repository location="http://www.elver.org/eclipse/update_1.1.2"/>
>> </location>
>> <location includeAllPlatforms="false" includeMode="planner"
>> includeSource="true" type="InstallableUnit">
>> <unit id="org.eclipse.emf.teneo.hibernate.sdk.feature.group"
>> version="1.2.0.v201104261907"/>
>> <unit id="org.eclipse.emf.teneo.hibernate.feature.group"
>> version="1.2.0.v201104261907"/>
>> <repository
>> location="http://download.eclipse.org/modeling/emf/teneo/updates/1.2.0/interim/"/>
>>
>>
>> </location>
>> </locations>
>> </target>
>>
>>
>> Thanks,
>> Dan
>
Re: [CDO] Creating a target definition for an App to use CDO v3.0 / Hibernate Store [message #690956 is a reply to message #690936] Thu, 30 June 2011 12:52 Go to previous messageGo to next message
Dan Pollitt is currently offline Dan PollittFriend
Messages: 55
Registered: August 2010
Member
ok - being maintained is a strong reason to use it - although if v3.0 is
stable and well used I wouldn't expect to find any fundamental issues
with vanilla usage?

What would be your thoughts around CDO v4.0 ontop of Eclipse 3.6 EMF 2.6?

Dan

On 30/06/2011 13:45, Martin Taal wrote:
> If it is possible I would use 4.0, it is maintained and it works with
> Hibernate 3.6.0.
>
> gr. Martin
>
> On 06/30/2011 02:39 PM, Víctor Roldán Betancort wrote:
>> Dan,
>>
>> although it's not officially supported, we have CDO 4.0 running with a
>> Helios-based TP (Eclipse 3.6 + EMF 2.6). Not sure
>> about Teneo...
>>
>> HTH,
>> Víctor.
>>
>> Dan Pollitt escribió:
>>> Hi All,
>>>
>>> I'm trying to create a target platform definition file (*.target) to set
>>> as the target platform within my IDE so that I can experiment with CDO.
>>>
>>> I will be looking at CDO v3.0 (as opposed to 4.0) because the most
>>> likely Eclipse version to deploy my plugins into will be Eclipse 3.6.
>>>
>>> I tried to follow the instructions for getting hold of dependencies
>>> (i.e. p2 sites I should add to the target platform) from:
>>> http://wiki.eclipse.org/CDO/Hibernate_Store/Quick_Start however I had a
>>> couple of issues:
>>>
>>> 1. There are mixed messages as to which version of Teneo I should be
>>> using. For CDO v3.0 and EMF v2.6 is it 1.1.2 or 1.2.0?
>>>
>>> 2. Whichever Teneo I add in the target platform it is showing me errors,
>>> for example with Teneo 1.2.0, the target platform editor reports the
>>> following problem:
>>>
>>> "Cannot satisfy dependency:
>>> From: EMF Teneo Hibernate 1.2.0.v201104261907
>>> (org.eclipse.emf.teneo.hibernate 1.2.0.v201104261907)
>>> To: bundle org.eclipse.emf.teneo.annotations [1.1.0,2.0.0)
>>>
>>> Cannot satisfy dependency:
>>> From: EMF Teneo Hibernate Runtime 1.2.0.v201104261907
>>> (org.eclipse.emf.teneo.hibernate.feature.group 1.2.0.v201104261907)
>>> To: org.eclipse.emf.teneo.hibernate [1.2.0.v201104261907]
>>>
>>> ...
>>> "
>>>
>>> I presume the second problem is just a knock-on to the first.
>>>
>>> Can anyone point me in the right direction to resolve this - or perhaps
>>> provide me an example target platform definition that works for them?
>>>
>>> For reference, the target definition I have at the moment is:
>>>
>>> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>> <?pde version="3.6"?>
>>>
>>> <target name="cdotarget" sequenceNumber="2">
>>> <locations>
>>> <location
>>> path="C:\dev\eclipse\eclipse-modeling-helios-SR2-incubation-win32\eclipse"
>>>
>>> type="Profile"/>
>>> <location includeAllPlatforms="false" includeMode="planner"
>>> includeSource="true" type="InstallableUnit">
>>> <unit id="org.apache.commons.logging.feature.group"
>>> version="1.1.1.201005082216"/>
>>> <unit id="org.apache.log4j.feature.group"
>>> version="1.2.16.201005082216"/>
>>> <unit id="org.dom4j.feature.group" version="1.6.1.201005082216"/>
>>> <unit id="org.hibernate.feature.group" version="3.3.2.201005082216"/>
>>> <unit id="org.hsqldb.feature.group" version="1.8.1.201005082216"/>
>>> <unit id="javax.persistence.feature.group"
>>> version="1.99.0.201005082216"/>
>>> <unit id="com.mysql.jdbc.feature.group" version="5.1.11.201005082216"/>
>>> <repository location="http://www.elver.org/eclipse/update_1.1.2"/>
>>> </location>
>>> <location includeAllPlatforms="false" includeMode="planner"
>>> includeSource="true" type="InstallableUnit">
>>> <unit id="org.eclipse.emf.teneo.hibernate.sdk.feature.group"
>>> version="1.2.0.v201104261907"/>
>>> <unit id="org.eclipse.emf.teneo.hibernate.feature.group"
>>> version="1.2.0.v201104261907"/>
>>> <repository
>>> location="http://download.eclipse.org/modeling/emf/teneo/updates/1.2.0/interim/"/>
>>>
>>>
>>> </location>
>>> </locations>
>>> </target>
>>>
>>>
>>> Thanks,
>>> Dan
>>
>
>
Re: [CDO] Creating a target definition for an App to use CDO v3.0 / Hibernate Store [message #690981 is a reply to message #690955] Thu, 30 June 2011 13:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by:

Dan,

I'd say you go with 4.0. Yes, there are plenty new features in 4.0
compared to 3.0, but it is also the current maintenance version, as
Martin said, and in my case, thats enough reason to stick to it. Having
more or less features could be determinating depending on the
application you are developing, but if it isn't the case, maintenance
support should ;)

Also, several dozens of bugs have been fixed. You'll have to think about
backport them, and in some cases backporting is not trivial.

The next CDO release will be 4.1, which means that if at some point you
are updating you TP to the latest Eclipse release, the migration will be
less painful in the 4.0 -> 4.1 scenario than in the 3.0 -> 4.1 one.

Of course, there is the scenario of having a problem derived from using
EMF 2.6 with CDO 4.0. So far we haven't seen such thing, and it is quite
unlikely, but it could happen. It's something you should take into
consideration, because (and as I actually do), using that runtime
configuration is an "use at your own risk".

If you want information of the 4.0 release new features, just let us
know, I'll do my best :P

Cheers,
Víctor.

Dan Pollitt escribió:
> Hi Víctor,
>
> That's interesting - I guess it will come down to what the real
> difference between CDO v4.0 and v3.0 is, whether it's enough of a pull
> to run it in that configuration.
>
> Thanks,
> Dan
>
> On 30/06/2011 13:39, Víctor Roldán Betancort wrote:
>> Dan,
>>
>> although it's not officially supported, we have CDO 4.0 running with a
>> Helios-based TP (Eclipse 3.6 + EMF 2.6). Not sure about Teneo...
>>
>> HTH,
>> Víctor.
>>
>> Dan Pollitt escribió:
>>> Hi All,
>>>
>>> I'm trying to create a target platform definition file (*.target) to set
>>> as the target platform within my IDE so that I can experiment with CDO.
>>>
>>> I will be looking at CDO v3.0 (as opposed to 4.0) because the most
>>> likely Eclipse version to deploy my plugins into will be Eclipse 3.6.
>>>
>>> I tried to follow the instructions for getting hold of dependencies
>>> (i.e. p2 sites I should add to the target platform) from:
>>> http://wiki.eclipse.org/CDO/Hibernate_Store/Quick_Start however I had a
>>> couple of issues:
>>>
>>> 1. There are mixed messages as to which version of Teneo I should be
>>> using. For CDO v3.0 and EMF v2.6 is it 1.1.2 or 1.2.0?
>>>
>>> 2. Whichever Teneo I add in the target platform it is showing me errors,
>>> for example with Teneo 1.2.0, the target platform editor reports the
>>> following problem:
>>>
>>> "Cannot satisfy dependency:
>>> From: EMF Teneo Hibernate 1.2.0.v201104261907
>>> (org.eclipse.emf.teneo.hibernate 1.2.0.v201104261907)
>>> To: bundle org.eclipse.emf.teneo.annotations [1.1.0,2.0.0)
>>>
>>> Cannot satisfy dependency:
>>> From: EMF Teneo Hibernate Runtime 1.2.0.v201104261907
>>> (org.eclipse.emf.teneo.hibernate.feature.group 1.2.0.v201104261907)
>>> To: org.eclipse.emf.teneo.hibernate [1.2.0.v201104261907]
>>>
>>> ...
>>> "
>>>
>>> I presume the second problem is just a knock-on to the first.
>>>
>>> Can anyone point me in the right direction to resolve this - or perhaps
>>> provide me an example target platform definition that works for them?
>>>
>>> For reference, the target definition I have at the moment is:
>>>
>>> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>> <?pde version="3.6"?>
>>>
>>> <target name="cdotarget" sequenceNumber="2">
>>> <locations>
>>> <location
>>> path="C:\dev\eclipse\eclipse-modeling-helios-SR2-incubation-win32\eclipse"
>>>
>>>
>>> type="Profile"/>
>>> <location includeAllPlatforms="false" includeMode="planner"
>>> includeSource="true" type="InstallableUnit">
>>> <unit id="org.apache.commons.logging.feature.group"
>>> version="1.1.1.201005082216"/>
>>> <unit id="org.apache.log4j.feature.group"
>>> version="1.2.16.201005082216"/>
>>> <unit id="org.dom4j.feature.group" version="1.6.1.201005082216"/>
>>> <unit id="org.hibernate.feature.group" version="3.3.2.201005082216"/>
>>> <unit id="org.hsqldb.feature.group" version="1.8.1.201005082216"/>
>>> <unit id="javax.persistence.feature.group"
>>> version="1.99.0.201005082216"/>
>>> <unit id="com.mysql.jdbc.feature.group" version="5.1.11.201005082216"/>
>>> <repository location="http://www.elver.org/eclipse/update_1.1.2"/>
>>> </location>
>>> <location includeAllPlatforms="false" includeMode="planner"
>>> includeSource="true" type="InstallableUnit">
>>> <unit id="org.eclipse.emf.teneo.hibernate.sdk.feature.group"
>>> version="1.2.0.v201104261907"/>
>>> <unit id="org.eclipse.emf.teneo.hibernate.feature.group"
>>> version="1.2.0.v201104261907"/>
>>> <repository
>>> location="http://download.eclipse.org/modeling/emf/teneo/updates/1.2.0/interim/"/>
>>>
>>>
>>>
>>> </location>
>>> </locations>
>>> </target>
>>>
>>>
>>> Thanks,
>>> Dan
>>
>
Re: [CDO] Creating a target definition for an App to use CDO v3.0 / Hibernate Store [message #691008 is a reply to message #690981] Thu, 30 June 2011 14:31 Go to previous messageGo to next message
Dan Pollitt is currently offline Dan PollittFriend
Messages: 55
Registered: August 2010
Member
Thanks Víctor that has been very helpful. I will start out with CDO 4.0.

For reference, the target platform definition I ams starting from is:


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

<target name="cdotarget" sequenceNumber="11">
<locations>
<location includeAllPlatforms="false" includeMode="slicer"
includeSource="true" type="InstallableUnit">
<unit id="org.apache.commons.logging.feature.group" version="1.1.1"/>
<unit id="org.apache.log4j.feature.group" version="1.2.16"/>
<unit id="org.dom4j.feature.group" version="1.6.1"/>
<unit id="org.hibernate.feature.group" version="3.6.0"/>
<unit id="org.hsqldb.feature.group" version="1.8.1"/>
<unit id="com.mysql.jdbc.feature.group" version="5.1.11"/>
<repository location="http://www.elver.org/eclipse/update"/>
</location>
<location includeAllPlatforms="false" includeMode="slicer"
includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.emf.teneo.cdo.feature.group"
version="1.2.0.v201104261907"/>
<unit id="org.eclipse.emf.teneo.cdo.sdk.feature.group"
version="1.2.0.v201104261907"/>
<unit id="org.eclipse.emf.teneo.hibernate.feature.group"
version="1.2.0.v201104261907"/>
<unit id="org.eclipse.emf.teneo.hibernate.sdk.feature.group"
version="1.2.0.v201104261907"/>
<repository
location="http://download.eclipse.org/modeling/emf/teneo/updates/1.2.0/interim/"/>
</location>
<location includeAllPlatforms="false" includeMode="slicer"
includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.emf.sdk.feature.group"
version="2.6.1.v20100914-1218"/>
<unit id="org.eclipse.emf.compare.sdk.feature.group"
version="1.1.2.v20110202-0936"/>
<repository location="http://download.eclipse.org/releases/helios"/>
</location>
<location includeAllPlatforms="false" includeMode="slicer"
includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.emf.cdo.sdk.feature.group"
version="4.0.0.v20110608-1747"/>
<repository location="http://download.eclipse.org/releases/indigo"/>
</location>
<location includeAllPlatforms="false" includeMode="slicer"
includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.platform.sdk" version="3.6.2.M20110210-1200"/>
<repository location="http://download.eclipse.org/releases/helios"/>
</location>
</locations>
</target>



Dan

On 30/06/2011 14:50, Víctor Roldán Betancort wrote:
> Dan,
>
> I'd say you go with 4.0. Yes, there are plenty new features in 4.0
> compared to 3.0, but it is also the current maintenance version, as
> Martin said, and in my case, thats enough reason to stick to it. Having
> more or less features could be determinating depending on the
> application you are developing, but if it isn't the case, maintenance
> support should ;)
>
> Also, several dozens of bugs have been fixed. You'll have to think about
> backport them, and in some cases backporting is not trivial.
>
> The next CDO release will be 4.1, which means that if at some point you
> are updating you TP to the latest Eclipse release, the migration will be
> less painful in the 4.0 -> 4.1 scenario than in the 3.0 -> 4.1 one.
>
> Of course, there is the scenario of having a problem derived from using
> EMF 2.6 with CDO 4.0. So far we haven't seen such thing, and it is quite
> unlikely, but it could happen. It's something you should take into
> consideration, because (and as I actually do), using that runtime
> configuration is an "use at your own risk".
>
> If you want information of the 4.0 release new features, just let us
> know, I'll do my best :P
>
> Cheers,
> Víctor.
>
> Dan Pollitt escribió:
>> Hi Víctor,
>>
>> That's interesting - I guess it will come down to what the real
>> difference between CDO v4.0 and v3.0 is, whether it's enough of a pull
>> to run it in that configuration.
>>
>> Thanks,
>> Dan
>>
>> On 30/06/2011 13:39, Víctor Roldán Betancort wrote:
>>> Dan,
>>>
>>> although it's not officially supported, we have CDO 4.0 running with a
>>> Helios-based TP (Eclipse 3.6 + EMF 2.6). Not sure about Teneo...
>>>
>>> HTH,
>>> Víctor.
>>>
>>> Dan Pollitt escribió:
>>>> Hi All,
>>>>
>>>> I'm trying to create a target platform definition file (*.target) to
>>>> set
>>>> as the target platform within my IDE so that I can experiment with CDO.
>>>>
>>>> I will be looking at CDO v3.0 (as opposed to 4.0) because the most
>>>> likely Eclipse version to deploy my plugins into will be Eclipse 3.6.
>>>>
>>>> I tried to follow the instructions for getting hold of dependencies
>>>> (i.e. p2 sites I should add to the target platform) from:
>>>> http://wiki.eclipse.org/CDO/Hibernate_Store/Quick_Start however I had a
>>>> couple of issues:
>>>>
>>>> 1. There are mixed messages as to which version of Teneo I should be
>>>> using. For CDO v3.0 and EMF v2.6 is it 1.1.2 or 1.2.0?
>>>>
>>>> 2. Whichever Teneo I add in the target platform it is showing me
>>>> errors,
>>>> for example with Teneo 1.2.0, the target platform editor reports the
>>>> following problem:
>>>>
>>>> "Cannot satisfy dependency:
>>>> From: EMF Teneo Hibernate 1.2.0.v201104261907
>>>> (org.eclipse.emf.teneo.hibernate 1.2.0.v201104261907)
>>>> To: bundle org.eclipse.emf.teneo.annotations [1.1.0,2.0.0)
>>>>
>>>> Cannot satisfy dependency:
>>>> From: EMF Teneo Hibernate Runtime 1.2.0.v201104261907
>>>> (org.eclipse.emf.teneo.hibernate.feature.group 1.2.0.v201104261907)
>>>> To: org.eclipse.emf.teneo.hibernate [1.2.0.v201104261907]
>>>>
>>>> ...
>>>> "
>>>>
>>>> I presume the second problem is just a knock-on to the first.
>>>>
>>>> Can anyone point me in the right direction to resolve this - or perhaps
>>>> provide me an example target platform definition that works for them?
>>>>
>>>> For reference, the target definition I have at the moment is:
>>>>
>>>> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>>> <?pde version="3.6"?>
>>>>
>>>> <target name="cdotarget" sequenceNumber="2">
>>>> <locations>
>>>> <location
>>>> path="C:\dev\eclipse\eclipse-modeling-helios-SR2-incubation-win32\eclipse"
>>>>
>>>>
>>>>
>>>> type="Profile"/>
>>>> <location includeAllPlatforms="false" includeMode="planner"
>>>> includeSource="true" type="InstallableUnit">
>>>> <unit id="org.apache.commons.logging.feature.group"
>>>> version="1.1.1.201005082216"/>
>>>> <unit id="org.apache.log4j.feature.group"
>>>> version="1.2.16.201005082216"/>
>>>> <unit id="org.dom4j.feature.group" version="1.6.1.201005082216"/>
>>>> <unit id="org.hibernate.feature.group" version="3.3.2.201005082216"/>
>>>> <unit id="org.hsqldb.feature.group" version="1.8.1.201005082216"/>
>>>> <unit id="javax.persistence.feature.group"
>>>> version="1.99.0.201005082216"/>
>>>> <unit id="com.mysql.jdbc.feature.group" version="5.1.11.201005082216"/>
>>>> <repository location="http://www.elver.org/eclipse/update_1.1.2"/>
>>>> </location>
>>>> <location includeAllPlatforms="false" includeMode="planner"
>>>> includeSource="true" type="InstallableUnit">
>>>> <unit id="org.eclipse.emf.teneo.hibernate.sdk.feature.group"
>>>> version="1.2.0.v201104261907"/>
>>>> <unit id="org.eclipse.emf.teneo.hibernate.feature.group"
>>>> version="1.2.0.v201104261907"/>
>>>> <repository
>>>> location="http://download.eclipse.org/modeling/emf/teneo/updates/1.2.0/interim/"/>
>>>>
>>>>
>>>>
>>>>
>>>> </location>
>>>> </locations>
>>>> </target>
>>>>
>>>>
>>>> Thanks,
>>>> Dan
>>>
>>
>
Re: [CDO] Creating a target definition for an App to use CDO v3.0 / Hibernate Store [message #691049 is a reply to message #691008] Thu, 30 June 2011 15:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by:

Good luck with your project, Dan!

Dan Pollitt escribió:
> Thanks Víctor that has been very helpful. I will start out with CDO 4.0.
>
> For reference, the target platform definition I ams starting from is:
>
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <?pde version="3.6"?>
>
> <target name="cdotarget" sequenceNumber="11">
> <locations>
> <location includeAllPlatforms="false" includeMode="slicer"
> includeSource="true" type="InstallableUnit">
> <unit id="org.apache.commons.logging.feature.group" version="1.1.1"/>
> <unit id="org.apache.log4j.feature.group" version="1.2.16"/>
> <unit id="org.dom4j.feature.group" version="1.6.1"/>
> <unit id="org.hibernate.feature.group" version="3.6.0"/>
> <unit id="org.hsqldb.feature.group" version="1.8.1"/>
> <unit id="com.mysql.jdbc.feature.group" version="5.1.11"/>
> <repository location="http://www.elver.org/eclipse/update"/>
> </location>
> <location includeAllPlatforms="false" includeMode="slicer"
> includeSource="true" type="InstallableUnit">
> <unit id="org.eclipse.emf.teneo.cdo.feature.group"
> version="1.2.0.v201104261907"/>
> <unit id="org.eclipse.emf.teneo.cdo.sdk.feature.group"
> version="1.2.0.v201104261907"/>
> <unit id="org.eclipse.emf.teneo.hibernate.feature.group"
> version="1.2.0.v201104261907"/>
> <unit id="org.eclipse.emf.teneo.hibernate.sdk.feature.group"
> version="1.2.0.v201104261907"/>
> <repository
> location="http://download.eclipse.org/modeling/emf/teneo/updates/1.2.0/interim/"/>
>
> </location>
> <location includeAllPlatforms="false" includeMode="slicer"
> includeSource="true" type="InstallableUnit">
> <unit id="org.eclipse.emf.sdk.feature.group"
> version="2.6.1.v20100914-1218"/>
> <unit id="org.eclipse.emf.compare.sdk.feature.group"
> version="1.1.2.v20110202-0936"/>
> <repository location="http://download.eclipse.org/releases/helios"/>
> </location>
> <location includeAllPlatforms="false" includeMode="slicer"
> includeSource="true" type="InstallableUnit">
> <unit id="org.eclipse.emf.cdo.sdk.feature.group"
> version="4.0.0.v20110608-1747"/>
> <repository location="http://download.eclipse.org/releases/indigo"/>
> </location>
> <location includeAllPlatforms="false" includeMode="slicer"
> includeSource="true" type="InstallableUnit">
> <unit id="org.eclipse.platform.sdk" version="3.6.2.M20110210-1200"/>
> <repository location="http://download.eclipse.org/releases/helios"/>
> </location>
> </locations>
> </target>
>
>
>
> Dan
>
> On 30/06/2011 14:50, Víctor Roldán Betancort wrote:
>> Dan,
>>
>> I'd say you go with 4.0. Yes, there are plenty new features in 4.0
>> compared to 3.0, but it is also the current maintenance version, as
>> Martin said, and in my case, thats enough reason to stick to it. Having
>> more or less features could be determinating depending on the
>> application you are developing, but if it isn't the case, maintenance
>> support should ;)
>>
>> Also, several dozens of bugs have been fixed. You'll have to think about
>> backport them, and in some cases backporting is not trivial.
>>
>> The next CDO release will be 4.1, which means that if at some point you
>> are updating you TP to the latest Eclipse release, the migration will be
>> less painful in the 4.0 -> 4.1 scenario than in the 3.0 -> 4.1 one.
>>
>> Of course, there is the scenario of having a problem derived from using
>> EMF 2.6 with CDO 4.0. So far we haven't seen such thing, and it is quite
>> unlikely, but it could happen. It's something you should take into
>> consideration, because (and as I actually do), using that runtime
>> configuration is an "use at your own risk".
>>
>> If you want information of the 4.0 release new features, just let us
>> know, I'll do my best :P
>>
>> Cheers,
>> Víctor.
>>
>> Dan Pollitt escribió:
>>> Hi Víctor,
>>>
>>> That's interesting - I guess it will come down to what the real
>>> difference between CDO v4.0 and v3.0 is, whether it's enough of a pull
>>> to run it in that configuration.
>>>
>>> Thanks,
>>> Dan
>>>
>>> On 30/06/2011 13:39, Víctor Roldán Betancort wrote:
>>>> Dan,
>>>>
>>>> although it's not officially supported, we have CDO 4.0 running with a
>>>> Helios-based TP (Eclipse 3.6 + EMF 2.6). Not sure about Teneo...
>>>>
>>>> HTH,
>>>> Víctor.
>>>>
>>>> Dan Pollitt escribió:
>>>>> Hi All,
>>>>>
>>>>> I'm trying to create a target platform definition file (*.target) to
>>>>> set
>>>>> as the target platform within my IDE so that I can experiment with
>>>>> CDO.
>>>>>
>>>>> I will be looking at CDO v3.0 (as opposed to 4.0) because the most
>>>>> likely Eclipse version to deploy my plugins into will be Eclipse 3.6.
>>>>>
>>>>> I tried to follow the instructions for getting hold of dependencies
>>>>> (i.e. p2 sites I should add to the target platform) from:
>>>>> http://wiki.eclipse.org/CDO/Hibernate_Store/Quick_Start however I
>>>>> had a
>>>>> couple of issues:
>>>>>
>>>>> 1. There are mixed messages as to which version of Teneo I should be
>>>>> using. For CDO v3.0 and EMF v2.6 is it 1.1.2 or 1.2.0?
>>>>>
>>>>> 2. Whichever Teneo I add in the target platform it is showing me
>>>>> errors,
>>>>> for example with Teneo 1.2.0, the target platform editor reports the
>>>>> following problem:
>>>>>
>>>>> "Cannot satisfy dependency:
>>>>> From: EMF Teneo Hibernate 1.2.0.v201104261907
>>>>> (org.eclipse.emf.teneo.hibernate 1.2.0.v201104261907)
>>>>> To: bundle org.eclipse.emf.teneo.annotations [1.1.0,2.0.0)
>>>>>
>>>>> Cannot satisfy dependency:
>>>>> From: EMF Teneo Hibernate Runtime 1.2.0.v201104261907
>>>>> (org.eclipse.emf.teneo.hibernate.feature.group 1.2.0.v201104261907)
>>>>> To: org.eclipse.emf.teneo.hibernate [1.2.0.v201104261907]
>>>>>
>>>>> ...
>>>>> "
>>>>>
>>>>> I presume the second problem is just a knock-on to the first.
>>>>>
>>>>> Can anyone point me in the right direction to resolve this - or
>>>>> perhaps
>>>>> provide me an example target platform definition that works for them?
>>>>>
>>>>> For reference, the target definition I have at the moment is:
>>>>>
>>>>> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>>>> <?pde version="3.6"?>
>>>>>
>>>>> <target name="cdotarget" sequenceNumber="2">
>>>>> <locations>
>>>>> <location
>>>>> path="C:\dev\eclipse\eclipse-modeling-helios-SR2-incubation-win32\eclipse"
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> type="Profile"/>
>>>>> <location includeAllPlatforms="false" includeMode="planner"
>>>>> includeSource="true" type="InstallableUnit">
>>>>> <unit id="org.apache.commons.logging.feature.group"
>>>>> version="1.1.1.201005082216"/>
>>>>> <unit id="org.apache.log4j.feature.group"
>>>>> version="1.2.16.201005082216"/>
>>>>> <unit id="org.dom4j.feature.group" version="1.6.1.201005082216"/>
>>>>> <unit id="org.hibernate.feature.group" version="3.3.2.201005082216"/>
>>>>> <unit id="org.hsqldb.feature.group" version="1.8.1.201005082216"/>
>>>>> <unit id="javax.persistence.feature.group"
>>>>> version="1.99.0.201005082216"/>
>>>>> <unit id="com.mysql.jdbc.feature.group"
>>>>> version="5.1.11.201005082216"/>
>>>>> <repository location="http://www.elver.org/eclipse/update_1.1.2"/>
>>>>> </location>
>>>>> <location includeAllPlatforms="false" includeMode="planner"
>>>>> includeSource="true" type="InstallableUnit">
>>>>> <unit id="org.eclipse.emf.teneo.hibernate.sdk.feature.group"
>>>>> version="1.2.0.v201104261907"/>
>>>>> <unit id="org.eclipse.emf.teneo.hibernate.feature.group"
>>>>> version="1.2.0.v201104261907"/>
>>>>> <repository
>>>>> location="http://download.eclipse.org/modeling/emf/teneo/updates/1.2.0/interim/"/>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> </location>
>>>>> </locations>
>>>>> </target>
>>>>>
>>>>>
>>>>> Thanks,
>>>>> Dan
>>>>
>>>
>>
>
Re: [CDO] Creating a target definition for an App to use CDO v3.0 / Hibernate Store [message #691742 is a reply to message #690911] Sat, 02 July 2011 07:48 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 30.06.2011 14:09, schrieb Martin Taal:
> Yes these versions are fine, I am not sure in how far CDO 4.0 is backward compatible with 3.6, maybe it is... Eike Stepper can tell this.
Not really. Other users have reported that it works, but we run no tests on this combination and we do not officially support it. In case of problems you could be standing in the rain.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


>
> gr. Martin
>
> On 06/30/2011 02:03 PM, Dan Pollitt wrote:
>> Hi Martin,
>>
>> Thanks for your quick response. I had not selected the feature: "EMF Teneo CDO" from the /teneo/updates/1.2.0/interim
>> site - after adding that as well, all seemed happy.
>>
>> As far as the Teneo version, I am looking to use CDO v3.0 with EMF v2.6 with the Hibernate Store backed with MySQL - am
>> I ok with the following versions:
>>
>> Teneo CDO/Hibernate: 1.2.0
>> Hibernate 3.3.2 ?
>>
>> Thanks,
>> Dan
>>
>> On 30/06/2011 12:43, Martin Taal wrote:
>>> Hi Dan,
>>> Hmm, it seems that you are missing plugins. You should install the CDO
>>> Hibernate feature from the teneo update site. The plugins you need are:
>>> org.eclipse.emf.teneo
>>> org.eclipse.emf.teneo.annotations
>>> org.eclipse.emf.teneo.hibernate.mapper
>>>
>>> gr. Martin
>>>
>>> On 06/30/2011 01:34 PM, Dan Pollitt wrote:
>>>> Hi All,
>>>>
>>>> I'm trying to create a target platform definition file (*.target) to
>>>> set as the target platform within my IDE so that I
>>>> can experiment with CDO.
>>>>
>>>> I will be looking at CDO v3.0 (as opposed to 4.0) because the most
>>>> likely Eclipse version to deploy my plugins into will
>>>> be Eclipse 3.6.
>>>>
>>>> I tried to follow the instructions for getting hold of dependencies
>>>> (i.e. p2 sites I should add to the target platform)
>>>> from: http://wiki.eclipse.org/CDO/Hibernate_Store/Quick_Start however
>>>> I had a couple of issues:
>>>>
>>>> 1. There are mixed messages as to which version of Teneo I should be
>>>> using. For CDO v3.0 and EMF v2.6 is it 1.1.2 or 1.2.0?
>>>>
>>>> 2. Whichever Teneo I add in the target platform it is showing me
>>>> errors, for example with Teneo 1.2.0, the target
>>>> platform editor reports the following problem:
>>>>
>>>> "Cannot satisfy dependency:
>>>> From: EMF Teneo Hibernate 1.2.0.v201104261907
>>>> (org.eclipse.emf.teneo.hibernate 1.2.0.v201104261907)
>>>> To: bundle org.eclipse.emf.teneo.annotations [1.1.0,2.0.0)
>>>>
>>>> Cannot satisfy dependency:
>>>> From: EMF Teneo Hibernate Runtime 1.2.0.v201104261907
>>>> (org.eclipse.emf.teneo.hibernate.feature.group 1.2.0.v201104261907)
>>>> To: org.eclipse.emf.teneo.hibernate [1.2.0.v201104261907]
>>>>
>>>> ....
>>>> "
>>>>
>>>> I presume the second problem is just a knock-on to the first.
>>>>
>>>> Can anyone point me in the right direction to resolve this - or
>>>> perhaps provide me an example target platform definition
>>>> that works for them?
>>>>
>>>> For reference, the target definition I have at the moment is:
>>>>
>>>> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>>> <?pde version="3.6"?>
>>>>
>>>> <target name="cdotarget" sequenceNumber="2">
>>>> <locations>
>>>> <location
>>>> path="C:\dev\eclipse\eclipse-modeling-helios-SR2-incubation-win32\eclipse"
>>>> type="Profile"/>
>>>> <location includeAllPlatforms="false" includeMode="planner"
>>>> includeSource="true" type="InstallableUnit">
>>>> <unit id="org.apache.commons.logging.feature.group"
>>>> version="1.1.1.201005082216"/>
>>>> <unit id="org.apache.log4j.feature.group" version="1.2.16.201005082216"/>
>>>> <unit id="org.dom4j.feature.group" version="1.6.1.201005082216"/>
>>>> <unit id="org.hibernate.feature.group" version="3.3.2.201005082216"/>
>>>> <unit id="org.hsqldb.feature.group" version="1.8.1.201005082216"/>
>>>> <unit id="javax.persistence.feature.group"
>>>> version="1.99.0.201005082216"/>
>>>> <unit id="com.mysql.jdbc.feature.group" version="5.1.11.201005082216"/>
>>>> <repository location="http://www.elver.org/eclipse/update_1.1.2"/>
>>>> </location>
>>>> <location includeAllPlatforms="false" includeMode="planner"
>>>> includeSource="true" type="InstallableUnit">
>>>> <unit id="org.eclipse.emf.teneo.hibernate.sdk.feature.group"
>>>> version="1.2.0.v201104261907"/>
>>>> <unit id="org.eclipse.emf.teneo.hibernate.feature.group"
>>>> version="1.2.0.v201104261907"/>
>>>> <repository
>>>> location="http://download.eclipse.org/modeling/emf/teneo/updates/1.2.0/interim/"/>
>>>>
>>>> </location>
>>>> </locations>
>>>> </target>
>>>>
>>>>
>>>> Thanks,
>>>> Dan
>>>
>>>
>>
>
>


Re: [CDO] Creating a target definition for an App to use CDO v3.0 / Hibernate Store [message #691743 is a reply to message #690956] Sat, 02 July 2011 07:49 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 30.06.2011 14:52, schrieb Dan Pollitt:
> ok - being maintained is a strong reason to use it - although if v3.0 is stable and well used I wouldn't expect to find any fundamental issues with vanilla usage?
>
> What would be your thoughts around CDO v4.0 ontop of Eclipse 3.6 EMF 2.6?
Please see my reply to Martin's most recent post to this thread.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


>
> Dan
>
> On 30/06/2011 13:45, Martin Taal wrote:
>> If it is possible I would use 4.0, it is maintained and it works with
>> Hibernate 3.6.0.
>>
>> gr. Martin
>>
>> On 06/30/2011 02:39 PM, Víctor Roldán Betancort wrote:
>>> Dan,
>>>
>>> although it's not officially supported, we have CDO 4.0 running with a
>>> Helios-based TP (Eclipse 3.6 + EMF 2.6). Not sure
>>> about Teneo...
>>>
>>> HTH,
>>> Víctor.
>>>
>>> Dan Pollitt escribió:
>>>> Hi All,
>>>>
>>>> I'm trying to create a target platform definition file (*.target) to set
>>>> as the target platform within my IDE so that I can experiment with CDO.
>>>>
>>>> I will be looking at CDO v3.0 (as opposed to 4.0) because the most
>>>> likely Eclipse version to deploy my plugins into will be Eclipse 3.6.
>>>>
>>>> I tried to follow the instructions for getting hold of dependencies
>>>> (i.e. p2 sites I should add to the target platform) from:
>>>> http://wiki.eclipse.org/CDO/Hibernate_Store/Quick_Start however I had a
>>>> couple of issues:
>>>>
>>>> 1. There are mixed messages as to which version of Teneo I should be
>>>> using. For CDO v3.0 and EMF v2.6 is it 1.1.2 or 1.2.0?
>>>>
>>>> 2. Whichever Teneo I add in the target platform it is showing me errors,
>>>> for example with Teneo 1.2.0, the target platform editor reports the
>>>> following problem:
>>>>
>>>> "Cannot satisfy dependency:
>>>> From: EMF Teneo Hibernate 1.2.0.v201104261907
>>>> (org.eclipse.emf.teneo.hibernate 1.2.0.v201104261907)
>>>> To: bundle org.eclipse.emf.teneo.annotations [1.1.0,2.0.0)
>>>>
>>>> Cannot satisfy dependency:
>>>> From: EMF Teneo Hibernate Runtime 1.2.0.v201104261907
>>>> (org.eclipse.emf.teneo.hibernate.feature.group 1.2.0.v201104261907)
>>>> To: org.eclipse.emf.teneo.hibernate [1.2.0.v201104261907]
>>>>
>>>> ...
>>>> "
>>>>
>>>> I presume the second problem is just a knock-on to the first.
>>>>
>>>> Can anyone point me in the right direction to resolve this - or perhaps
>>>> provide me an example target platform definition that works for them?
>>>>
>>>> For reference, the target definition I have at the moment is:
>>>>
>>>> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>>> <?pde version="3.6"?>
>>>>
>>>> <target name="cdotarget" sequenceNumber="2">
>>>> <locations>
>>>> <location
>>>> path="C:\dev\eclipse\eclipse-modeling-helios-SR2-incubation-win32\eclipse"
>>>>
>>>> type="Profile"/>
>>>> <location includeAllPlatforms="false" includeMode="planner"
>>>> includeSource="true" type="InstallableUnit">
>>>> <unit id="org.apache.commons.logging.feature.group"
>>>> version="1.1.1.201005082216"/>
>>>> <unit id="org.apache.log4j.feature.group"
>>>> version="1.2.16.201005082216"/>
>>>> <unit id="org.dom4j.feature.group" version="1.6.1.201005082216"/>
>>>> <unit id="org.hibernate.feature.group" version="3.3.2.201005082216"/>
>>>> <unit id="org.hsqldb.feature.group" version="1.8.1.201005082216"/>
>>>> <unit id="javax.persistence.feature.group"
>>>> version="1.99.0.201005082216"/>
>>>> <unit id="com.mysql.jdbc.feature.group" version="5.1.11.201005082216"/>
>>>> <repository location="http://www.elver.org/eclipse/update_1.1.2"/>
>>>> </location>
>>>> <location includeAllPlatforms="false" includeMode="planner"
>>>> includeSource="true" type="InstallableUnit">
>>>> <unit id="org.eclipse.emf.teneo.hibernate.sdk.feature.group"
>>>> version="1.2.0.v201104261907"/>
>>>> <unit id="org.eclipse.emf.teneo.hibernate.feature.group"
>>>> version="1.2.0.v201104261907"/>
>>>> <repository
>>>> location="http://download.eclipse.org/modeling/emf/teneo/updates/1.2.0/interim/"/>
>>>>
>>>>
>>>> </location>
>>>> </locations>
>>>> </target>
>>>>
>>>>
>>>> Thanks,
>>>> Dan
>>>
>>
>>
>


Previous Topic:OCL typecheck in dynamic instance
Next Topic:Issues Generating with JavaImporterApplication
Goto Forum:
  


Current Time: Thu Apr 18 02:12:27 GMT 2024

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

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

Back to the top