Somewhat strange... I received the attachment with my mail coming back via the discuss list. Maybe some other list (build-dev?) removes attachments.

Ted Neward wrote:
I don't think the Makefile got attached.

Ted Neward
Java, .NET, XML Services
Consulting, Teaching, Speaking, Writing
http://www.tedneward.com
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:build-dev-
[EMAIL PROTECTED] On Behalf Of Kelly O'Hair
Sent: Wednesday, December 12, 2007 3:44 PM
To: Arnd-Hendrik Mathias
Cc: [EMAIL PROTECTED]; build-dev
Subject: Re: JDK 7 build 24 is available at the openjdk.java.net
website

Very nice... I haven't tried it yet, but that's very much what I was
thinking.

I'll have to defer the crypto question to the security guys...
hopefully they
are listing to the build-dev alias which I CC'd.

Thanks for sharing this.

-kto

Arnd-Hendrik Mathias wrote:
Hey Kelly,
many thanks for the download links you've given below. In case
someone
may be going to create a short wiki page about the hg-less download
and
extraction process, I've attached a Makefile which might be helpful
for
those trying to build from scratch. I've omitted the "building the
prerequisites" stuff (download, build and install Ant, JUnit,
bootstrap
JDK7 binaries and the binary plugins) because the Makefile shall
depict
the files needed to be downloaded, extracted and restructured/renamed
to
set up a working source tree. Most users won't re-install the
AntJUnitBootstrapJDK7BinaryPlugs boiling each time they build a new
OpenJDK snapshot anyway.

I recognized one other thing that prevents me from building
completely:
The "build" target of the /jdk7-jdk7-
b24/jdk/make/javax/crypto/Makefile
is empty which means that all directories/classes to be included in
the
/tmp/sun/javax.crypto/unsigned/jce.jar are removed by the prebuild
target but not rebuilt subsequently.
Is there a special trick, how to build the
tmp/sun/javax.crypto/classes/javax/crypto,
tmp/sun/javax.crypto/classes/sun/security/internal/interfaces and
tmp/sun/javax.crypto/classes/sun/security/internal/spec?
Best regards

Arnd-Hendrik


Kelly O'Hair wrote:
I had hoped that Mercurial would have provided some of this source
bundling
for free, but since we went with a forest, it's not ideal. It's only
done on a per-repository basis.

If you go to:
  http://hg.openjdk.java.net/jdk7/jdk7

At the top of the page are some 'zip' 'bz2' 'gz' links. These get
you
bundles, for example the default 'zip' link gets you the latest
changeset or
'tip' for this repository:
   http://hg.openjdk.java.net/jdk7/jdk7/archive/tip.zip

You can get bundles for any changeset number or even a tag, like
jdk7-b24:
   http://hg.openjdk.java.net/jdk7/jdk7/archive/jdk7-b24.zip

But as I said, with a forest, this isn't ideal, you'd need to
download
each repository, probably something like:
   http://hg.openjdk.java.net/jdk7/jdk7/archive/jdk7-b24.zip
   http://hg.openjdk.java.net/jdk7/jdk7/jdk/archive/jdk7-b24.zip
   http://hg.openjdk.java.net/jdk7/jdk7/corba/archive/jdk7-b24.zip
   http://hg.openjdk.java.net/jdk7/jdk7/jaxp/archive/jdk7-b24.zip
   http://hg.openjdk.java.net/jdk7/jdk7/jaxws/archive/jdk7-b24.zip
   http://hg.openjdk.java.net/jdk7/jdk7/hotspot/archive/jdk7-b24.zip
   http://hg.openjdk.java.net/jdk7/jdk7/langtools/archive/jdk7-
b24.zip
We need a forest 'zip' option that woould create a single zip file,
but I have no idea when that would ever happen.

-kto


Lillian Angel wrote:
Hi,

Will zipped bundles still be released? If not, could "make dist" be
implemented to create a zip/tarball based on the release tag?


Thanks,
Lillian


Xiomara Jayasena wrote:
The OpenJDK source is available at:
http://hg.openjdk.java.net/jdk7/jdk7
and the build 24 source is here:
http://hg.openjdk.java.net/jdk7/jdk7/rev/0a5c5386a678

The OpenJDK source binary plugs and Jtreg binary for the promoted
JDK 7 build 24 are available under the openjdk
http://openjdk.java.net website under Source Code (direct link to
bundles: http://download.java.net/openjdk/jdk7)

Summary of changes:
http://download.java.net/jdk7/changes/jdk7-b24.html

Thanks,
-Xiomara
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.17.1/1182 - Release Date:
12/12/2007 11:29 AM


No virus found in this outgoing message.
Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.17.1/1182 - Release Date: 12/12/2007
11:29 AM


