Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » How to use Dali with existing Plugin-Projects ?
How to use Dali with existing Plugin-Projects ? [message #434537] Thu, 02 August 2007 12:41 Go to next message
Sebastian Fuchs is currently offline Sebastian Fuchs
Messages: 94
Registered: July 2009
Member
Hello !

How can I use Dali with modells existing in my RCP - Plugin projects ?
I could not figure out how to use Dali without an JPA project or how to link
the modell classes from the JPA project to my RCP-plugin so that a
product export does not fail.

Thank you
Sebastian
Re: How to use Dali with existing Plugin-Projects ? [message #434539 is a reply to message #434537] Fri, 03 August 2007 18:16 Go to previous messageGo to next message
Neil Hauge is currently offline Neil Hauge
Messages: 469
Registered: July 2009
Senior Member
Hi,

Currently you cannot add JPA functionality to an existing non-faceted*
project. Bug 191717 addresses some of this discussion related to Dali.
We plan on adding this functionality for 2.0.

Another possibility, and one that it seems you may have tried, is to put
your persistent model into a separate JPA project and map your model
there, and then include this JPA project as a required project in your RCP
plugin project's build path. I'm not sure if this is possible in your
case, as everyone's situation can be different with dependancies, etc.

Hope this helps explain things. We should be better suited for this in
2.0.

* - See WTP Facet Framework for more info.


Neil

Sebastian Fuchs wrote:

> Hello !

> How can I use Dali with modells existing in my RCP - Plugin projects ?
> I could not figure out how to use Dali without an JPA project or how to link
> the modell classes from the JPA project to my RCP-plugin so that a
> product export does not fail.

> Thank you
> Sebastian
Re: How to use Dali with existing Plugin-Projects ? [message #434540 is a reply to message #434539] Mon, 06 August 2007 07:28 Go to previous messageGo to next message
Sebastian Fuchs is currently offline Sebastian Fuchs
Messages: 94
Registered: July 2009
Member
Hi Neil,

Thank you for your answer.
It's too bad, but I am going to wait till 2.0

Plugin-Projects can only have runtime dependencies to other plugins.
Adding dependencies to the buildpath doesn't work at runtime.
Linking external source folders works only for build time too - for any
reason the product exporter can not follow the links on my Win-XP.

Sebastian

Neil Hauge schrieb:
> Hi,
>
> Currently you cannot add JPA functionality to an existing non-faceted*
> project. Bug 191717 addresses some of this discussion related to Dali.
> We plan on adding this functionality for 2.0.
>
> Another possibility, and one that it seems you may have tried, is to put
> your persistent model into a separate JPA project and map your model
> there, and then include this JPA project as a required project in your
> RCP plugin project's build path. I'm not sure if this is possible in
> your case, as everyone's situation can be different with dependancies, etc.
>
> Hope this helps explain things. We should be better suited for this in
> 2.0.
>
> * - See WTP Facet Framework for more info.
Re: How to use Dali with existing Plugin-Projects ? [message #434541 is a reply to message #434540] Mon, 06 August 2007 20:25 Go to previous messageGo to next message
Neil Hauge is currently offline Neil Hauge
Messages: 469
Registered: July 2009
Senior Member
Sebastian,

Not sure if you were aware of this, but you can convert your JPA project
into a plugin project with JPA and Java already installed. This should
solve your export issue once the plugin dependencies are correct.

If you right-click a JPA project, at the bottom there is a PDE
Tools->Convert Projects to Plug-in Projects... menu item. This will give
you a JPA Plugin project.

Neil

Sebastian Fuchs wrote:

> Hi Neil,

> Thank you for your answer.
> It's too bad, but I am going to wait till 2.0

> Plugin-Projects can only have runtime dependencies to other plugins.
> Adding dependencies to the buildpath doesn't work at runtime.
> Linking external source folders works only for build time too - for any
> reason the product exporter can not follow the links on my Win-XP.

> Sebastian

> Neil Hauge schrieb:
>> Hi,
>>
>> Currently you cannot add JPA functionality to an existing non-faceted*
>> project. Bug 191717 addresses some of this discussion related to Dali.
>> We plan on adding this functionality for 2.0.
>>
>> Another possibility, and one that it seems you may have tried, is to put
>> your persistent model into a separate JPA project and map your model
>> there, and then include this JPA project as a required project in your
>> RCP plugin project's build path. I'm not sure if this is possible in
>> your case, as everyone's situation can be different with dependancies, etc.
>>
>> Hope this helps explain things. We should be better suited for this in
>> 2.0.
>>
>> * - See WTP Facet Framework for more info.
Re: How to use Dali with existing Plugin-Projects ? [message #434543 is a reply to message #434541] Wed, 08 August 2007 07:20 Go to previous messageGo to next message
Sebastian Fuchs is currently offline Sebastian Fuchs
Messages: 94
Registered: July 2009
Member
Neil,

That's it ! Thank you.

Would be nice if there was a similar menu for JPA Projects from existing
Plugin-Projects.

Sebastian


Neil Hauge schrieb:
> Sebastian,
>
> Not sure if you were aware of this, but you can convert your JPA project
> into a plugin project with JPA and Java already installed. This should
> solve your export issue once the plugin dependencies are correct.
>
> If you right-click a JPA project, at the bottom there is a PDE
> Tools->Convert Projects to Plug-in Projects... menu item. This will
> give you a JPA Plugin project.
>
> Neil
Re: How to use Dali with existing Plugin-Projects ? [message #434544 is a reply to message #434543] Wed, 08 August 2007 14:49 Go to previous messageGo to next message
Neil Hauge is currently offline Neil Hauge
Messages: 469
Registered: July 2009
Senior Member
Agreed. :)

> Would be nice if there was a similar menu for JPA Projects from existing
> Plugin-Projects.
Re: How to use Dali with existing Plugin-Projects ? [message #434552 is a reply to message #434544] Mon, 13 August 2007 14:16 Go to previous messageGo to next message
Paul Fullbright is currently offline Paul Fullbright
Messages: 200
Registered: July 2009
Senior Member
Just a note. The reason that we didn't add this for 1.0 is that we have
switched to using facets instead of natures, and there is no *general*
functionality for turning a non-faceted project into a faceted project.
After talking with the facets development team/leader we know we can
provide a *specific* solution in the case of JPA/Java, so this should be
coming down the pike forthwith.

Neil Hauge wrote:

> Agreed. :)

>> Would be nice if there was a similar menu for JPA Projects from existing
>> Plugin-Projects.
Re: How to use Dali with existing Plugin-Projects ? [message #434947 is a reply to message #434539] Thu, 28 August 2008 19:15 Go to previous messageGo to next message
Bill Blalock is currently offline Bill Blalock
Messages: 118
Registered: July 2009
Location: Alabama
Senior Member
Neil Hauge wrote:

> Hi,

> Currently you cannot add JPA functionality to an existing non-faceted*
> project. Bug 191717 addresses some of this discussion related to Dali.
> We plan on adding this functionality for 2.0.

Did this functionality make it to 2.0? I have a JPA project. I created a
plugin project, RCP headless. Can I use the JPA project as if it were a
plugin project?

I've done some experimenting, searched through the newsgroup, looked in
the wiki and check the new and noteworthy.

I am probably missing something, can you help me out?

Thanks
Bill Blalock

> Neil

> Sebastian Fuchs wrote:

>> Hello !

>> How can I use Dali with modells existing in my RCP - Plugin projects ?
>> I could not figure out how to use Dali without an JPA project or how to link
>> the modell classes from the JPA project to my RCP-plugin so that a
>> product export does not fail.

>> Thank you
>> Sebastian
Re: How to use Dali with existing Plugin-Projects ? [message #434948 is a reply to message #434947] Tue, 02 September 2008 16:02 Go to previous message
Neil Hauge is currently offline Neil Hauge
Messages: 469
Registered: July 2009
Senior Member
Hi Bill,

Yes, the functionality described in this thread was included in 2.0. See
the N&N here -
http://www.eclipse.org/webtools/releases/3.0.0/newandnotewor thy/jpa.php.

The issue was about combining different capabilities into the same
project. So, if you want your JPA project to also be a plugin project,
you can simply convert your JPA project into a JPA plugin project by using
the "PDE Tools->Convert Projects to Plug-in Projects" functionality.

You could also go in the other direction, and convert an existing Java
Plugin Project to a JPA Plugin Project by using the new "JPA
Tools->Convert to JPA Project" feature described here.

Both options are available in the Project context menu. Hope this helps.

Neil

> Did this functionality make it to 2.0? I have a JPA project. I created a
> plugin project, RCP headless. Can I use the JPA project as if it were a
> plugin project?

> I've done some experimenting, searched through the newsgroup, looked in
> the wiki and check the new and noteworthy.

> I am probably missing something, can you help me out?

> Thanks
> Bill Blalock
Re: How to use Dali with existing Plugin-Projects ? [message #605127 is a reply to message #434537] Fri, 03 August 2007 18:16 Go to previous message
Neil Hauge is currently offline Neil Hauge
Messages: 469
Registered: July 2009
Senior Member
Hi,

Currently you cannot add JPA functionality to an existing non-faceted*
project. Bug 191717 addresses some of this discussion related to Dali.
We plan on adding this functionality for 2.0.

Another possibility, and one that it seems you may have tried, is to put
your persistent model into a separate JPA project and map your model
there, and then include this JPA project as a required project in your RCP
plugin project's build path. I'm not sure if this is possible in your
case, as everyone's situation can be different with dependancies, etc.

Hope this helps explain things. We should be better suited for this in
2.0.

* - See WTP Facet Framework for more info.


Neil

Sebastian Fuchs wrote:

> Hello !

> How can I use Dali with modells existing in my RCP - Plugin projects ?
> I could not figure out how to use Dali without an JPA project or how to link
> the modell classes from the JPA project to my RCP-plugin so that a
> product export does not fail.

> Thank you
> Sebastian
Re: How to use Dali with existing Plugin-Projects ? [message #605132 is a reply to message #434539] Mon, 06 August 2007 07:28 Go to previous message
Sebastian Fuchs is currently offline Sebastian Fuchs
Messages: 94
Registered: July 2009
Member
Hi Neil,

Thank you for your answer.
It's too bad, but I am going to wait till 2.0

Plugin-Projects can only have runtime dependencies to other plugins.
Adding dependencies to the buildpath doesn't work at runtime.
Linking external source folders works only for build time too - for any
reason the product exporter can not follow the links on my Win-XP.

Sebastian

Neil Hauge schrieb:
> Hi,
>
> Currently you cannot add JPA functionality to an existing non-faceted*
> project. Bug 191717 addresses some of this discussion related to Dali.
> We plan on adding this functionality for 2.0.
>
> Another possibility, and one that it seems you may have tried, is to put
> your persistent model into a separate JPA project and map your model
> there, and then include this JPA project as a required project in your
> RCP plugin project's build path. I'm not sure if this is possible in
> your case, as everyone's situation can be different with dependancies, etc.
>
> Hope this helps explain things. We should be better suited for this in
> 2.0.
>
> * - See WTP Facet Framework for more info.
Re: How to use Dali with existing Plugin-Projects ? [message #605135 is a reply to message #434540] Mon, 06 August 2007 20:25 Go to previous message
Neil Hauge is currently offline Neil Hauge
Messages: 469
Registered: July 2009
Senior Member
Sebastian,

Not sure if you were aware of this, but you can convert your JPA project
into a plugin project with JPA and Java already installed. This should
solve your export issue once the plugin dependencies are correct.

If you right-click a JPA project, at the bottom there is a PDE
Tools->Convert Projects to Plug-in Projects... menu item. This will give
you a JPA Plugin project.

Neil

Sebastian Fuchs wrote:

> Hi Neil,

> Thank you for your answer.
> It's too bad, but I am going to wait till 2.0

> Plugin-Projects can only have runtime dependencies to other plugins.
> Adding dependencies to the buildpath doesn't work at runtime.
> Linking external source folders works only for build time too - for any
> reason the product exporter can not follow the links on my Win-XP.

> Sebastian

> Neil Hauge schrieb:
>> Hi,
>>
>> Currently you cannot add JPA functionality to an existing non-faceted*
>> project. Bug 191717 addresses some of this discussion related to Dali.
>> We plan on adding this functionality for 2.0.
>>
>> Another possibility, and one that it seems you may have tried, is to put
>> your persistent model into a separate JPA project and map your model
>> there, and then include this JPA project as a required project in your
>> RCP plugin project's build path. I'm not sure if this is possible in
>> your case, as everyone's situation can be different with dependancies, etc.
>>
>> Hope this helps explain things. We should be better suited for this in
>> 2.0.
>>
>> * - See WTP Facet Framework for more info.
Re: How to use Dali with existing Plugin-Projects ? [message #605146 is a reply to message #434541] Wed, 08 August 2007 07:20 Go to previous message
Sebastian Fuchs is currently offline Sebastian Fuchs
Messages: 94
Registered: July 2009
Member
Neil,

That's it ! Thank you.

Would be nice if there was a similar menu for JPA Projects from existing
Plugin-Projects.

Sebastian


Neil Hauge schrieb:
> Sebastian,
>
> Not sure if you were aware of this, but you can convert your JPA project
> into a plugin project with JPA and Java already installed. This should
> solve your export issue once the plugin dependencies are correct.
>
> If you right-click a JPA project, at the bottom there is a PDE
> Tools->Convert Projects to Plug-in Projects... menu item. This will
> give you a JPA Plugin project.
>
> Neil
Re: How to use Dali with existing Plugin-Projects ? [message #605326 is a reply to message #434543] Wed, 08 August 2007 14:49 Go to previous message
Neil Hauge is currently offline Neil Hauge
Messages: 469
Registered: July 2009
Senior Member
Agreed. :)

> Would be nice if there was a similar menu for JPA Projects from existing
> Plugin-Projects.
Re: How to use Dali with existing Plugin-Projects ? [message #605356 is a reply to message #434544] Mon, 13 August 2007 14:16 Go to previous message
Paul Fullbright is currently offline Paul Fullbright
Messages: 200
Registered: July 2009
Senior Member
Just a note. The reason that we didn't add this for 1.0 is that we have
switched to using facets instead of natures, and there is no *general*
functionality for turning a non-faceted project into a faceted project.
After talking with the facets development team/leader we know we can
provide a *specific* solution in the case of JPA/Java, so this should be
coming down the pike forthwith.

Neil Hauge wrote:

> Agreed. :)

>> Would be nice if there was a similar menu for JPA Projects from existing
>> Plugin-Projects.
Re: How to use Dali with existing Plugin-Projects ? [message #611133 is a reply to message #434539] Thu, 28 August 2008 19:15 Go to previous message
Bill Blalock is currently offline Bill Blalock
Messages: 118
Registered: July 2009
Location: Alabama
Senior Member
Neil Hauge wrote:

> Hi,

> Currently you cannot add JPA functionality to an existing non-faceted*
> project. Bug 191717 addresses some of this discussion related to Dali.
> We plan on adding this functionality for 2.0.

Did this functionality make it to 2.0? I have a JPA project. I created a
plugin project, RCP headless. Can I use the JPA project as if it were a
plugin project?

I've done some experimenting, searched through the newsgroup, looked in
the wiki and check the new and noteworthy.

I am probably missing something, can you help me out?

Thanks
Bill Blalock

> Neil

> Sebastian Fuchs wrote:

>> Hello !

>> How can I use Dali with modells existing in my RCP - Plugin projects ?
>> I could not figure out how to use Dali without an JPA project or how to link
>> the modell classes from the JPA project to my RCP-plugin so that a
>> product export does not fail.

>> Thank you
>> Sebastian
Re: How to use Dali with existing Plugin-Projects ? [message #611134 is a reply to message #434947] Tue, 02 September 2008 16:02 Go to previous message
Neil Hauge is currently offline Neil Hauge
Messages: 469
Registered: July 2009
Senior Member
Hi Bill,

Yes, the functionality described in this thread was included in 2.0. See
the N&N here -
http://www.eclipse.org/webtools/releases/3.0.0/newandnotewor thy/jpa.php

The issue was about combining different capabilities into the same
project. So, if you want your JPA project to also be a plugin project,
you can simply convert your JPA project into a JPA plugin project by using
the "PDE Tools->Convert Projects to Plug-in Projects" functionality.

You could also go in the other direction, and convert an existing Java
Plugin Project to a JPA Plugin Project by using the new "JPA
Tools->Convert to JPA Project" feature described here.

Both options are available in the Project context menu. Hope this helps.

Neil

> Did this functionality make it to 2.0? I have a JPA project. I created a
> plugin project, RCP headless. Can I use the JPA project as if it were a
> plugin project?

> I've done some experimenting, searched through the newsgroup, looked in
> the wiki and check the new and noteworthy.

> I am probably missing something, can you help me out?

> Thanks
> Bill Blalock
Previous Topic:Typesafe JPQL query in EclipseLink
Next Topic:Collection enum
Goto Forum:
  


Current Time: Sat Oct 25 05:52:45 GMT 2014

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

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