Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2011 11:29:05 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        java@freebsd.org
Subject:   Re: icedtea-web plugin as a separate port
Message-ID:  <201105161129.09417.jkim@FreeBSD.org>
In-Reply-To: <4DD0CFC2.3080804@FreeBSD.org>
References:  <4DD0CFC2.3080804@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 16 May 2011 03:18 am, Andriy Gapon wrote:
> I wonder why we build icedtea-web plugin as a part of java/openjdk*
> the way we do now.  I think that perhaps it would be nicer to build
> it a separate port. post-build WITH_WEB looks really
> non-transparent.

That's because it was not possible in the past, i.e., IcedTea-Web 
heavily relied on IcedTea.  The situation will improve when 
IcedTea-Web 1.1 is released.  Please see below.

> Here's what I did to build the latest version icedtea-web from hg:
> - hg clone http://icedtea.classpath.org/hg/icedtea-web
> - env INSTALL=ginstall MAKE=gmake ./configure
> --with-jdk-home=/usr/local/openjdk6
> --prefix=/usr/local/openjdk6/jre
> --with-rhino=/usr/local/share/java/rhino/rhino.jar
> --with-junit=/usr/local/share/java/classes/junit.jar
>   [junit, rhino (lang/rhino) and openjdk ports have to be installed
> obviously] - gmake
> - gmake install
>
> It worked/works for me.

The tip is IcedTea-Web 1.1-ish now, which is already behind its 
release schedule, BTW. ;-)

Although the IcedTea dependency problem was improved, there still 
exists one IcedTea-specific patch.  This class is tested by configure 
script and it fails if OpenJDK6 wasn't patched first:

http://icedtea.classpath.org/hg/icedtea-web/file/0e6b12424423/configure.ac#l80
http://icedtea.classpath.org/hg/icedtea-web/file/0e6b12424423/acinclude.m4#l682

Jung-uk Kim

> P.S. I think that rhino port should install its jar into
> ${PREFIX}/share/java/classes as other ports do.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105161129.09417.jkim>