Date: Thu, 1 May 2003 00:22:12 +0200 (CEST) From: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> To: Ernst de Haan <znerd@FreeBSD.ORG> Cc: freebsd-java@FreeBSD.ORG Subject: Re: java/44041: Generate bsd.java.mk from an XML file Message-ID: <20030501000903.Q41591@puget.esil.univ-mrs.fr> In-Reply-To: <200210140852.g9E8qfbH050638@zaphod.euronet.nl> References: <200210140852.g9E8qfbH050638@zaphod.euronet.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Ernst, 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. 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: > > <?xml version="1.0"?> > > <bsdjavamk> > <vendor id="blackdown" name="Blackdown" /> > <vendor id="ibm" name="IBM" /> > <vendor id="sun" name="Sun MicroSystems" /> > > <platform id="linux" name="Linux" /> > <platform id="freebsd" name="FreeBSD" /> > > <javavm version="1.1.8" stability="good" platform="#freebsd" /> > <javavm version="1.2.2" stability="good" platform="#freebsd" /> > <javavm version="1.3.1" stability="good" platform="#freebsd" /> > > <javavm vendor="#sun" version="1.2.2" stability="good" platform="#linux" /> > <javavm vendor="#sun" version="1.3.1" stability="good" platform="#linux" /> > <javavm vendor="#sun" version="1.4.0" stability="poor" platform="#linux" /> > > <javavm vendor="#blackdown" version="1.2.2" stability="good" platform="#linux" /> > <javavm vendor="#blackdown" version="1.3.1" stability="good" platform="#linux" /> > <javavm vendor="#blackdown" version="1.4.1" stability="poor" platform="#linux" /> > > <javavm vendor="#ibm" version="1.3.1" stability="medium" platform="#linux" /> > </bsdjavamk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030501000903.Q41591>