# Makefile - for downloading unpacking and building the OpenJDK
# Written by Arnd-Hendrik Mathias mailto:[EMAIL PROTECTED]
# This file is written to ease the download, the unpacking and moving of
# the trees in the OpenJDK forest and the build process.

# Basic variables

PROJECT    := jdk7

REPOSITORY := http://hg.openjdk.java.net/jdk7/jdk7

CWD         := $(shell pwd)

# Configurable variables

TAG         := b24

ARCHIVE     := bz2

DOWNLOAD    := $(CWD)/archives

PLUGS       := $(CWD)/plugs/openjdk-binary-plugs

BOOT_VER    := 1.7.0

BOOT_DIR    := $(CWD)/jdk$(BOOT_VER)

INST_DIR    := /opt/jdk/openjdk-1.7.0_$(TAG)

ANT_HOME    := /opt/ant/apache-ant-1.7.0

UPDATE      := curl

MOVE        := mv

TOUCH       := touch

BUILD_CFG   += ALT_BINARY_PLUGS_PATH=$(PLUGS)
BUILD_CFG   += ALT_JDK_IMPORT_PATH=$(BOOT_DIR)
BUILD_CFG   += ALT_BOOTDIR=$(BOOT_DIR)
BUILD_CFG   += BOOT_VER=$(BOOT_VER)
#BUILD_CFG   += MAKE_VER=3.81
#BUILD_CFG   += ZIP_VER=2.32
#BUILD_CFG   += UNZIP_VER=5.52
#BUILD_CFG   += ARCH_DATA_MODEL=64
BUILD_CFG   += ALT_OUTPUTDIR=$(INST_DIR)
BUILD_CFG   += ANT_HOME=$(ANT_HOME)
BUILD_CFG   += BUILD_NUMBER=$(TAG)

# Internal temporary variables

AR_PACK_zip := unzip
AR_OPTS_zip := -q
AR_SFX_zip  := zip

AR_PACK_tar := tar
AR_OPTS_tar := xf
AR_SFX_tar  := tar

AR_PACK_gz  := tar
AR_OPTS_gz  := xzf
AR_SFX_gz   := tar.gz

AR_PACK_bz2 := tar
AR_OPTS_bz2 := xjf
AR_SFX_bz2  := tar.bz2

# Internal final variables

AR_PACK    := $(AR_PACK_$(ARCHIVE))
AR_OPTS    := $(AR_OPTS_$(ARCHIVE))
AR_SFX     := $(AR_SFX_$(ARCHIVE))

SUFFIX     := $(PROJECT)-$(TAG)

TOP_DIR    := $(PROJECT)-$(SUFFIX)

TOP_ARCH   := $(DOWNLOAD)/$(TOP_DIR).$(AR_SFX)

COMPONENTS := corba
COMPONENTS += hotspot
COMPONENTS += jaxp
COMPONENTS += jaxws
COMPONENTS += jdk
COMPONENTS += langtools

COMP_DIRS  := $(addprefix $(TOP_DIR)/,$(COMPONENTS))

COMP_ARCHS := $(addsuffix -$(SUFFIX).$(AR_SFX),$(COMPONENTS))
COMP_ARCHS := $(addprefix $(DOWNLOAD)/,$(COMP_ARCHS))

ARCHIVES   := $(TOP_ARCH)
ARCHIVES   += $(COMP_ARCHS)

.PHONY: download unpack build clean cleanall

download: $(ARCHIVES)

build unpack: $(TOP_DIR) $(COMP_DIRS)

build: $(BOOT_DIR) $(PLUGS) $(ANT_HOME)
        $(MAKE) -C $(TOP_DIR) $(BUILD_CFG) sanity all

clean:
        $(RM) -Rf $(TOP_DIR)

cleanall: clean
        $(RM) -Rf $(DOWNLOAD)

$(DOWNLOAD):
        mkdir $@

$(TOP_ARCH): $(DOWNLOAD)
        $(UPDATE) $(REPOSITORY)/archive/$(SUFFIX).$(AR_SFX) > $@

$(COMP_ARCHS): $(DOWNLOAD)/%-$(SUFFIX).$(AR_SFX): $(DOWNLOAD)
        $(UPDATE) $(REPOSITORY)/$*/archive/$(SUFFIX).$(AR_SFX) > $@

$(TOP_DIR): $(TOP_ARCH)
        $(AR_PACK) $(AR_OPTS) $<

$(COMP_DIRS): $(TOP_DIR)/%: $(DOWNLOAD)/%-$(SUFFIX).$(AR_SFX) $(TOP_DIR)
        $(AR_PACK) $(AR_OPTS) $<
        $(MOVE) $*-$(SUFFIX) $@
        $(TOUCH) $(TOP_DIR)/*

Reply via email to