Dynamic Weaving in Eclipse RCP [message #379883] |
Wed, 20 August 2008 10:49  |
Eclipse User |
|
|
|
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 #379886 is a reply to message #379885] |
Fri, 22 August 2008 12:25  |
Eclipse User |
|
|
|
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]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
Powered by
FUDForum. Page generated in 0.53106 seconds