 |
Readonly subversion repository for JDK sources under the JRL license
Posted by idk on September 01, 2006 at 04:42 PM | Comments (21)
JDK7 and JDK6 source snapshots under the JRL license are now available through subversion repository. jdk.researcher or
jdk.contributor role for jdk project is required to access the repository. The repository is located here - https://jdk-jrl-sources.dev.java.net/svn/jdk-jrl-sources/
This is yet another way to access JDK sources. It has a number of advantages over the jar files we provide for the source shapshots. Some of them are
- all the JDK7 snapshots will be available there (only a few last snapshots are available as jar files)
- with subversion one can get subset of the workspace (one gets whole workspace in a jar file)
- workspace update is as simple as svn update
- the repository is browsable
The repository layout is as follows:
| jdk7/ |   | - JDK7 sources |
| | trunk/ |   | - JDK7 latest sources |
| | tags/ | | - JDK7 source snapshots |
|   | jdk7-b01/ | - JDK7 sources for build 01 |
| ... |
|   | jdk7-bN/ | - JDK7 sources for build N |
| |
| jdk6/ |   | - JDK6 sources |
| | trunk/ |   | - JDK6 latest sources |
| | tags/ | | - JDK6 source snapshots |
|   | jdk6-b92/ | - JDK6 sources for build 92 |
|   | jdk6-b93/ | - JDK6 sources for build 93 |
| ... |
|   | jdk6-bN/ | - JDK6 sources for build N |
Examples:
You can get subversion client for your platform here.
Get latest JDK7 sources:
svn checkout https://jdk-jrl-sources.dev.java.net/svn/jdk-jrl-sources/jdk7/trunk/ --username <your_java.net_id>
Get JDK6 sources for build 94:
svn checkout https://jdk-jrl-sources.dev.java.net/svn/jdk-jrl-sources/jdk6/tags/jdk6-b94 --username <your_java.net_id>
Get latest JDK7 sources for javax.swing package and store them under javax/swing directory:
svn checkout https://jdk-jrl-sources.dev.java.net/svn/jdk-jrl-sources/jdk7/trunk/j2se/src/share/classes/javax/swing javax/swing --username <your_java.net_id>
Hope you will find the repository useful.
Bookmark blog post: del.icio.us Digg DZone Furl Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment
-
Nice. But the authentication doesn't seem to work. Yes, I do have the required roles.
Matthias
Posted by: mernst on September 02, 2006 at 05:35 AM
-
I confirm, no way to access to the repository.
Rémi
Posted by: forax on September 02, 2006 at 07:47 AM
-
yup, can't even use the viewer link. Says:
Your account does not have the "VersionControl - Read" permission needed for you to access the page you requested in the jdk-jrl-sources project (view your permissions). Either ask the project administrator for more permission, or log in using a different account.
leouser
Posted by: leouser on September 02, 2006 at 11:14 AM
-
Same for me. On the jdk project, I have roles:
jdk.Contributor
jdk.Researcher
But I can't browse or checkout at the URL:
https://jdk-jrl-sources.dev.java.net/
Is it because that's a different project from the jdk project of which I'm a member?
On projects that you're a member of, they by default display your member roles on the main page, showing "Your role(s)" and then listing the roles. On the jdk-jrl-sources.dev.java.net main page, there are no roles listed for me.
Ciao,
Steev.
Posted by: steevcoco on September 04, 2006 at 10:30 AM
-
Yep.....Looks like a clitch in the system. Give us a chance to ferret out a workaround.
JDK Community Leader
Posted by: brinkley on September 05, 2006 at 10:11 AM
-
To help track this. Can all of you with at least a jdk.research role view the jdk-jrl-sources home page?
JDK Community Leader
Posted by: brinkley on September 05, 2006 at 10:18 AM
-
Roger: I gave up developer role for jdk-jrl-sources.dev.java.net. Now I have only jdk.reseacher and jdk.developer roles for jdk.dev.java.net project.
I can see jdk-jrl-sources home page. (There is no "Version Control SCM" link of the left sidebar anymore.)
Posted by: idk on September 05, 2006 at 10:38 AM
-
Both viewer and SVN work for me now.
matthias
Posted by: mernst on September 05, 2006 at 10:50 AM
-
Ok, the problem is now fixed. When the jdk.researcher and jdk.contributor roles were first developed they didn't have repository read access assigned. That has now been fixed.
JDK Community Leader
Posted by: brinkley on September 05, 2006 at 10:54 AM
-
yup, regular SVN and JavaSVN both appear to be working Ok over here.
leouser
Posted by: leouser on September 05, 2006 at 11:29 AM
-
Also OK.
Posted by: steevcoco on September 05, 2006 at 08:21 PM
-
Igor or Roger, any chance of updating https://jdk6.dev.java.net/ and/or https://jdk6.dev.java.net/collaborate.html to reflect the fact that SVN is the standard way to contribute to the JDK?
Also, to encourage contributions to individual source files without access to SVN, perhaps you could tell folks (how) to submit using unified context diff format which is what you implicitly request on https://jdk6.dev.java.net/example-contribution.html ?
BTW, I posted a clarification on this at http://colmsmyth.blogspot.com/2006/09/how-to-contribute-to-jdk-6-and-open.html
Thanks!
Posted by: colmsmyth on September 11, 2006 at 02:35 PM
-
The repository seems to contain only the builds since b92. How can I get the older builds?
Thanks!
Posted by: dlupa on October 16, 2006 at 02:49 PM
-
to dlupa:
> The repository seems to contain only the builds since b92. How can I get the older builds?
I am afraid they are not available. May I ask what do you need them for?
Thanks
Posted by: idk on October 16, 2006 at 06:57 PM
-
Sure. There are two related bugs (5065001, 6229122) that have been fixed some time during the JDK6 development, but not yet for JDK5 (more details at http://www.segal.org/java/sun_jit).
In order to understand more about the problem, I would like to look at the history of awt_Component.cpp - Java_sun_awt_windows_WComponentPeer__1dispose and related methods. The builds I should probably look at are b15 and b35.
Thanks
Posted by: dlupa on October 17, 2006 at 08:29 AM
-
Help!
Is your_java.net_id the same as the site username,i.e. bigendian in my case ? Because, I was unable to authenticate with:
svn co https://jdk-jrl-sources.dev.java.net/svn/jdk-jrl-sources/jdk7/trunk/ --username bigendian --password notreallymypassword
Perhaps my permissions are insufficient ?
Sorry for the newbishness.
Posted by: bigendian on December 30, 2006 at 11:12 PM
-
How can we get the role that would me to access the versionControl even as readonly???
https://jdk-jrl-sources.dev.java.net/svn/jdk-jrl-sources/jdk7/trunk/
Posted by: benoitx on March 12, 2007 at 02:05 PM
-
to benoitx:
You need to request jdk.researcher or jdk.contributor role for jdk ( https://jdk.dev.java.net/ ) project.
Posted by: idk on March 12, 2007 at 02:23 PM
-
To idk,
Thanks for the info, it works and we have now created the StatSVN for JDK7 (seems to have been loaded from b09)...
http://www.statsvn.org/demo
Enjoy!
(and feel free to mention our little site/open source project), that would be super. Thanks.
Posted by: benoitx on March 24, 2007 at 04:15 AM
-
Where do I find jvm.h? It is included in java.c in the launcher sources for Windows and I can't seem to find it. Thanks.
Posted by: cchiro on July 06, 2007 at 06:44 AM
-
to cchiro:
jdk7/trunk/j2se/src/share/javavm/export/jvm.h
is it the one?
Posted by: idk on July 06, 2007 at 09:10 AM
|