﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
716	OpenJDK bep file enhancement	bartolomiew	scottmc	"I made some modifications to compile OpenJDK.

Some explanations are in order:

- It is necessary to have a version of Haiku> = hrev45228 (look at http://dev.haiku-os.org/ticket/9416 and http://mail.openjdk.java.net/pipermail/haiku-port -dev/2013-February/000106.html)

- I had to create a new image for the JDK as the July was a problem when compiling with rmic.

- Zip files downloaded during the build of the JDK (jaxp145_01.zip, JDK7-jaf-2010_08_19.zip & JDK7-b03-jaxws2_2_4-2011_05_27.zip) were displaced Oracle while the sources of the Haiku branch have not been modified. This explains the use of variable ALT_DROPS_DIR
Here is the log of the error:
>-Jaxp_src-url-bundle:
> [Echo] Downloading from http://download.java.net/jaxp/1.4.5/jaxp145_01.zip
> [Get] Getting: http://download.java.net/jaxp/1.4.5/jaxp145_01.zip
> [Get] http://download.java.net/jaxp/1.4.5/jaxp145_01.zip Moved to http://dlc.sun.com.edgesuite.net/jaxp/1.4.5/jaxp145_01.zip

- ALT_UNIXCOMMAND_PATH variable set to empty, the file Defs-util.gmk in OpenJDK does not take into account the fact that grep & egrep are not in /boot/system/bin/. By setting the variable ALT_UNIXCOMMAND_PATH to empty OpenJDK uses resolution path coommands by PATH.
- In order to finish the compilation without error (just to show the compilation time) I edit the file Defs-internal.gmk. Rather than make a patch I made a sed that will not be disturbed by any correction made ​​in the mercurial repository.
- ticket #703 solves bug for cpio, but as v2.11 doesn't works, I've limited version to 2.10.

Note : I've wrongly set component to ""dev-lang/lua"" in this ticket because ""dev-lang/openjdk"" doesn't exists !
"	enhancement	closed	normal		dev-lang/lua		normal	fixed		
