Date: Thu, 1 May 2003 09:18:56 +0200 From: Ernst de Haan <znerd@FreeBSD.ORG> To: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> Cc: freebsd-java@FreeBSD.ORG Subject: Re: java/44041: Generate bsd.java.mk from an XML file Message-ID: <200305010918.56072.znerd@FreeBSD.org> In-Reply-To: <20030501000903.Q41591@puget.esil.univ-mrs.fr> References: <200210140852.g9E8qfbH050638@zaphod.euronet.nl> <20030501000903.Q41591@puget.esil.univ-mrs.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
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: > > > > <?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?200305010918.56072.znerd>