Re: svn commit: r883291 - /ofbiz/trunk/.classpath

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r883291 - /ofbiz/trunk/.classpath

Adam Heath-2
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r883291 - /ofbiz/trunk/.classpath

Jacques Le Roux
Administrator
From: "Adam Heath" <[hidden email]>

> [hidden email] 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) ?

Jacques
PS : Oops, I was sending this top-posted (joke ;o)
 


Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r883291 - /ofbiz/trunk/.classpath

Adam Heath-2
Jacques Le Roux wrote:

> From: "Adam Heath" <[hidden email]>
>> [hidden email] 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>.