Author: tellison Date: Mon Jan 16 12:41:00 2006 New Revision: 369566 URL: http://svn.apache.org/viewcvs?rev=369566&view=rev Log: Website updates: - added details for using binary snapshots - random enhancements to the source build layout Modified: incubator/harmony/standard/site/docs/documentation/build_classlib.html incubator/harmony/standard/site/xdocs/documentation/build_classlib.xml Modified: incubator/harmony/standard/site/docs/documentation/build_classlib.html URL: http://svn.apache.org/viewcvs/incubator/harmony/standard/site/docs/documentation/build_classlib.html?rev=369566&r1=369565&r2=369566&view=diff ============================================================================== --- incubator/harmony/standard/site/docs/documentation/build_classlib.html (original) +++ incubator/harmony/standard/site/docs/documentation/build_classlib.html Mon Jan 16 12:41:00 2006 @@ -162,26 +162,27 @@ The following prerequisite tools must be available on the path in order to build the Harmony classlib code from source.

- You can build the classlib code in three simple steps: + You can build the latest version of the class library code in three simple steps:

  1. Download classlib source from Harmony subversion repository -
    svn checkout https://svn.apache.org/repos/asf/incubator/harmony/enhanced/classlib/tags/SNAP-20060112 Harmony
    +
    svn checkout -r HEAD https://svn.apache.org/repos/asf/incubator/harmony/enhanced/classlib/trunk Harmony
  2. Change to main make directory, and run the default ant script target -
    cd Harmony/make
    -
    ant
    +
    cd Harmony/make
    +ant
  3. -
  4. Get a VM suitable for running the class library code (see below), and +
  5. Get a VM suitable for running the class library + code, and expand it over the top of the Harmony directory (so that the 'jre' directories line-up)
    unzip <path_to_vm_zip> -d ../.. (on Windows)
    @@ -190,7 +191,7 @@

- Now you are ready to run some Java applications! + Now you are ready to run some Java applications!

@@ -205,12 +206,37 @@

- Pre-built binaries will soon be made available as a convenience for people who don't - have ready access to the prerequisite tools. These are snapshot builds, not official - releases of the project. + Pre-built binaries are available as a convenience for people who don't + have ready access to the prerequisite tools.

- Check back soon for some binary download links! + These are snapshot builds, not official releases of the project. + Snapshots are builds of the repository at a given revision. The file + name of each snapshot build indicates the revision of the code repository, + and the platform on which it was built. +

+

+ You can use a pre-built binaries in three easy steps: +

    +
  1. Obtain a pre-built class library snapshot for your platform from the + + Harmony snapshot site.
  2. +
  3. Obtain a compatible virtual machine and + put it into the same directory as the class library code.
  4. +
  5. Simply expand the classlib archive and the VM archive from the + same directory. They should create a subdirectory called "Harmony" + with files from each archive overlaid (so that the + 'Harmony/deploy/jre'-s line-up).
  6. + On Windows: +
    unzip <path_to_classlib_zip> (on Windows)
    +unzip <path_to_vm_zip>
    + On Linux: +
    tar xzf <path_to_classlib_tarball> (on Linux)
    +tar xzf <path_to_vm_tarball>
    +
+

+

+ Now you are ready to run some Java applications!

@@ -224,7 +250,8 @@
-

+ +

The Harmony class library code interfaces to a VM through a virtual machine interface defined in the Harmony project.

@@ -237,9 +264,30 @@

Once you have obtained the IBM VM you should have one of the following files:

+

+
+ +
+ + + + Modified: incubator/harmony/standard/site/xdocs/documentation/build_classlib.xml URL: http://svn.apache.org/viewcvs/incubator/harmony/standard/site/xdocs/documentation/build_classlib.xml?rev=369566&r1=369565&r2=369566&view=diff ============================================================================== --- incubator/harmony/standard/site/xdocs/documentation/build_classlib.xml (original) +++ incubator/harmony/standard/site/xdocs/documentation/build_classlib.xml Mon Jan 16 12:41:00 2006 @@ -53,26 +53,27 @@ The following prerequisite tools must be available on the path in order to build the Harmony classlib code from source.

- You can build the classlib code in three simple steps: + You can build the latest version of the class library code in three simple steps:

  1. Download classlib source from Harmony subversion repository -
    svn checkout https://svn.apache.org/repos/asf/incubator/harmony/enhanced/classlib/tags/SNAP-20060112 Harmony
    +
    svn checkout -r HEAD https://svn.apache.org/repos/asf/incubator/harmony/enhanced/classlib/trunk Harmony
  2. Change to main make directory, and run the default ant script target -
    cd Harmony/make
    -
    ant
    +
    cd Harmony/make
    +ant
  3. -
  4. Get a VM suitable for running the class library code (see below), and +
  5. Get a VM suitable for running the class library + code, and expand it over the top of the Harmony directory (so that the 'jre' directories line-up)
    unzip <path_to_vm_zip> -d ../.. (on Windows)
    @@ -81,22 +82,49 @@

- Now you are ready to run some Java applications! + Now you are ready to run some Java applications!

- Pre-built binaries will soon be made available as a convenience for people who don't - have ready access to the prerequisite tools. These are snapshot builds, not official - releases of the project. + Pre-built binaries are available as a convenience for people who don't + have ready access to the prerequisite tools.

- Check back soon for some binary download links! + These are snapshot builds, not official releases of the project. + Snapshots are builds of the repository at a given revision. The file + name of each snapshot build indicates the revision of the code repository, + and the platform on which it was built. +

+

+ You can use a pre-built binaries in three easy steps: +

    +
  1. Obtain a pre-built class library snapshot for your platform from the + + Harmony snapshot site.
  2. +
  3. Obtain a compatible virtual machine and + put it into the same directory as the class library code.
  4. +
  5. Simply expand the classlib archive and the VM archive from the + same directory. They should create a subdirectory called "Harmony" + with files from each archive overlaid (so that the + 'Harmony/deploy/jre'-s line-up).
  6. + On Windows: +
    unzip <path_to_classlib_zip> (on Windows)
    +unzip <path_to_vm_zip>
    + On Linux: +
    tar xzf <path_to_classlib_tarball> (on Linux)
    +tar xzf <path_to_vm_tarball>
    +
+

+

+ Now you are ready to run some Java applications!

+ +

The Harmony class library code interfaces to a VM through a virtual machine interface defined in the Harmony project. @@ -110,9 +138,21 @@

Once you have obtained the IBM VM you should have one of the following files:

    -
  • on Windows “Harmony-vme-win.IA32-v1.zip”
  • -
  • on Linux “Harmony-vme-linux.IA32-v1.tar.gz”
  • +
  • on Windows "Harmony-vme-win.IA32-v1.zip"
  • +
  • on Linux "Harmony-vme-linux.IA32-v1.tar.gz"
+

+
+ + + +

+ Run Java applications as usual, using the launcher in Harmony/deploy/jre/bin: +

> jre\bin\java -showversion -jar helloworld.jar
+java version 1.4.2 (subset)
+(c) Copyright 1991, 2005 The Apache Software Foundation or its licensors, as applicable.
+Hello world!
+

+ + Running Java applications + +
+
+ +

+ Run Java applications as usual, using the launcher in Harmony/deploy/jre/bin: +

> jre\bin\java -showversion -jar helloworld.jar
+java version 1.4.2 (subset)
+(c) Copyright 1991, 2005 The Apache Software Foundation or its licensors, as applicable.
+Hello world!
+