From Ulf.Zibis at gmx.de Tue Mar 24 15:40:19 2009
From: Ulf.Zibis at gmx.de (Ulf Zibis)
Date: Tue, 24 Mar 2009 23:40:19 +0100
Subject: Setup OpenJDK Netbeans project - Please help!
Message-ID: <49C96153.1000105@gmx.de>
Hi all,
my first post on this list.
I've opened the JConsole project from JDK7 b51 sources and ran into some
errors. See attachment.
Can you give me some hints?
When I set .openjdk\build.properties to:
bootstrap.jdk=C:/Programme/Java/jdk1.7.0
the compile warning disappears, but the error annotations in editor remain.
Thanks in advance,
-Ulf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenJDK - JConsole Errors.jpg
Type: image/jpeg
Size: 62894 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/nb-projects-dev/attachments/20090324/860d5be9/attachment.jpg
From Ulf.Zibis at gmx.de Tue Mar 24 15:55:46 2009
From: Ulf.Zibis at gmx.de (Ulf Zibis)
Date: Tue, 24 Mar 2009 23:55:46 +0100
Subject: Setup OpenJDK Netbeans project - Mercurial - Please help!
In-Reply-To: <49C5F290.6070801@gmx.de>
References: <49C16E46.9040609@sun.com> <49C23DE2.5010901@gmx.de> <49C23FA2.4000409@sun.com> <49C2BE03.1040700@gmx.de> <49C4170C.9060601@sun.com> <49C5F290.6070801@gmx.de>
Message-ID: <49C964F2.1040801@gmx.de>
Hi All,
I've downloaded the b51 snapshot sources. I see some .hg* files, but can't get connected to the
OpenJDK repository
How to make this a working Mercurial Working Copy?
Please see my problem in the attachment.
I thought, the hg support from NetBeans didn't work, because the local .hg repository wasn't
existent, so I created it by "Create Repository". After this, I think, I should commit the WC files
into it, but I hesitate, because I don't want to have an additional 250 MB copy of the whole jdk on
my harddisk. I have to be economic with diskspace (60 GB). I would be happy, if there would be a
way, only to push the parts in the repository which I'm working on (sun.nio.cs). Do you have some
hint, how to solve this problem? Does it work, if I only commit the folder, which I'm working on?
I also did a clone of http://hg.openjdk.java.net/jdk7/jdk7 which created folder "jdk". This clone
only contained some few make files, so I don't know what to do with it.
Alan said, I should use fclone. I don't see how to invoke fclone from NetBeans. Also I don't find
any information about fclone on http://www.selenic.com/mercurial/wiki/index.cgi/Mercurial.
Additionally I've installed TortoiseHG.
Thanks in advance,
Ulf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenJDK - Mercurial Clone error.jpg
Type: image/jpeg
Size: 69032 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/nb-projects-dev/attachments/20090324/17a72aeb/attachment.jpg
From Ulf.Zibis at gmx.de Tue Mar 24 16:01:38 2009
From: Ulf.Zibis at gmx.de (Ulf Zibis)
Date: Wed, 25 Mar 2009 00:01:38 +0100
Subject: Setup OpenJDK Netbeans project - Please help!
In-Reply-To: <49C7983F.5010408@sun.com>
References: <49C16E46.9040609@sun.com> <49C23DE2.5010901@gmx.de>
<49C23FA2.4000409@sun.com> <49C2BE03.1040700@gmx.de>
<49C4170C.9060601@sun.com> <49C5F290.6070801@gmx.de>
<49C69195.6050701@sun.com> <49C782E1.5060400@gmx.de>
<49C7983F.5010408@sun.com>
Message-ID: <49C96652.5040904@gmx.de>
Am 23.03.2009 15:10, Alan Bateman schrieb:
> Ulf Zibis wrote:
>> :
>> Thanks Alan.
>> I hesitated to post to nb-projects-dev at openjdk.java.net, because
>> there was no traffic since August 2008. But I'll give it a try.
>>
>> The error annotations in NetBeans for JConsole project, I guess, are
>> result of a NB bug, because the build runs without error.
> AFAIK, there are two compilers in NetBeans. A "standard" javac that is
> used for the full builds and a patched version that runs while you
> edit. If I understand your screenshot then your issue is with the
> latter. Someone more familiar with the environment may know how to
> configure it and I'm sure someone on nb-projects-dev will be able to
> help.
>
>>
>> The hg support from NetBeans didn't work, because the local .hg
>> repository wasn't existent, so I created it by "Create Repository".
>> After this, I think, I should commit the WC into it, but I hesitate,
>> because I don't want to have an additional 250 MB copy of the whole
>> jdk on my harddisk. I have to be economic with diskspace. I would be
>> happy, if there would be a way, only to push the parts in the
>> repository which I'm working on. Do you have some hint, how to solve
>> this problem? Does it work, if I only commit the folder, which I'm
>> working on?
>> I also did a clone of http://hg.openjdk.java.net/jdk7/jdk7. This
>> clone only contained some few make files, so I don't know what to do
>> with it.
> OpenJDK uses the forest extension so to get all the repositories you
> need to "fclone" jdk7/jdk7 (not "clone"). However, if disk space is a
> problem and it sounds like you are only interested in the jdk
> repository then you could clone jdk7/jdk7/jdk. You might want to read
> through the developers guide to get familiar with the trees in the
> forest. Once you have a clone then you shouldn't need to "Create
> Repository" (which I assume is the GUI equivalent of "hg init"). I
> don't know if it possible to work with partial repositories but
> Mercurial seems to be very efficient in storage terms.
>
> -Alan.
>
"Mercurial seems to be very efficient in storage terms" , but as I
understand write, diskspace for the local repository (which includes all
history) can't be smaller as the WC itself.
-Ulf
From Kelly.Ohair at Sun.COM Wed Mar 25 11:16:40 2009
From: Kelly.Ohair at Sun.COM (Kelly O'Hair)
Date: Wed, 25 Mar 2009 11:16:40 -0700
Subject: Setup OpenJDK Netbeans project - Mercurial - Please help!
In-Reply-To: <49C964F2.1040801@gmx.de>
References: <49C16E46.9040609@sun.com> <49C23DE2.5010901@gmx.de>
<49C23FA2.4000409@sun.com> <49C2BE03.1040700@gmx.de>
<49C4170C.9060601@sun.com> <49C5F290.6070801@gmx.de>
<49C964F2.1040801@gmx.de>
Message-ID: <49CA7508.3000303@sun.com>
If you are going to use Mercurial I would highly advise reading the
Mercurial Book at http://hgbook.red-bean.com/hgbook.html
at least the first few chapters. It's nothing like SVN.
OpenJDK is a forest of repositories. A small top repository
and up to 6 sub repositories.
You can work with a partial forest, e.g. the top repository
and just one of the sub repositories, like 'jdk' or 'langtools'.
It depends on what you are trying to do.
But there is no concept of a partial repository or being able to
just work with and commit to a subset of the larger jdk repository,
Mercurial just doesn't have that feature and most people have learned
to live without it, with little pain. I myself prefer that Mercurial
NOT have this ability, it creates too many variations and risks.
If you haven't got enough room for a jdk repository (0.5Gb?), you probably
shouldn't be working on it with that machine.
The forest extension (fclone) is talked about here:
http://www.selenic.com/mercurial/wiki/index.cgi/ForestExtension
Also see:
http://openjdk.java.net/guide/repositories.html#installConfig
NetBeans may not work horribly well with a forest (or a nested
repository situation), but my NetBeans experience is just on one
repository at a time.
-kto
Ulf Zibis wrote:
> Hi All,
>
> I've downloaded the b51 snapshot sources. I see some .hg* files, but
> can't get connected to the OpenJDK repository
>
> How to make this a working Mercurial Working Copy?
>
> Please see my problem in the attachment.
>
> I thought, the hg support from NetBeans didn't work, because the local
> .hg repository wasn't existent, so I created it by "Create Repository".
> After this, I think, I should commit the WC files into it, but I
> hesitate, because I don't want to have an additional 250 MB copy of the
> whole jdk on my harddisk. I have to be economic with diskspace (60 GB).
> I would be happy, if there would be a way, only to push the parts in the
> repository which I'm working on (sun.nio.cs). Do you have some hint, how
> to solve this problem? Does it work, if I only commit the folder, which
> I'm working on?
> I also did a clone of http://hg.openjdk.java.net/jdk7/jdk7 which created
> folder "jdk". This clone only contained some few make files, so I don't
> know what to do with it.
>
> Alan said, I should use fclone. I don't see how to invoke fclone from
> NetBeans. Also I don't find any information about fclone on
> http://www.selenic.com/mercurial/wiki/index.cgi/Mercurial.
>
> Additionally I've installed TortoiseHG.
>
>
> Thanks in advance,
>
> Ulf
>
>
>
> ------------------------------------------------------------------------
>
From Kelly.Ohair at Sun.COM Wed Mar 25 12:34:47 2009
From: Kelly.Ohair at Sun.COM (Kelly O'Hair)
Date: Wed, 25 Mar 2009 12:34:47 -0700
Subject: Setup OpenJDK Netbeans project - Please help!
In-Reply-To: <49C96652.5040904@gmx.de>
References: <49C16E46.9040609@sun.com> <49C23DE2.5010901@gmx.de>
<49C23FA2.4000409@sun.com> <49C2BE03.1040700@gmx.de>
<49C4170C.9060601@sun.com> <49C5F290.6070801@gmx.de>
<49C69195.6050701@sun.com> <49C782E1.5060400@gmx.de>
<49C7983F.5010408@sun.com> <49C96652.5040904@gmx.de>
Message-ID: <49CA8757.4060208@sun.com>
Ulf Zibis wrote:
> Am 23.03.2009 15:10, Alan Bateman schrieb:
>> Ulf Zibis wrote:
>>> :
>>> Thanks Alan.
>>> I hesitated to post to nb-projects-dev at openjdk.java.net, because
>>> there was no traffic since August 2008. But I'll give it a try.
>>>
>>> The error annotations in NetBeans for JConsole project, I guess, are
>>> result of a NB bug, because the build runs without error.
>> AFAIK, there are two compilers in NetBeans. A "standard" javac that is
>> used for the full builds and a patched version that runs while you
>> edit. If I understand your screenshot then your issue is with the
>> latter. Someone more familiar with the environment may know how to
>> configure it and I'm sure someone on nb-projects-dev will be able to
>> help.
>>
>>>
>>> The hg support from NetBeans didn't work, because the local .hg
>>> repository wasn't existent, so I created it by "Create Repository".
>>> After this, I think, I should commit the WC into it, but I hesitate,
>>> because I don't want to have an additional 250 MB copy of the whole
>>> jdk on my harddisk. I have to be economic with diskspace. I would be
>>> happy, if there would be a way, only to push the parts in the
>>> repository which I'm working on. Do you have some hint, how to solve
>>> this problem? Does it work, if I only commit the folder, which I'm
>>> working on?
>>> I also did a clone of http://hg.openjdk.java.net/jdk7/jdk7. This
>>> clone only contained some few make files, so I don't know what to do
>>> with it.
>> OpenJDK uses the forest extension so to get all the repositories you
>> need to "fclone" jdk7/jdk7 (not "clone"). However, if disk space is a
>> problem and it sounds like you are only interested in the jdk
>> repository then you could clone jdk7/jdk7/jdk. You might want to read
>> through the developers guide to get familiar with the trees in the
>> forest. Once you have a clone then you shouldn't need to "Create
>> Repository" (which I assume is the GUI equivalent of "hg init"). I
>> don't know if it possible to work with partial repositories but
>> Mercurial seems to be very efficient in storage terms.
>>
>> -Alan.
>>
>
> "Mercurial seems to be very efficient in storage terms" , but as I
> understand write, diskspace for the local repository (which includes all
> history) can't be smaller as the WC itself.
My jdk repository
<44> du -k -s .hg
110796 .hg
<45> du -k -s .
340236 .
The working set files take up 230Mb, the repository data only 110Mb
because it is compressed.
You are always free to trim and cut out large parts of the working set
files, they are 'working set files', you just have to be careful that
Mercurial doesn't bring them all back when you run 'hg update'.
Also, if you ask Mercurial with a 'hg status' it will indicate that
there are missing files and may expect you to bring them back
with an 'hg update' or tell Mercurial that you want to remove them
with an 'hg rm', and the 'hg rm' would be a major mistake.
-kto
>
> -Ulf
>
>
>
From Ulf.Zibis at gmx.de Wed Mar 25 14:33:16 2009
From: Ulf.Zibis at gmx.de (Ulf Zibis)
Date: Wed, 25 Mar 2009 22:33:16 +0100
Subject: Setup OpenJDK Netbeans project - Mercurial - Please help!
In-Reply-To: <49CA7508.3000303@sun.com>
References: <49C16E46.9040609@sun.com> <49C23DE2.5010901@gmx.de>
<49C23FA2.4000409@sun.com> <49C2BE03.1040700@gmx.de>
<49C4170C.9060601@sun.com> <49C5F290.6070801@gmx.de>
<49C964F2.1040801@gmx.de> <49CA7508.3000303@sun.com>
Message-ID: <49CAA31C.9030309@gmx.de>
Hi Kelly,
thanks for your answer.
-- Thanks to Alan, finding somebody for answer.
Look my working set in the attachment, downloaded from
http://download.java.net/openjdk/jdk7/ (build b51).
- .hgtags contains entries up to jdk7-b50
I additionally have downloaded tip.tar.bz2 from
http://hg.openjdk.java.net/jdk7/tl/jdk/
- .hgtags additionally contains entry for jdk7-b51
So, what should I do next?
Should I create local repository ".hg", and commit my working set to it,
maybe first deleting corba etc. folders?
... or should I better extract my working set from tip.tar.bz2
On http://openjdk.java.net/guide/repositories.html#installConfig I read,
I should install the Forest Extension.
On http://www.selenic.com/mercurial/wiki/index.cgi/ForestExtension I read:
Download site: public development repository
. (There's a newer version
that should
work against post-1.0 releases.)
I've downloaded the "newer version", which simply contains
hgforest-crew-872a57531db6.out. What should I do with that, so I have
"installed" it?
See my Mercurial install dir in attachment. (TortoiseHG is said to
contain command line Mercurial 1.2.1)
On http://hg.akoha.org/hgforest/ I see, that there is a fix for Fix for
Mercurial 1.2, but I don't know if it's included in "newer version".
Thanks in advance for additional help.
-Ulf
Am 25.03.2009 19:16, Kelly O'Hair schrieb:
>
> If you are going to use Mercurial I would highly advise reading the
> Mercurial Book at http://hgbook.red-bean.com/hgbook.html
> at least the first few chapters. It's nothing like SVN.
>
> OpenJDK is a forest of repositories. A small top repository
> and up to 6 sub repositories.
> You can work with a partial forest, e.g. the top repository
> and just one of the sub repositories, like 'jdk' or 'langtools'.
> It depends on what you are trying to do.
>
> But there is no concept of a partial repository or being able to
> just work with and commit to a subset of the larger jdk repository,
> Mercurial just doesn't have that feature and most people have learned
> to live without it, with little pain. I myself prefer that Mercurial
> NOT have this ability, it creates too many variations and risks.
>
> If you haven't got enough room for a jdk repository (0.5Gb?), you
> probably
> shouldn't be working on it with that machine.
>
> The forest extension (fclone) is talked about here:
> http://www.selenic.com/mercurial/wiki/index.cgi/ForestExtension
>
> Also see:
> http://openjdk.java.net/guide/repositories.html#installConfig
>
> NetBeans may not work horribly well with a forest (or a nested
> repository situation), but my NetBeans experience is just on one
> repository at a time.
>
> -kto
>
> Ulf Zibis wrote:
>> Hi All,
>>
>> I've downloaded the b51 snapshot sources. I see some .hg* files, but
>> can't get connected to the OpenJDK repository
>>
>> How to make this a working Mercurial Working Copy?
>>
>> Please see my problem in the attachment.
>>
>> I thought, the hg support from NetBeans didn't work, because the
>> local .hg repository wasn't existent, so I created it by "Create
>> Repository". After this, I think, I should commit the WC files into
>> it, but I hesitate, because I don't want to have an additional 250 MB
>> copy of the whole jdk on my harddisk. I have to be economic with
>> diskspace (60 GB). I would be happy, if there would be a way, only to
>> push the parts in the repository which I'm working on (sun.nio.cs).
>> Do you have some hint, how to solve this problem? Does it work, if I
>> only commit the folder, which I'm working on?
>> I also did a clone of http://hg.openjdk.java.net/jdk7/jdk7 which
>> created folder "jdk". This clone only contained some few make files,
>> so I don't know what to do with it.
>>
>> Alan said, I should use fclone. I don't see how to invoke fclone from
>> NetBeans. Also I don't find any information about fclone on
>> http://www.selenic.com/mercurial/wiki/index.cgi/Mercurial.
>>
>> Additionally I've installed TortoiseHG.
>>
>>
>> Thanks in advance,
>>
>> Ulf
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nb-projects-dev/attachments/20090325/c4a40630/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenJDK - work set.jpg
Type: image/jpeg
Size: 13292 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/nb-projects-dev/attachments/20090325/c4a40630/attachment.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenJDK - Mercurial Install dir.jpg
Type: image/jpeg
Size: 16383 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/nb-projects-dev/attachments/20090325/c4a40630/attachment-0001.jpg
From Ulf.Zibis at gmx.de Thu Mar 26 02:42:35 2009
From: Ulf.Zibis at gmx.de (Ulf Zibis)
Date: Thu, 26 Mar 2009 10:42:35 +0100
Subject: Setup OpenJDK Netbeans project - Mercurial - Please help!
In-Reply-To: <49CAA31C.9030309@gmx.de>
References: <49C16E46.9040609@sun.com>
<49C23DE2.5010901@gmx.de> <49C23FA2.4000409@sun.com>
<49C2BE03.1040700@gmx.de> <49C4170C.9060601@sun.com>
<49C5F290.6070801@gmx.de> <49C964F2.1040801@gmx.de>
<49CA7508.3000303@sun.com> <49CAA31C.9030309@gmx.de>
Message-ID: <49CB4E0B.3020805@gmx.de>
Correction ...
Am 25.03.2009 22:33, Ulf Zibis schrieb:
> Look my working set in the attachment, downloaded from
> http://download.java.net/openjdk/jdk7/ (build b51).
> - .hgtags contains entries up to jdk7-b50
> I additionally have downloaded tip.tar.bz2 from
> http://hg.openjdk.java.net/jdk7/tl/jdk/
> - .hgtags additionally contains entry for jdk7-b51
Becoming more familiar, I see that I've been under the misapprehension,
that I could just unpack the downloaded archive from
http://hg.openjdk.java.net/jdk7/tl/jdk/ to have a local clone of that
repository. I was in hope to save network traffic with a highly
compressed archive in contrast to get the clone "file by file".
But my questions about the Forest Extension remain:
>
> On http://openjdk.java.net/guide/repositories.html#installConfig I
> read, I should install the Forest Extension.
>
> On http://www.selenic.com/mercurial/wiki/index.cgi/ForestExtension I read:
> Download site: public development repository
> . (There's a newer version
> that should
> work against post-1.0 releases.)
> I've downloaded the "newer version", which simply contains
> hgforest-crew-872a57531db6.out. What should I do with that, so I have
> "installed" it?
> See my Mercurial install dir in attachment. (TortoiseHG is said to
> contain command line Mercurial 1.2.1)
>
> On http://hg.akoha.org/hgforest/ I see, that there is a fix for Fix
> for Mercurial 1.2, but I don't know if it's included in "newer version".
>
> Thanks in advance for additional help.
>
> -Ulf
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nb-projects-dev/attachments/20090326/f79cacc9/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 16383 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/nb-projects-dev/attachments/20090326/f79cacc9/attachment.jpe
From Kelly.Ohair at Sun.COM Thu Mar 26 14:16:34 2009
From: Kelly.Ohair at Sun.COM (Kelly O'Hair)
Date: Thu, 26 Mar 2009 14:16:34 -0700
Subject: Setup OpenJDK Netbeans project - Mercurial - Please help!
In-Reply-To: <49CB4E0B.3020805@gmx.de>
References: <49C16E46.9040609@sun.com> <49C23DE2.5010901@gmx.de>
<49C23FA2.4000409@sun.com> <49C2BE03.1040700@gmx.de>
<49C4170C.9060601@sun.com> <49C5F290.6070801@gmx.de>
<49C964F2.1040801@gmx.de>
<49CA7508.3000303@sun.com> <49CAA31C.9030309@gmx.de>
<49CB4E0B.3020805@gmx.de>
Message-ID: <49CBF0B2.1000005@sun.com>
I use the newer (bitbucket) forest.py with Mercurial 1.2 on my Mac and it
seems to work fine.
I do this:
mkdir ${HOME}/hgws
cd ${HOME}/hgws
hg clone http://bitbucket.org/pmezard/hgforest-crew hgforest
Then add these lines to your ~/.hgrc file:
[extensions]
forest = ${HOME}/hgws/hgforest/forest.py
You may need to expand the ${HOME} to the real location in the ~/.hgrc file.
-kto
Ulf Zibis wrote:
> Correction ...
>
> Am 25.03.2009 22:33, Ulf Zibis schrieb:
>> Look my working set in the attachment, downloaded from
>> http://download.java.net/openjdk/jdk7/ (build b51).
>> - .hgtags contains entries up to jdk7-b50
>> I additionally have downloaded tip.tar.bz2 from
>> http://hg.openjdk.java.net/jdk7/tl/jdk/
>> - .hgtags additionally contains entry for jdk7-b51
>
> Becoming more familiar, I see that I've been under the misapprehension,
> that I could just unpack the downloaded archive from
> http://hg.openjdk.java.net/jdk7/tl/jdk/ to have a local clone of that
> repository. I was in hope to save network traffic with a highly
> compressed archive in contrast to get the clone "file by file".
>
>
> But my questions about the Forest Extension remain:
>
>>
>> On http://openjdk.java.net/guide/repositories.html#installConfig I
>> read, I should install the Forest Extension.
>>
>> On http://www.selenic.com/mercurial/wiki/index.cgi/ForestExtension I read:
>> Download site: public development repository
>> . (There's a newer version
>> that should
>> work against post-1.0 releases.)
>> I've downloaded the "newer version", which simply contains
>> hgforest-crew-872a57531db6.out. What should I do with that, so I have
>> "installed" it?
>> See my Mercurial install dir in attachment. (TortoiseHG is said to
>> contain command line Mercurial 1.2.1)
>>
>> On http://hg.akoha.org/hgforest/ I see, that there is a fix for Fix
>> for Mercurial 1.2, but I don't know if it's included in "newer version".
>>
>> Thanks in advance for additional help.
>>
>> -Ulf
>>
>>
From Ulf.Zibis at gmx.de Thu Mar 26 14:32:13 2009
From: Ulf.Zibis at gmx.de (Ulf Zibis)
Date: Thu, 26 Mar 2009 22:32:13 +0100
Subject: Setup OpenJDK Netbeans project - Mercurial - Please help!
In-Reply-To: <49CBF0B2.1000005@sun.com>
References: <49C16E46.9040609@sun.com> <49C23DE2.5010901@gmx.de>
<49C23FA2.4000409@sun.com> <49C2BE03.1040700@gmx.de>
<49C4170C.9060601@sun.com> <49C5F290.6070801@gmx.de>
<49C964F2.1040801@gmx.de> <49CA7508.3000303@sun.com>
<49CAA31C.9030309@gmx.de> <49CB4E0B.3020805@gmx.de>
<49CBF0B2.1000005@sun.com>
Message-ID: <49CBF45D.80305@gmx.de>
Hi Kelly,
thanks for the link.
I guess, you mean C:\Programme\TortoiseHg\hgforest\forest.py in my
Windows case. Am I right ?
Or do you mean C:\Programme\TortoiseHg\hgws\hgforest\forest.py in my case ?
Maybe C:\Programme\TortoiseHg\extentions\forest.py would be also good
idea, to be open for other extensions, and to avoid overwhelming the hg
installdir. What do you think?
-Ulf
Am 26.03.2009 22:16, Kelly O'Hair schrieb:
>
> I use the newer (bitbucket) forest.py with Mercurial 1.2 on my Mac and it
> seems to work fine.
>
> I do this:
> mkdir ${HOME}/hgws
> cd ${HOME}/hgws
> hg clone http://bitbucket.org/pmezard/hgforest-crew hgforest
>
> Then add these lines to your ~/.hgrc file:
> [extensions]
> forest = ${HOME}/hgws/hgforest/forest.py
>
> You may need to expand the ${HOME} to the real location in the ~/.hgrc
> file.
>
> -kto
>
>
> Ulf Zibis wrote:
>> Correction ...
>>
>> Am 25.03.2009 22:33, Ulf Zibis schrieb:
>>> Look my working set in the attachment, downloaded from
>>> http://download.java.net/openjdk/jdk7/ (build b51).
>>> - .hgtags contains entries up to jdk7-b50
>>> I additionally have downloaded tip.tar.bz2 from
>>> http://hg.openjdk.java.net/jdk7/tl/jdk/
>>> - .hgtags additionally contains entry for jdk7-b51
>>
>> Becoming more familiar, I see that I've been under the
>> misapprehension, that I could just unpack the downloaded archive from
>> http://hg.openjdk.java.net/jdk7/tl/jdk/ to have a local clone of that
>> repository. I was in hope to save network traffic with a highly
>> compressed archive in contrast to get the clone "file by file".
>>
>>
>> But my questions about the Forest Extension remain:
>>
>>>
>>> On http://openjdk.java.net/guide/repositories.html#installConfig I
>>> read, I should install the Forest Extension.
>>>
>>> On http://www.selenic.com/mercurial/wiki/index.cgi/ForestExtension I
>>> read:
>>> Download site: public development repository
>>> . (There's a newer version
>>> that
>>> should work against post-1.0 releases.)
>>> I've downloaded the "newer version", which simply contains
>>> hgforest-crew-872a57531db6.out. What should I do with that, so I
>>> have "installed" it?
>>> See my Mercurial install dir in attachment. (TortoiseHG is said to
>>> contain command line Mercurial 1.2.1)
>>>
>>> On http://hg.akoha.org/hgforest/ I see, that there is a fix for Fix
>>> for Mercurial 1.2, but I don't know if it's included in "newer
>>> version".
>>>
>>> Thanks in advance for additional help.
>>>
>>> -Ulf
>>>
>>>
>
>
From Ulf.Zibis at gmx.de Fri Mar 27 02:00:23 2009
From: Ulf.Zibis at gmx.de (Ulf Zibis)
Date: Fri, 27 Mar 2009 10:00:23 +0100
Subject: Setup OpenJDK Netbeans project - Mercurial - Please help!
In-Reply-To: <49CC02E6.80907@sun.com>
References: <49C16E46.9040609@sun.com> <49C23DE2.5010901@gmx.de>
<49C23FA2.4000409@sun.com> <49C2BE03.1040700@gmx.de>
<49C4170C.9060601@sun.com> <49C5F290.6070801@gmx.de>
<49C964F2.1040801@gmx.de> <49CA7508.3000303@sun.com>
<49CAA31C.9030309@gmx.de> <49CB4E0B.3020805@gmx.de>
<49CBF0B2.1000005@sun.com> <49CBF45D.80305@gmx.de>
<49CC02E6.80907@sun.com>
Message-ID: <49CC95A7.8040804@gmx.de>
Hi all,
I've problems to find location of/for ~/.hgrc file. I don't find it
anywhere.
What you mean by ${HOME} on (german) Windows?
- installdir: C:\Programme\TortoiseHg\
- user settings: C:\Dokumente und
Einstellungen\user\Anwendungsdaten\TortoiseHg\
hg showconfig results:
C:\Dokumente und Einstellungen\user\Anwendungsdaten\TortoiseHg>hg showconfig
extdiff.cmd.vdiff=C:\\Programme\\TortoiseHg\\kdiff3
extensions.extdiff=
merge-tools.beyondcompare3.args=$local $other $base $output /ro
/lefttitle=local
/centerfile=base /righttitle=other /automerge /reviewconflicts /solo
merge-tools.beyondcompare3.gui=True
merge-tools.beyondcompare3.priority=-2
merge-tools.beyondcompare3.regkey=Software\\Scooter Software\\Beyond
Compare 3
merge-tools.beyondcompare3.regname=ExePath
merge-tools.diffmerge.args=--nosplash --merge --title1=base
--title2=local --tit
le3=other $base $local $other
merge-tools.diffmerge.checkchanged=True
merge-tools.diffmerge.gui=True
merge-tools.diffmerge.priority=-7
merge-tools.kdiff3.args=-L1 base --L2 local --L3 other $base $local
$other -o $o
utput
merge-tools.kdiff3.fixeol=True
merge-tools.kdiff3.gui=True
merge-tools.kdiff3.priority=-1
merge-tools.kdiff3.regappend=\\kdiff3.exe
merge-tools.kdiff3.regkey=Software\\KDiff3
merge-tools.p4merge.args=$base $local $other $output
merge-tools.p4merge.gui=True
merge-tools.p4merge.priority=-8
merge-tools.p4merge.regappend=\\p4merge.exe
merge-tools.p4merge.regkey=Software\\Perforce\\Environment
merge-tools.p4merge.regname=P4INSTROOT
merge-tools.tortoisemerge.args=/base:$output /mine:$local /theirs:$other
/merged
:$output
merge-tools.tortoisemerge.gui=True
merge-tools.tortoisemerge.priority=-9
merge-tools.tortoisemerge.regkey=Software\\TortoiseSVN
merge-tools.winmergeu.args=/e /ub /dl other /dr local $other $local $output
merge-tools.winmergeu.fixeol=True
merge-tools.winmergeu.gui=True
merge-tools.winmergeu.priority=-10
merge-tools.winmergeu.regkey=Software\\Thingamahoochie\\WinMerge\\
merge-tools.winmergeu.regname=Executable
ui.editor=notepad
ui.ssh="C:\\Programme\\TortoiseHg\\TortoisePlink.exe" -ssh -2
ui.username=UlfZibis
Please give me some more hints.
-Ulf
Am 26.03.2009 23:34, Kelly O'Hair schrieb:
>
> I have no idea about TortoiseHg. I get the forest.py extension
> directly from bitbucket.org so I know I have the latest one.
> What gets shipped in TortoiseHg should work but I have no idea
> what version it is.
> The forest.py is just a text file, you can diff the one you have
> with the bitbucket.org one to see if it differs at all.
>
> Watch out for TortoiseHg, it seems to enable many more hg extensions
> than most people need by default. It should work fine, but I don't
> like having lots of hg extensions I don't need enabled.
>
> Run 'hg showconfig' to see what extensions you have enabled.
>
> -kto
>
> Ulf Zibis wrote:
>> Hi Kelly,
>>
>> thanks for the link.
>>
>> I guess, you mean C:\Programme\TortoiseHg\hgforest\forest.py in my
>> Windows case. Am I right ?
>> Or do you mean C:\Programme\TortoiseHg\hgws\hgforest\forest.py in my
>> case ?
>> Maybe C:\Programme\TortoiseHg\extentions\forest.py would be also good
>> idea, to be open for other extensions, and to avoid overwhelming the
>> hg installdir. What do you think?
>>
>> -Ulf
>>
>>
>>
>> Am 26.03.2009 22:16, Kelly O'Hair schrieb:
>>>
>>> I use the newer (bitbucket) forest.py with Mercurial 1.2 on my Mac
>>> and it
>>> seems to work fine.
>>>
>>> I do this:
>>> mkdir ${HOME}/hgws
>>> cd ${HOME}/hgws
>>> hg clone http://bitbucket.org/pmezard/hgforest-crew hgforest
>>>
>>> Then add these lines to your ~/.hgrc file:
>>> [extensions]
>>> forest = ${HOME}/hgws/hgforest/forest.py
>>>
>>> You may need to expand the ${HOME} to the real location in the
>>> ~/.hgrc file.
>>>
>>> -kto
>>>
>>>
>
From Kelly.Ohair at Sun.COM Fri Mar 27 09:25:06 2009
From: Kelly.Ohair at Sun.COM (Kelly O'Hair)
Date: Fri, 27 Mar 2009 09:25:06 -0700
Subject: Setup OpenJDK Netbeans project - Mercurial - Please help!
In-Reply-To: <49CC95A7.8040804@gmx.de>
References: <49C16E46.9040609@sun.com> <49C23DE2.5010901@gmx.de>
<49C23FA2.4000409@sun.com> <49C2BE03.1040700@gmx.de>
<49C4170C.9060601@sun.com> <49C5F290.6070801@gmx.de>
<49C964F2.1040801@gmx.de>
<49CA7508.3000303@sun.com> <49CAA31C.9030309@gmx.de>
<49CB4E0B.3020805@gmx.de>
<49CBF0B2.1000005@sun.com> <49CBF45D.80305@gmx.de>
<49CC02E6.80907@sun.com> <49CC95A7.8040804@gmx.de>
Message-ID: <49CCFDE2.7090003@sun.com>
I'm not a TortoiseHg user and don't do much direct development on Windows.
I think on Windows the equivalent to ~/.hgrc is Mercurial.ini.
You need to do some reading on Mercurial, TortoiseHg, etc., try:
http://www.selenic.com/mercurial/wiki/
http://www.selenic.com/mercurial/wiki/index.cgi/Tutorial
http://www.selenic.com/mercurial/hgrc.5.html
http://hgbook.red-bean.com/read/
-kto
Ulf Zibis wrote:
> Hi all,
>
> I've problems to find location of/for ~/.hgrc file. I don't find it
> anywhere.
>
> What you mean by ${HOME} on (german) Windows?
> - installdir: C:\Programme\TortoiseHg\
> - user settings: C:\Dokumente und
> Einstellungen\user\Anwendungsdaten\TortoiseHg\
>
> hg showconfig results:
>
> C:\Dokumente und Einstellungen\user\Anwendungsdaten\TortoiseHg>hg
> showconfig
> extdiff.cmd.vdiff=C:\\Programme\\TortoiseHg\\kdiff3
> extensions.extdiff=
> merge-tools.beyondcompare3.args=$local $other $base $output /ro
> /lefttitle=local
> /centerfile=base /righttitle=other /automerge /reviewconflicts /solo
> merge-tools.beyondcompare3.gui=True
> merge-tools.beyondcompare3.priority=-2
> merge-tools.beyondcompare3.regkey=Software\\Scooter Software\\Beyond
> Compare 3
> merge-tools.beyondcompare3.regname=ExePath
> merge-tools.diffmerge.args=--nosplash --merge --title1=base
> --title2=local --tit
> le3=other $base $local $other
> merge-tools.diffmerge.checkchanged=True
> merge-tools.diffmerge.gui=True
> merge-tools.diffmerge.priority=-7
> merge-tools.kdiff3.args=-L1 base --L2 local --L3 other $base $local
> $other -o $o
> utput
> merge-tools.kdiff3.fixeol=True
> merge-tools.kdiff3.gui=True
> merge-tools.kdiff3.priority=-1
> merge-tools.kdiff3.regappend=\\kdiff3.exe
> merge-tools.kdiff3.regkey=Software\\KDiff3
> merge-tools.p4merge.args=$base $local $other $output
> merge-tools.p4merge.gui=True
> merge-tools.p4merge.priority=-8
> merge-tools.p4merge.regappend=\\p4merge.exe
> merge-tools.p4merge.regkey=Software\\Perforce\\Environment
> merge-tools.p4merge.regname=P4INSTROOT
> merge-tools.tortoisemerge.args=/base:$output /mine:$local /theirs:$other
> /merged
> :$output
> merge-tools.tortoisemerge.gui=True
> merge-tools.tortoisemerge.priority=-9
> merge-tools.tortoisemerge.regkey=Software\\TortoiseSVN
> merge-tools.winmergeu.args=/e /ub /dl other /dr local $other $local $output
> merge-tools.winmergeu.fixeol=True
> merge-tools.winmergeu.gui=True
> merge-tools.winmergeu.priority=-10
> merge-tools.winmergeu.regkey=Software\\Thingamahoochie\\WinMerge\\
> merge-tools.winmergeu.regname=Executable
> ui.editor=notepad
> ui.ssh="C:\\Programme\\TortoiseHg\\TortoisePlink.exe" -ssh -2
> ui.username=UlfZibis
>
> Please give me some more hints.
>
> -Ulf
>
>
> Am 26.03.2009 23:34, Kelly O'Hair schrieb:
>>
>> I have no idea about TortoiseHg. I get the forest.py extension
>> directly from bitbucket.org so I know I have the latest one.
>> What gets shipped in TortoiseHg should work but I have no idea
>> what version it is.
>> The forest.py is just a text file, you can diff the one you have
>> with the bitbucket.org one to see if it differs at all.
>>
>> Watch out for TortoiseHg, it seems to enable many more hg extensions
>> than most people need by default. It should work fine, but I don't
>> like having lots of hg extensions I don't need enabled.
>>
>> Run 'hg showconfig' to see what extensions you have enabled.
>>
>> -kto
>>
>> Ulf Zibis wrote:
>>> Hi Kelly,
>>>
>>> thanks for the link.
>>>
>>> I guess, you mean C:\Programme\TortoiseHg\hgforest\forest.py in my
>>> Windows case. Am I right ?
>>> Or do you mean C:\Programme\TortoiseHg\hgws\hgforest\forest.py in my
>>> case ?
>>> Maybe C:\Programme\TortoiseHg\extentions\forest.py would be also good
>>> idea, to be open for other extensions, and to avoid overwhelming the
>>> hg installdir. What do you think?
>>>
>>> -Ulf
>>>
>>>
>>>
>>> Am 26.03.2009 22:16, Kelly O'Hair schrieb:
>>>>
>>>> I use the newer (bitbucket) forest.py with Mercurial 1.2 on my Mac
>>>> and it
>>>> seems to work fine.
>>>>
>>>> I do this:
>>>> mkdir ${HOME}/hgws
>>>> cd ${HOME}/hgws
>>>> hg clone http://bitbucket.org/pmezard/hgforest-crew hgforest
>>>>
>>>> Then add these lines to your ~/.hgrc file:
>>>> [extensions]
>>>> forest = ${HOME}/hgws/hgforest/forest.py
>>>>
>>>> You may need to expand the ${HOME} to the real location in the
>>>> ~/.hgrc file.
>>>>
>>>> -kto
>>>>
>>>>
>>
>
From Alan.Bateman at Sun.COM Fri Mar 27 09:34:03 2009
From: Alan.Bateman at Sun.COM (Alan Bateman)
Date: Fri, 27 Mar 2009 16:34:03 +0000
Subject: Setup OpenJDK Netbeans project - Mercurial - Please help!
In-Reply-To: <49CCFDE2.7090003@sun.com>
References: <49C16E46.9040609@sun.com> <49C23DE2.5010901@gmx.de>
<49C23FA2.4000409@sun.com> <49C2BE03.1040700@gmx.de>
<49C4170C.9060601@sun.com> <49C5F290.6070801@gmx.de>
<49C964F2.1040801@gmx.de>
<49CA7508.3000303@sun.com> <49CAA31C.9030309@gmx.de>
<49CB4E0B.3020805@gmx.de>
<49CBF0B2.1000005@sun.com> <49CBF45D.80305@gmx.de>
<49CC02E6.80907@sun.com>
<49CC95A7.8040804@gmx.de> <49CCFDE2.7090003@sun.com>
Message-ID: <49CCFFFB.7080205@sun.com>
Kelly O'Hair wrote:
> I'm not a TortoiseHg user and don't do much direct development on
> Windows.
>
> I think on Windows the equivalent to ~/.hgrc is Mercurial.ini.
>
> You need to do some reading on Mercurial, TortoiseHg, etc., try:
> http://www.selenic.com/mercurial/wiki/
> http://www.selenic.com/mercurial/wiki/index.cgi/Tutorial
> http://www.selenic.com/mercurial/hgrc.5.html
> http://hgbook.red-bean.com/read/
>
> -kto
I installed Mercurial (1.0.2) on Windows and added the forest extension
and it seems to work fine.
The .hgrc is in the $HOME directory (C:\Document and Settings\alanb in
my case):
[extensions]
forest=C:/hgforest/forest.py
It cloned our forest without any problem.
-Alan.
From Ulf.Zibis at gmx.de Fri Mar 27 15:05:35 2009
From: Ulf.Zibis at gmx.de (Ulf Zibis)
Date: Fri, 27 Mar 2009 23:05:35 +0100
Subject: Setup OpenJDK Netbeans project - Mercurial - Please help!
In-Reply-To: <49CCFDE2.7090003@sun.com>
References: <49C16E46.9040609@sun.com> <49C23DE2.5010901@gmx.de>
<49C23FA2.4000409@sun.com> <49C2BE03.1040700@gmx.de>
<49C4170C.9060601@sun.com> <49C5F290.6070801@gmx.de>
<49C964F2.1040801@gmx.de> <49CA7508.3000303@sun.com>
<49CAA31C.9030309@gmx.de> <49CB4E0B.3020805@gmx.de>
<49CBF0B2.1000005@sun.com> <49CBF45D.80305@gmx.de>
<49CC02E6.80907@sun.com> <49CC95A7.8040804@gmx.de>
<49CCFDE2.7090003@sun.com>
Message-ID: <49CD4DAF.10501@gmx.de>
Am 27.03.2009 17:25, Kelly O'Hair schrieb:
> I'm not a TortoiseHg user and don't do much direct development on
> Windows.
>
> I think on Windows the equivalent to ~/.hgrc is Mercurial.ini.
Thanks, this was the essential hint.
... and I discovered, that forest is just included in TortoiseHg and
could be enabled by removing a single ';' in Mercurial.ini. So I could
throw away all additional stuff from forest-crew. :-(
It remains, understanding, hoe forest works.
>
> You need to do some reading on Mercurial, TortoiseHg, etc., try:
> http://www.selenic.com/mercurial/wiki/
> http://www.selenic.com/mercurial/wiki/index.cgi/Tutorial
> http://www.selenic.com/mercurial/hgrc.5.html
> http://hgbook.red-bean.com/read/
I've now read a lot of this, so now I begin to understand.
-Ulf
>
> -kto
>
>
> Ulf Zibis wrote:
>> Hi all,
>>
>> I've problems to find location of/for ~/.hgrc file. I don't find it
>> anywhere.
>>
>> What you mean by ${HOME} on (german) Windows?
>> - installdir: C:\Programme\TortoiseHg\
>> - user settings: C:\Dokumente und
>> Einstellungen\user\Anwendungsdaten\TortoiseHg\
>>
>> hg showconfig results:
>>
>> C:\Dokumente und Einstellungen\user\Anwendungsdaten\TortoiseHg>hg
>> showconfig
>> extdiff.cmd.vdiff=C:\\Programme\\TortoiseHg\\kdiff3
>> extensions.extdiff=
>> merge-tools.beyondcompare3.args=$local $other $base $output /ro
>> /lefttitle=local
>> /centerfile=base /righttitle=other /automerge /reviewconflicts /solo
>> merge-tools.beyondcompare3.gui=True
>> merge-tools.beyondcompare3.priority=-2
>> merge-tools.beyondcompare3.regkey=Software\\Scooter Software\\Beyond
>> Compare 3
>> merge-tools.beyondcompare3.regname=ExePath
>> merge-tools.diffmerge.args=--nosplash --merge --title1=base
>> --title2=local --tit
>> le3=other $base $local $other
>> merge-tools.diffmerge.checkchanged=True
>> merge-tools.diffmerge.gui=True
>> merge-tools.diffmerge.priority=-7
>> merge-tools.kdiff3.args=-L1 base --L2 local --L3 other $base $local
>> $other -o $o
>> utput
>> merge-tools.kdiff3.fixeol=True
>> merge-tools.kdiff3.gui=True
>> merge-tools.kdiff3.priority=-1
>> merge-tools.kdiff3.regappend=\\kdiff3.exe
>> merge-tools.kdiff3.regkey=Software\\KDiff3
>> merge-tools.p4merge.args=$base $local $other $output
>> merge-tools.p4merge.gui=True
>> merge-tools.p4merge.priority=-8
>> merge-tools.p4merge.regappend=\\p4merge.exe
>> merge-tools.p4merge.regkey=Software\\Perforce\\Environment
>> merge-tools.p4merge.regname=P4INSTROOT
>> merge-tools.tortoisemerge.args=/base:$output /mine:$local
>> /theirs:$other /merged
>> :$output
>> merge-tools.tortoisemerge.gui=True
>> merge-tools.tortoisemerge.priority=-9
>> merge-tools.tortoisemerge.regkey=Software\\TortoiseSVN
>> merge-tools.winmergeu.args=/e /ub /dl other /dr local $other $local
>> $output
>> merge-tools.winmergeu.fixeol=True
>> merge-tools.winmergeu.gui=True
>> merge-tools.winmergeu.priority=-10
>> merge-tools.winmergeu.regkey=Software\\Thingamahoochie\\WinMerge\\
>> merge-tools.winmergeu.regname=Executable
>> ui.editor=notepad
>> ui.ssh="C:\\Programme\\TortoiseHg\\TortoisePlink.exe" -ssh -2
>> ui.username=UlfZibis
>>
>> Please give me some more hints.
>>
>> -Ulf
>>
>>
>> Am 26.03.2009 23:34, Kelly O'Hair schrieb:
>>>
>>> I have no idea about TortoiseHg. I get the forest.py extension
>>> directly from bitbucket.org so I know I have the latest one.
>>> What gets shipped in TortoiseHg should work but I have no idea
>>> what version it is.
>>> The forest.py is just a text file, you can diff the one you have
>>> with the bitbucket.org one to see if it differs at all.
>>>
>>> Watch out for TortoiseHg, it seems to enable many more hg extensions
>>> than most people need by default. It should work fine, but I don't
>>> like having lots of hg extensions I don't need enabled.
>>>
>>> Run 'hg showconfig' to see what extensions you have enabled.
>>>
>>> -kto
>>>
>>> Ulf Zibis wrote:
>>>> Hi Kelly,
>>>>
>>>> thanks for the link.
>>>>
>>>> I guess, you mean C:\Programme\TortoiseHg\hgforest\forest.py in my
>>>> Windows case. Am I right ?
>>>> Or do you mean C:\Programme\TortoiseHg\hgws\hgforest\forest.py in
>>>> my case ?
>>>> Maybe C:\Programme\TortoiseHg\extentions\forest.py would be also
>>>> good idea, to be open for other extensions, and to avoid
>>>> overwhelming the hg installdir. What do you think?
>>>>
>>>> -Ulf
>>>>
>>>>
>>>>
>>>> Am 26.03.2009 22:16, Kelly O'Hair schrieb:
>>>>>
>>>>> I use the newer (bitbucket) forest.py with Mercurial 1.2 on my Mac
>>>>> and it
>>>>> seems to work fine.
>>>>>
>>>>> I do this:
>>>>> mkdir ${HOME}/hgws
>>>>> cd ${HOME}/hgws
>>>>> hg clone http://bitbucket.org/pmezard/hgforest-crew hgforest
>>>>>
>>>>> Then add these lines to your ~/.hgrc file:
>>>>> [extensions]
>>>>> forest = ${HOME}/hgws/hgforest/forest.py
>>>>>
>>>>> You may need to expand the ${HOME} to the real location in the
>>>>> ~/.hgrc file.
>>>>>
>>>>> -kto
>>>>>
>>>>>
>>>
>>
>
>