Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Dynamic Weaving in Eclipse RCP
Dynamic Weaving in Eclipse RCP [message #379883] Wed, 20 August 2008 14:49 Go to next message
Andre Ribeiro is currently offline Andre RibeiroFriend
Messages: 58
Registered: July 2009
Member
Does anyone knows if it possible to have Dynamic Weaving in an Eclipse
RCP app?

If yes, can you tell exactly what are the configurations needed for the
RCP app?
Agents, JARs, properties in persistence.xml

With dynamic Weaving on I always get ...

Exception [EclipseLink-60] (Eclipse Persistence Services - 1.0 (Build
1.0 - 20080707)): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The method [_persistence_setapplication_vh] or
[_persistence_getapplication_vh] is not defined in the object
[common.bean.configurationDefinition.Template].
Internal Exception: java.lang.NoSuchMethodException:
common.bean.configurationDefinition.Template._persistence_ge tapplication_vh()
Mapping: org.eclipse.persistence.mappings.OneToOneMapping[application ]
Descriptor:
RelationalDescriptor(common.bean.configurationDefinition.Tem plate -->
[DatabaseTable(myschema.template)])


Thanks a lot!
Re: Dynamic Weaving in Eclipse RCP [message #379885 is a reply to message #379883] Fri, 22 August 2008 14:35 Go to previous messageGo to next message
Shaun Smith is currently offline Shaun SmithFriend
Messages: 197
Registered: July 2009
Senior Member
Hi Andre,

There's an earlier thread titled "rcp, osgi, and dynamic weaving" where
we were discussing the issues. The bottom line is we don't have it
working but I'm trying to get to the point where at least the issues are
clear so we can get some expert advice.

Until we have dynamic weaving you can always use static.

--Shaun
Re: Dynamic Weaving in Eclipse RCP [message #379886 is a reply to message #379885] Fri, 22 August 2008 16:25 Go to previous message
Joel Rosi-Schwartz is currently offline Joel Rosi-SchwartzFriend
Messages: 624
Registered: July 2009
Location: London. England
Senior Member
On 2008-08-22 15:35:35 +0100, shaun.smith@oracle.com (Shaun Smith) said:

> Hi Andre,
>
> There's an earlier thread titled "rcp, osgi, and dynamic weaving"
> where we were discussing the issues. The bottom line is we don't have
> it working but I'm trying to get to the point where at least the issues
> are clear so we can get some expert advice.
> Until we have dynamic weaving you can always use static.
>
> --Shaun


That's very good to know, thanks.

Since we will have to use static weaving until the the issues are
resolved, the question comes up of how do I integrate static weaving
into the PDE build process inside the Eclipse IDE. Sure it is
straightforward enough to call an ant task in an external build, but
that slows down development; one of the really neat thing about Eclipse
is just how smooth is to code and run. The first thing that occurs to
me is to add a builder into the JPA project that automatically does the
static weaving post compile. Seeing as I have not yet approached
creating my own builder, I thought perhaps throw this out to the
community to see if anyone has tried this approach yet.

Many thanks,
Joel
--
Joel Rosi-Schwartz
Etish Limited [http://www.etish.org]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^...^
/ o,o \ The proud parents of Useme
|) ::: (| The Open Requirements Management Too
====w=w==== [https://useme.dev.java.net]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Previous Topic:Everything works with Toplink essential but..
Next Topic:Database generated primary key - problems with insert
Goto Forum:
  


Current Time: Fri Dec 19 13:05:22 GMT 2014

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

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