|
|
|
Re: How to use Dali with existing Plugin-Projects ? [message #434541 is a reply to message #434540] |
Mon, 06 August 2007 20:25 |
Neil Hauge Messages: 475 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 #434948 is a reply to message #434947] |
Tue, 02 September 2008 16:02 |
Neil Hauge Messages: 475 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 #605135 is a reply to message #434540] |
Mon, 06 August 2007 20:25 |
Neil Hauge Messages: 475 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 #611134 is a reply to message #434947] |
Tue, 02 September 2008 16:02 |
Neil Hauge Messages: 475 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
|
|
|
Powered by
FUDForum. Page generated in 0.04929 seconds