From nhoj.patrick at gmail.com Sun Nov 7 11:22:54 2010 From: nhoj.patrick at gmail.com (John Patrick) Date: Sun, 7 Nov 2010 19:22:54 +0000 Subject: Mercurial 1.7+ Forest Extension vs subrepos Message-ID: Today I thought I would try to build openjdk from source. Following the guide it says to install Mercurial 0.9.4 or newer, and also install the Forest Extension. The initial link for forest has a broken link for download, and a email to the maintainer bounced with unknown domain. The alternative link for a version post-1.0 release, does work, but the extension fails on Mercurial 1.7. I've supplied a patch to that version [ http://bitbucket.org/pmezard/hgforest-crew/overview/] and hopefully the openjdk documentation will work as currently document shortly. Whilst trying to get the Forest Extension working, it appears the preferred solution from Mercurial 1.7 onwards is to use subrepos which will be maintained by mercurial instead of via a plugin. So openjdk might need to switch to using subrepos and/or change the documentation too. I thought I'd let people know as I thought building from source might have issues, but I never thought getting the source in the 1st place would be the issue, which might put people off who want to help. John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/web-discuss/attachments/20101107/91a5c67e/attachment.html From gnu_andrew at member.fsf.org Mon Nov 8 05:12:32 2010 From: gnu_andrew at member.fsf.org (Dr Andrew John Hughes) Date: Mon, 8 Nov 2010 13:12:32 +0000 Subject: Mercurial 1.7+ Forest Extension vs subrepos In-Reply-To: References: Message-ID: On 7 November 2010 19:22, John Patrick wrote: > Today I thought I would try to build openjdk from source. Following the > guide it says to install Mercurial 0.9.4 or newer, and also install the > Forest Extension. The initial link for forest has a broken link for > download, and a email to the maintainer bounced with unknown domain. The > alternative link for a version post-1.0 release, does work, but the > extension fails on Mercurial 1.7. > > I've supplied a patch to that version > [http://bitbucket.org/pmezard/hgforest-crew/overview/] and hopefully the > openjdk documentation will work as currently document shortly. > > Whilst trying to get the Forest Extension working, it appears the preferred > solution from Mercurial 1.7 onwards is to use subrepos which will be > maintained by mercurial instead of via a plugin. > > So openjdk might need to switch to using subrepos and/or change the > documentation too. > > I thought I'd let people know as I thought building from source might have > issues, but I never thought getting the source in the 1st place would be the > issue, which might put people off who want to help. > > John > > Hi John, Sadly, this issue doesn't seem to have been discussed much on the OpenJDK lists. The forest extension was a non-standard addon to Mercurial to begin with, and support only seems to have become worse as time has passed. Like most of the build documentation, the instructions still pertain to the time of the initial OpenJDK release. You actually can checkout just fine without the forest extension (and commit, etc. for those who have the rights). The lack of the forest extension just means that you have to check out each tree rather than the forest extension detecting them for you. The following script: for trees in "" jdk hotspot langtools corba jaxp jaxws do echo Tree $trees dir=$ROOT/$forest/$trees parent=$(dirname $dir) if [ ! -e $dir/.hg ] ; then echo Creating $parent mkdir -p $parent echo Entering $parent cd $parent echo Cloning root from $URL/$forest/$trees hg clone $URL/$forest/$trees else echo Entering $dir cd $dir echo Updating $trees hg pull -u fi done will either checkout or update the given forest $forest in the directory $ROOT. Which action is taken depends on whether the tree already exists or not. A simpler script: #!/bin/bash TREE=$1 COMMAND=$2 if test "x$COMMAND" = x; then COMMAND="pull -u" fi for dirs in . corba jaxp jaxws langtools hotspot jdk do hg -R $1/$dirs $COMMAND done will handle any Mercurial command over an existing forest checkout. This method has the disadvantage that the subdirectories are hardcoded (though I doubt they are going to change), but has the advantage that there is no need for the forest extension and it's noticeably faster as there is no search for directories. -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA? 7927 142C 2591 94EF D9D8 From Alan.Bateman at oracle.com Tue Nov 9 04:59:38 2010 From: Alan.Bateman at oracle.com (Alan Bateman) Date: Tue, 09 Nov 2010 12:59:38 +0000 Subject: Mercurial repositories no longer work? In-Reply-To: <4CD9339D.8020106@mindspring.com> References: <4CD917FF.9060505@mindspring.com> <4CD91ECE.5060007@oracle.com> <4CD9339D.8020106@mindspring.com> Message-ID: <4CD945BA.9030803@oracle.com> Alan Eliasen wrote: > : > Since this is an issue that affects every single OpenJDK contributor, > that may or may not be subscribed to every list, (I doubt most of us > are,) it is critical that information about accessing the central > repository (which is now effectively broken to anyone that uses current > versions of Mercurial, especially because the Forest extension is no > longer maintained) is pushed to contributors, and the solutions to that > problem get actively published to every list, and are published to the > official pages that explain how to check out and update OpenJDK as soon > as possible, which they haven't been. (This is critical for an > open-source project.) > > Is there a contact at Oracle that is responsible for making the > OpenJDK open and accessible? Who is the maintainer of the pages that > discuss how to check out and update OpenJDK? Those pages are obsolete > and broken. Mercurial's forest extension is apparently obsolete and > officially unmaintained. What is the strategy to move OpenJDK forward? > > I'm not subscribed to the web-discuss list, and its archive pages are > marked as "nofollow" for web robots, so nobody will find it with a web > search. You are asking that web robots do not follow links to any > messages in the archive. I searched but couldn't find it for this > reason. The thread posted above is not a solution; the only reply is a > dreadful hardcoded large program that kludges around the real problem > and will break again in the future if any subdirectory is added. It > does not fix the problem that the official instructions to check out and > update OpenJDK sources no longer work, and that the official way to > check out (the unsupported Forest extension) is no longer usable. > > This is a major issue that must be addressed on all lists. I hope > that paid Oracle employees will communicate the necessary fix to all > contributors on all lists, who try to contribute value to their products > for free. Please forward this to the web-discuss list. > > I've cc'ed the web-discuss list, and bcc'ed the core-libs-dev so as to move this discussion to the right place. For now, all I can suggest is that you sync up each repo individually (by doing "hg pull" in each repo) or else go back to an older version of Mercurial if you want to use the forest commands. Yes, the web pages needs to be updated to include a warning or otherwise make it clear that the forest extension cannot be used with recent releases of mercurial. I don't have any knowledge or information about plans to move to subrepos. -Alan From kelly.ohair at oracle.com Tue Nov 9 08:23:56 2010 From: kelly.ohair at oracle.com (Kelly O'Hair) Date: Tue, 9 Nov 2010 08:23:56 -0800 Subject: Mercurial repositories no longer work? In-Reply-To: <4CD9339D.8020106@mindspring.com> References: <4CD917FF.9060505@mindspring.com> <4CD91ECE.5060007@oracle.com> <4CD9339D.8020106@mindspring.com> Message-ID: <76E01B25-C960-4293-9826-74EB3E422260@oracle.com> On Nov 9, 2010, at 3:42 AM, Alan Eliasen wrote: > On 11/09/2010 03:13 AM, Alan Bateman wrote: >> The web-discuss mailing list is the place for infrastructure >> discussion. >> As it happens, someone started a discussion about this issue just a >> few >> days ago: >> >> http://mail.openjdk.java.net/pipermail/web-discuss/2010-November/000139.html > > Since this is an issue that affects every single OpenJDK > contributor, > that may or may not be subscribed to every list, (I doubt most of us > are,) it is critical that information about accessing the central > repository (which is now effectively broken to anyone that uses > current > versions of Mercurial, especially because the Forest extension is no > longer maintained) is pushed to contributors, and the solutions to > that > problem get actively published to every list, and are published to the > official pages that explain how to check out and update OpenJDK as > soon > as possible, which they haven't been. (This is critical for an > open-source project.) I think you have made a bigger issue out of this than need be. Simply stop using the forest extension and instead of one fclone command you can use multiple clone commands, e.g. hg clone http://hg.openjdk.java.net/jdk7/jdk7 jdk7 hg clone http://hg.openjdk.java.net/jdk7/jdk7/corba jdk7/corba hg clone http://hg.openjdk.java.net/jdk7/jdk7/jaxp jdk7/jaxp hg clone http://hg.openjdk.java.net/jdk7/jdk7/jaxws jdk7/jaxws hg clone http://hg.openjdk.java.net/jdk7/jdk7/langtools jdk7/ langtools hg clone http://hg.openjdk.java.net/jdk7/jdk7/jdk jdk7/jdk hg clone http://hg.openjdk.java.net/jdk7/jdk7/hotspot jdk7/ hotspot -OR- for i in jdk7 jdk7/corba jdk7/jaxp jdk7/jaxws jdk7/langtools jdk7/ jdk jdk7/hotspot ; do hg clone http://hg.openjdk.java.net/jdk7/$i $i done Creating your clone is typically a one time affair, so this pain is limited and can easily be scripted. Every openjdk repository is an independent Mercurial repository, and most developers only work in one of these repositories anyway. Repeated operations on all repositories can easily be done with a simple shell loop, e.g. for i in `find . -type d -name .hg` ; do ( cd ${i}/.. && hg pull -u ) done I'll be adding some scripts to the jdk7 repo soon to help out with these operations. The forest extension was simply a helper extension and was never critical to the use of nested repositories. > > Is there a contact at Oracle that is responsible for making the > OpenJDK open and accessible? Who is the maintainer of the pages that > discuss how to check out and update OpenJDK? Those pages are obsolete > and broken. Mercurial's forest extension is apparently obsolete and > officially unmaintained. What is the strategy to move OpenJDK > forward? I see the lack of a forest extension as no serious impact on openjdk development. Just a minor bump in the road. > > I'm not subscribed to the web-discuss list, and its archive pages > are > marked as "nofollow" for web robots, so nobody will find it with a web > search. You are asking that web robots do not follow links to any > messages in the archive. I searched but couldn't find it for this > reason. The thread posted above is not a solution; the only reply > is a > dreadful hardcoded large program that kludges around the real problem > and will break again in the future if any subdirectory is added. It > does not fix the problem that the official instructions to check out > and > update OpenJDK sources no longer work, and that the official way to > check out (the unsupported Forest extension) is no longer usable. Eventually we will correct the documentation, and I'll try and send out some email or do some blogs on ways to get around it. You might try looking at: http://blogs.sun.com/kto/entry/mercurial_forest_pet_shell_trick > > This is a major issue that must be addressed on all lists. I hope > that paid Oracle employees will communicate the necessary fix to all > contributors on all lists, who try to contribute value to their > products > for free. Please forward this to the web-discuss list. I really don't see this as a major issue, but I do feel it is an important issue. We are all well aware of the problems with the forest extension and have been thinking about alternatives. The fact that external mercurial extensions are broken so easily with each Mercurial release has been a pain we have been living with for a long time. It is nothing new to us, we live with it, fix it when we can or find an alternative and move forward. -kto > > -- > Alan Eliasen > eliasen at mindspring.com > http://futureboy.us/ From mark at klomp.org Wed Nov 17 02:53:04 2010 From: mark at klomp.org (Mark Wielaard) Date: Wed, 17 Nov 2010 11:53:04 +0100 Subject: hg.openjdk.java.net down? Message-ID: <1289991184.4358.6.camel@springer.wildebeest.org> Hi, For the last couple of hours hg.openjdk.java.net seems to be down. Could someone take a look and kick the machine? Thanks, Mark From mark.reinhold at oracle.com Wed Nov 17 04:53:36 2010 From: mark.reinhold at oracle.com (mark.reinhold at oracle.com) Date: Wed, 17 Nov 2010 13:53:36 +0100 Subject: hg.openjdk.java.net down? In-Reply-To: mark@klomp.org; Wed, 17 Nov 2010 11:53:04 +0100; <1289991184.4358.6.camel@springer.wildebeest.org> Message-ID: <20101117125336.217343FF@eggemoggin.niobe.net> > From: Mark Wielaard > Date: Wed, 17 Nov 2010 11:53:04 +0100 > For the last couple of hours hg.openjdk.java.net seems to be down. Could > someone take a look and kick the machine? Working on it. - Mark From andre.ocosta at gmail.com Wed Nov 17 06:24:00 2010 From: andre.ocosta at gmail.com (Andre Costa) Date: Wed, 17 Nov 2010 12:24:00 -0200 Subject: OpenJDK "General FAQ" link is broken Message-ID: Hi, I'm not sure this is the right place to report such issues; if it's not, please apologize and let me know where I should report it. The "General FAQ" link[1] on the main OpenJDK page[2] is broken (for quite some time IIRC). It's the very first link on the page, and a very important one ;-) The error page says the problem has been logged, but I've hit it a couple of times since Oracle took over and always got the 404 error... (maybe it was just bad luck but... ;-)) Regards, Andre [1] http://www.sun.com/software/opensource/java/faq.jsp [2] http://openjdk.java.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/web-discuss/attachments/20101117/f1ba9b29/attachment.html From mark at klomp.org Wed Nov 17 07:00:45 2010 From: mark at klomp.org (Mark Wielaard) Date: Wed, 17 Nov 2010 16:00:45 +0100 Subject: OpenJDK "General FAQ" link is broken In-Reply-To: References: Message-ID: <1290006045.4358.227.camel@springer.wildebeest.org> On Wed, 2010-11-17 at 12:24 -0200, Andre Costa wrote: > The "General FAQ" link[1] on the main OpenJDK page[2] is broken (for > quite some time IIRC). It's the very first link on the page, and a > very important one ;-) The error page says the problem has been > logged, but I've hit it a couple of times since Oracle took over and > always got the 404 error... > (maybe it was just bad luck but... ;-)) It seems something went wrong with migration of JSP pages from sun.com to oracle.com. It is apparently being worked on. Meanwhile there is a (html) backup here: http://icedtea.classpath.org/openjdk/java/faq.jsp.html From andre.ocosta at gmail.com Wed Nov 17 07:19:09 2010 From: andre.ocosta at gmail.com (Andre Costa) Date: Wed, 17 Nov 2010 13:19:09 -0200 Subject: Fwd: OpenJDK "General FAQ" link is broken In-Reply-To: References: <1290006045.4358.227.camel@springer.wildebeest.org> Message-ID: Forwarding to the list... (I accidentally replied to Mark only) ---------- Forwarded message ---------- From: Andre Costa Date: Wed, Nov 17, 2010 at 13:16 Subject: Re: OpenJDK "General FAQ" link is broken To: Mark Wielaard Hi Mark, On Wed, Nov 17, 2010 at 13:00, Mark Wielaard wrote: > On Wed, 2010-11-17 at 12:24 -0200, Andre Costa wrote: > > The "General FAQ" link[1] on the main OpenJDK page[2] is broken (for > > quite some time IIRC). It's the very first link on the page, and a > > very important one ;-) The error page says the problem has been > > logged, but I've hit it a couple of times since Oracle took over and > > always got the 404 error... > > (maybe it was just bad luck but... ;-)) > > It seems something went wrong with migration of JSP pages from sun.com > to oracle.com. It is apparently being worked on. Meanwhile there is a > (html) backup here: > http://icedtea.classpath.org/openjdk/java/faq.jsp.html > > Thks for the link, will use while the official one is broken. Still, I would double-check if this is actually being worked on, my perception is that it has always been wrong during "Oracle era". I know this is minor detail among all other stuff that had to be migrated, but IMHO this is a fairly important link to be broken. Regards, Andre PS: is there any other way to report problems like these that would not require signing to this list? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/web-discuss/attachments/20101117/12eab6ab/attachment.html From kelly.ohair at oracle.com Wed Nov 17 09:05:05 2010 From: kelly.ohair at oracle.com (Kelly O'Hair) Date: Wed, 17 Nov 2010 09:05:05 -0800 Subject: OpenJDK "General FAQ" link is broken In-Reply-To: References: Message-ID: <80500A32-CCD4-4EAA-9DA2-BB60FADC83AC@oracle.com> Looks like it might need to be changed to http://www.oracle.com/us/technologies/open-source/index.html or http://oss.oracle.com/ ??? Although I don't see a specific FAQ page anywhere, or references to a FAQ don't seem to have any FAQ's :^( I think this particular FAQ was mostly around the open sourcing, is that what you wanted? Just wondering if the FAQ desired was more a technical one. --- Also looks like we have a bunch of broken links or incorrect links at http://www.oracle.com/technetwork/java/javase/community/opensourcejdk-jsp-136417.html :^( -kto On Nov 17, 2010, at 6:24 AM, Andre Costa wrote: > Hi, > > I'm not sure this is the right place to report such issues; if it's > not, please apologize and let me know where I should report it. > > The "General FAQ" link[1] on the main OpenJDK page[2] is broken > (for quite some time IIRC). It's the very first link on the page, > and a very important one ;-) The error page says the problem has > been logged, but I've hit it a couple of times since Oracle took > over and always got the 404 error... (maybe it was just bad luck > but... ;-)) > > Regards, > > Andre > > [1] http://www.sun.com/software/opensource/java/faq.jsp > [2] http://openjdk.java.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/web-discuss/attachments/20101117/c14416ed/attachment.html From andre.ocosta at gmail.com Wed Nov 17 13:01:14 2010 From: andre.ocosta at gmail.com (Andre Costa) Date: Wed, 17 Nov 2010 19:01:14 -0200 Subject: OpenJDK "General FAQ" link is broken In-Reply-To: <80500A32-CCD4-4EAA-9DA2-BB60FADC83AC@oracle.com> References: <80500A32-CCD4-4EAA-9DA2-BB60FADC83AC@oracle.com> Message-ID: On Wed, Nov 17, 2010 at 15:05, Kelly O'Hair wrote: > Looks like it might need to be changed to > http://www.oracle.com/us/technologies/open-source/index.html > or > http://oss.oracle.com/ > ??? > > Although I don't see a specific FAQ page anywhere, or references to a FAQ > don't seem to have any FAQ's :^( > I think this particular FAQ was mostly around the open sourcing, is that > what you wanted? > Just wondering if the FAQ desired was more a technical one. > I only took a quick look, but it seems the link Mark suggested[1] has pretty much all I need, thks =) (although more info doesn't hurt) OpenJDK is a key project for Java future, even more now that it will be the only option for OS X users, so I believe it is mandatory that people fully understand what it means, how it differs from Oracle JDK, how it is going, where it is headed etc. (BTW this page seems to be outdated, most recent events seem to point to 2008) [1] http://icedtea.classpath.org/openjdk/java/faq.jsp.html Also looks like we have a bunch of broken links or incorrect links at > > http://www.oracle.com/technetwork/java/javase/community/opensourcejdk-jsp-136417.html > :^( > That sucks :-( Regards, Andre -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/web-discuss/attachments/20101117/d90fb24b/attachment.html