Jacques Le Roux wrote: > From: "Adam Heath" <[email protected]> >> [email protected] wrote: >>> Author: jleroux >>> Date: Mon Nov 23 09:33:12 2009 >>> New Revision: 883291 >>> >>> URL: http://svn.apache.org/viewvc?rev=883291&view=rev >>> Log: >>> A patch from Erwan de FERRIERES "add path to framework/sql in >>> classpath file" (https://issues.apache.org/jira/browse/OFBIZ-3231) - >>> OFBIZ-3231 >>> With the new framework/sql /* files, we should add the path in the >>> classpath file. If not added, we have errors in eclipse... >> >> You know, we should really write something to generate these files, >> based on build.xml. Maybe using xslt. > > Yes this seems to be a good suggestion, any takers (I'm not good at > xslt, to say the least) ?
I've done evil stuff with xslt. I had a perl module, that had embedded xslt(inside a perl HERE doc), that read an xml config file, that then output another perl file, to be used at runtime. It basically compiled the xml config to a perl function. I've also written xslt that reads ofbiz-containers.xml, chain-reads ofbiz-component.xml, chain-reads entitymodel.xml, then after all that, outputs CREATE TABLE-like stmts for each found <entity>.
