That's true, I only quick-hacked and tested it in my Linux environment.
I tried to leave as many things configurable as possible but I don't know about pure Windows (non-cygwin) tools to replace e.g. curl. Command line options used in the target may be needed to be moved to the variable definition or replaced by extra _OPT variables (MV_OPT = -Rf ... $(MV) $(MV_OPT) ....) etc. Direction of slashes not only depends on the OS but rather on the tools (and especially the make version for windows e.g. often linked with lib-cygwin but often used from cmd.exe) used which means that windows-able makefiles often use a quite wild intermix of forward and backward slashes which in this case would not have helped the user to understand what's going on in there (which was my main intention). The complete task is to pull the sources, unpack them move and rename the different trees (since they are packed and downloaded using a different name) and then change to the project root and start the OpenJDK build. I simply forgot the "default: build" target.
Best regards

Arnd-Hendrik

Ted Neward wrote:

Just FYI, I noticed something about your Makefile; it assumes a Unix environment. :-)

Ted Neward

Java, .NET, XML Services

Consulting, Teaching, Speaking, Writing

http://www.tedneward.com

*From:* Arnd-Hendrik Mathias [mailto:[EMAIL PROTECTED]
*Sent:* Thursday, December 13, 2007 6:53 AM
*To:* Ted Neward
*Cc:* [EMAIL PROTECTED]; 'build-dev'
*Subject:* Re: JDK 7 build 24 is available at the openjdk.java.net website

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:[EMAIL PROTECTED]> [mailto:build-dev-

    [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>] On Behalf Of Kelly O'Hair

    Sent: Wednesday, December 12, 2007 3:44 PM

    To: Arnd-Hendrik Mathias

    Cc: [EMAIL PROTECTED] <mailto:[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
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/1183 - Release Date: 12/13/2007 9:15 AM

Reply via email to