From owner-freebsd-java@FreeBSD.ORG Tue Mar 30 05:20:17 2004 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D6C316A4CE for ; Tue, 30 Mar 2004 05:20:17 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 957D143D39 for ; Tue, 30 Mar 2004 05:20:17 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2UDKHbv030247 for ; Tue, 30 Mar 2004 05:20:17 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2UDKHsW030246; Tue, 30 Mar 2004 05:20:17 -0800 (PST) (envelope-from gnats) Date: Tue, 30 Mar 2004 05:20:17 -0800 (PST) Message-Id: <200403301320.i2UDKHsW030246@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Herve Quiroz Subject: Re: java/44251: Create stylebook port X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Herve Quiroz List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2004 13:20:17 -0000 The following reply was made to PR java/44251; it has been noted by GNATS. From: Herve Quiroz To: freebsd-gnats-submit@FreeBSD.org, znerd@FreeBSD.org Cc: Herve Quiroz Subject: Re: java/44251: Create stylebook port Date: Tue, 30 Mar 2004 15:19:58 +0200 Ernst, I had a look at your distfile last night. The main problem is that xml-stylebook depends on Xalan and Xerces, so we have a cyclic dependency issue here. There is a solution though: install xml-stylebook as a binary port. But I have another solution in mind. Let me explain it: We could have two ports for xml-stylebook. The first one, xml-stylebook-jar would be a binary port that would only install xml-stylebook.jar (the JAR file could even be distfile as it will be the only file installed). Next, another port, xml-stylebook would depend on xml-stylebook-jar and install the whole xml-stylebook distribution (that is with docs for instance). The xerces-j port would depend on xml-stylebook-jar (BUILD_DEPENDS only) to be able to build its documentation from source. But then, there are some other JAR files that are needed by the xerces-j port and which are provided in the Xerces-J-tools-x.x.x.tgz distfile, such as xjava.jar (to provide the compile task supporting IBM JDKs, AFAIK) and resolver.jar. So we could possibly make a xerces-j-tools port that would install those JAR files as well as xml-stylebook.jar. It would be a binary port obviously (for cyclic dependency reasons). What do you think of this? Herve