Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated for Mercurial

Building the BSD port of OpenJDK, Java 1.7 on Max OS X 10.6.

...

4

This content began its life at http://confluence.concord.org/display/CCTR/Build+OpenJDK+Java+1.7.0+on+Mac+OS+X+10.5, but should be annotated and extended as we learn more. See the BSD-Port mailing list for information.

...

Code Block
$ /usr/local/soylatte16-i386-1.0.3/bin/java -version
java version "1.6.0_03-p3"
Java(TM) SE Runtime Environment (build 1.6.0_03-p3-landonf_19_aug_2008_14_55-b00)
Java HotSpot(TM) Server VM (build 1.6.0_03-p3-landonf_19_aug_2008_14_55-b00, mixed mode)

Mercurial

Assuming If you have MacPorts installed:

Code Block
$ sudo port install mercurial +bash_completion

Otherwise you will need to download the latest version and install it.

Test the mercurial install:

Code Block
$ hg --version
Mercurial Distributed SCM (version 1.1.2)

Copyright (C) 2005-2008 Matt Mackall <mpm@selenic.com> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Forest

...

Extension to Mercurial

Note: The Forest extension does not seem to be actively maintained as noted from the ForestExtension wiki page.

This is the canonical source for the Forest extension:

...

.

...

Note: Please use Patrick Mézard's clone of hgforest instead (just a couple of fixes to Simon's work):

...

After cloning hgforest-crew add an hgext.forest item with the path to hgforest-crew/forest.py in the extensions section in your ~/.hgrc file.

Here's my You will need to create a Mercurial configuration file called .hgrc in your home directory (~/.hgrc file). A minimum version requires the following:

Code Block
$ cat ~/.hgrc
[ui]
username = Stephen Bannasch <stephen.bannasch@gmail.com>
[extensions]
hgext.fetch=
forest=/Users/stephenShared/dev/mercurial/hgforest-crew/forest.py
mq=
hgk=
fetch=
[hgk]
path=/opt/local/share/mercurial/contrib/hgk
[diff]
nodates=1
git=1

If you have MacPorts installed, useor one may just do:

Code Block
$ sudo port install hg-forest
$ cat ~/.hgrc

[extensions]
forest=
fetch=

...

The build fails with the message: <code>FreeType version

Code Block
FreeType version  2.3.0  or higher is required.

...


Checkout the code using hg/forest.

...