Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Source Attach for EclipseLink
Source Attach for EclipseLink [message #479348] Mon, 10 August 2009 13:54 Go to next message
Marc Schlegel is currently offline Marc Schlegel
Messages: 92
Registered: July 2009
Member
Hello Everyone

I just started learning JPA (used plain Hibernate in a little project two years
ago) and I am using EclipseLink as persistence provider.

To complicate things a little bit, I am creating an RCP application :-)

I installed the RT EclipseLink plugins/features (including source) and now I am
wondering why I cant see the JavaDoc from the ContentAssistant. I also tried to
put the org.eclipse.persistence.core.source and
org.eclipse.persistence.jpa.source bundles into the depencies but it didnt work.
The problem is, that the Library Plugin-Dependencies does not allow modification
and this implies Source-Attachements (otherwise I could just attach the source
form the eclipselink downloads).

Is there a way to achieve this? I dont like to switch between a browser with an
documentation open and Eclipse since its much more convinient to read about
functionality where you need in (in code).

Thanks in advance
-- Marc
Re: Source Attach for EclipseLink [message #481037 is a reply to message #479348] Wed, 19 August 2009 08:01 Go to previous message
Thomas Haskes is currently offline Thomas Haskes
Messages: 147
Registered: July 2009
Senior Member
Hm, i don't know about the installable feature, I downloaded the EL OSGi
Bundles form eclise.org/eclipselink and put all of them into my target
platform (including the source bundles), and that worked for me (means I
can see Javadoc and the sourcecode).

Which Version are you using. I used the latest stable bundles 1.1.2.

I remember that in older versions they forgot to put the line

Eclipse-SourceBundle:
bundle.name.for.which.this.bundle.isSourceBundle;version="version " in
the manifest.mf, which is used to discover the sources for a bundle.

If you use an older version have a look at the manifest.mf and check if
that line is there.

HTH

Tom

Marc Schlegel schrieb:
> Hello Everyone
>
> I just started learning JPA (used plain Hibernate in a little project two years
> ago) and I am using EclipseLink as persistence provider.
>
> To complicate things a little bit, I am creating an RCP application :-)
>
> I installed the RT EclipseLink plugins/features (including source) and now I am
> wondering why I cant see the JavaDoc from the ContentAssistant. I also tried to
> put the org.eclipse.persistence.core.source and
> org.eclipse.persistence.jpa.source bundles into the depencies but it didnt work.
> The problem is, that the Library Plugin-Dependencies does not allow modification
> and this implies Source-Attachements (otherwise I could just attach the source
> form the eclipselink downloads).
>
> Is there a way to achieve this? I dont like to switch between a browser with an
> documentation open and Eclipse since its much more convinient to read about
> functionality where you need in (in code).
>
> Thanks in advance
> -- Marc
Previous Topic:Conflicting query
Next Topic:MergeChangeSetCommand NullPointerException" in remote EclipseLink Session
Goto Forum:
  


Current Time: Sat Aug 02 00:54:33 EDT 2014

Powered by FUDForum. Page generated in 0.01430 seconds