From owner-freebsd-java@FreeBSD.ORG Thu May 1 00:18:59 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBE0837B401; Thu, 1 May 2003 00:18:59 -0700 (PDT) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id C76E143FB1; Thu, 1 May 2003 00:18:58 -0700 (PDT) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.9/8.12.9) with ESMTP id h417Iw4G066962; Thu, 1 May 2003 09:18:58 +0200 (CEST) (envelope-from ernst@zaphod.euronet.nl) Received: from localhost (localhost [[UNIX: localhost]]) by zaphod.euronet.nl (8.12.9/8.12.9/Submit) id h417IuM9066961; Thu, 1 May 2003 09:18:56 +0200 (CEST) From: Ernst de Haan To: Herve Quiroz Date: Thu, 1 May 2003 09:18:56 +0200 User-Agent: KMail/1.5.1 References: <200210140852.g9E8qfbH050638@zaphod.euronet.nl> <20030501000903.Q41591@puget.esil.univ-mrs.fr> In-Reply-To: <20030501000903.Q41591@puget.esil.univ-mrs.fr> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305010918.56072.znerd@FreeBSD.org> cc: Greg Lewis cc: freebsd-java@FreeBSD.ORG Subject: Re: java/44041: Generate bsd.java.mk from an XML file X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2003 07:19:00 -0000 Hi Herve, > I was in the mood for some XSLT coding so I decided to take care of this > one hour ago. So far, I've finished everything up to step 3 (included) > but I will need to get some sleep sooner or later ;) > > So I was wondering if you still need this XML->bsd.java.mk tool... and if > you (or anybody else) had already done something about it. Haven't done anything about it yet. And I personally think it's a very good idea. This way we only have to maintain a bsd.java.xml file. Greg, what do you think of this? Herve, please send XSLT and I'll review it. I very much appreciate your action! Cheers, Ernst > I am missing the _JAVA_VERSIONS= [...] line for now because I don't know > how to eliminate duplicates in a string easily. Also I think the step 4 > will be complex (but not impossible) because I can't find an easy way of > enforcing the rules you describe in the comments. But then again, things > could look easier after a good sleep. > > Regards, > > Herve > > On Mon, 14 Oct 2002, Ernst de Haan wrote: > > Maintaining the bsd.java.mk file is not an easy thing to do. The > > addition of new JDK ports is a pain. > > > > It would be nice if the bsd.java.mk file would be generated from an XML > > file using XSLT. The XML file could look something like this: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > platform="#linux" /> > stability="good" platform="#linux" /> > version="1.4.0" stability="poor" platform="#linux" /> > > > > > platform="#linux" /> > stability="good" platform="#linux" /> > version="1.4.1" stability="poor" platform="#linux" /> > > > > > platform="#linux" />