[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [eclipselink-users] debugging - see 259972
|
It depends if you want source for current state of that stream (i.e. what is
going to be in 1.1.3) or the source that was specifically in 1.1.2.
For the current state of the stream:
svn://dev.eclipse.org/svnroot/rt/org.eclipse.persistence/branches/1.1.0
or get the latest source archive from:
http://www.eclipse.org/eclipselink/downloads/nightly.php
For the actual contents of the 1.1.2 release:
svn://dev.eclipse.org/svnroot/rt/org.eclipse.persistence/tags/1.1.2
David Parker wrote:
Thanks again. To get source code from svn compatible with the 1.1.2
release, is this the correct url?
svn://dev.eclipse.org/svnroot/rt/org.eclipse.persistence/branches/1.2/trunk
On Sep 2, 2009, at 8:02 PM, Michael O'Brien wrote:
David,
I forgot Maven - I am not the person to ask about Maven use or
access but you may be safe with the source in the following
javax.persistence 1.0 source jar directly from SUN circa Feb 2007 as
the JPA 1.0 API was finalized in 2006.
http://download.java.net/maven/1/javax.persistence/jars/persistence-api-1.0b-sources.jar
thank you
/michael
Michael O'Brien wrote:
David,
Hi, good question. There may be other sources for the JPA 1.0
javax.persistence source, but for EclipseLink, for the JPA 1.0 API
jars and source are in...
Note: that versions of the javax.persistence source in trunk
reflects the JPA 2.0 API - you may want to stay in the 1.2 branch to
match 1.0 line numbers for the non-1.99 jar.
1) It would be directly via http by following - however this
source zip looks to be distributed only via SVN access and is not
replicated to HTTP access.
http://wiki.eclipse.org/EclipseLink/Source#EclipseLink_Online_HTML_links_into_Source
http://dev.eclipse.org/svnroot/rt/org.eclipse.persistence/trunk/jpa/plugins/javax.persistence.source_2.0_preview.jar
like
http://dev.eclipse.org/svnroot/rt/org.eclipse.persistence/trunk/jpa/plugins/javax.persistence_2.0_preview.jar
2) The position in the SVN (anonymous access allowed) repository
for the binaries and source are
http://fisheye2.atlassian.com/browse/eclipselink/branches/1.2/trunk/plugins/javax.persistence_1.0.0.v200905011740.jar#r4982
http://fisheye2.atlassian.com/browse/eclipselink/trunk/plugins/javax.persistence_1.0.0.v200905011740.jar
Try anonymous access by using the url
svn://dev.eclipse.org/svnroot/rt/org.eclipse.persistence/branches/1.2/trunk
described in
http://wiki.eclipse.org/EclipseLink/Source#EclipseLink_Source_Control_Repositories
The source for the trunk (JPA 2.0 preview) jar in SVN trunk is - it
will contain 2.0 changes on top of 1.0
/jpa\plugins/javax.persistence.source_2.0_preview.jar
Note: you may need the following unsigned jar for development
also off the plugins directory in SVN.
javax.persistence_unsigned_for_testing_1.0.0.jar
And either or both of the following if you want to debug
through to the JPA interfaces in this jar
org.eclipse.persistence.jpa.source_2.0.0.qualifier.jar
org.eclipse.persistence.jpa_2.0.0.qualifier.jar
3) Or, for non-SVN users follow 1) above for the source and the
following links to get the binaries at least
http://wiki.eclipse.org/EclipseLink/Source#EclipseLink_Source_in_Binary_Releases
http://www.eclipse.org/eclipselink/downloads/index.php
http://www.eclipse.org/downloads/download.php?file=/rt/eclipselink/releases/1.1.2/eclipselink-1.1.2.v20090612-r4475.zip
- Extract out this (24 Mb) zip file and navigate to the following jar.
(1.0)
eclipselink-1.1.2.v20090612-r4475\eclipselink\jlib\jpa\javax.persistence_1.0.0.v200905011740.jar
(2.0 preview)
eclipselink-1.1.2.v20090612-r4475\eclipselink\jlib\jpa\javax.persistence_1.99.0.v200906021518.jar
4) I cannot speak for the following unknown/unsupported mirrors-
I found using Google (thanks Google) - however they are available
only for the M2.2 release.
Again, Note that this is a JPA 2.0 preview jar.
Note: I have not downloaded the jar or verified it - for
security reasons.
http://ftp.wh-stuttgart.net/mirrors/eclipse/rt/eclipselink/milestones/2.0.0/M2.2/javax.persistence.source_2.0_preview.jar
http://eclipsemirror.yoxos.com/eclipse.org/rt/eclipselink/milestones/2.0.0/M2.2/javax.persistence.source_2.0_preview.jar
thank you
/michael
David Parker wrote:
where can I find the source for Persistence.class?
On Sep 2, 2009, at 2:04 PM, Michael O'Brien wrote:
David,
The eclipselink.jar has been building using [javac.debug=true]
since early 1.0 -however debugging info was restricted to the
default [javac.debuglevel=source.lines] and was missing "local
variables" in the debug variables view until mid May 2009 in the
trunk - I noticed this discrepancy when debugging on WebSphere in Jan.
Bug 259972 was raised and fixed so that a local override was
not required.
See the following references, the ant build by default creates
a fully debuggable jar since 20090513 - however this change should
be in 1.1.2 after the merge in rev# 4420 in June.
http://bugs.eclipse.org/259972
http://fisheye2.atlassian.com/browse/eclipselink/trunk/build.properties
http://fisheye2.atlassian.com/browse/eclipselink/trunk/build.properties?r=4179
As Tim suggests, try adding the following to your
<user-dir>/build.properties override and rebuild eclipselink.jar to
verify this.
javac.debug=true
javac.debuglevel=lines,vars,source
See also
http://wiki.eclipse.org/EclipseLink/Debugging
http://wiki.eclipse.org/EclipseLink/Source
http://wiki.eclipse.org/EclipseLink/Development/Testing/Prereq
http://wiki.eclipse.org/EclipseLink/Building
http://wiki.eclipse.org/EclipseLink/Development
thank you
/michael
Tim Hollosy wrote:
I can do this in eclipse just by attaching the source to the jar in
the libraries list, so it must be possible in netbeans.
./tch
On Wed, Sep 2, 2009 at 1:17 PM, David Parker<dap@xxxxxxxxxxxxxxxxxxxx> wrote:
I'd like to step into eclipselink src code while debugging our app. I
grabbed the 1.1.2 jar, and the 1.1.2 src zip, but I guess the jar is not
built with debug, so even though I added the src zip to my netbeans library
list, I can't step into the source code. Is there somewhere to get a jar
file with debug info, or do I need to build it myself?
=============================================
David Parker
dap@xxxxxxxxxxxxxxxxxxxx
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx <mailto:eclipselink-users@xxxxxxxxxxx>
https://dev.eclipse.org/mailman/listinfo/eclipselink-users
=============================================
David Parker
dap@xxxxxxxxxxxxxxxxxxxx <mailto:dap@xxxxxxxxxxxxxxxxxxxx>
------------------------------------------------------------------------
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users
=============================================
David Parker
dap@xxxxxxxxxxxxxxxxxxxx <mailto:dap@xxxxxxxxxxxxxxxxxxxx>
------------------------------------------------------------------------
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users