Login  Register

Re: Formatting controllers

Posted by Adam Heath-2 on Nov 20, 2009; 10:45pm
URL: http://ofbiz.116.s1.nabble.com/Formatting-controllers-tp623986p628229.html

Adrian Crum wrote:
> Yes. Look at the Label Manager code - it outputs well-formed XML.
>
> Some day this will be easy to do in mini-language, but it's not quite there. You can read and write XML files, but there is no way to add the Apache license header in mini-language.

It's not that simple.

Files that already exist, that already have the header, should keep
the header.

New files should not have it.

The idea being that the client/user/company using ofbiz may have it's
own restrictions on the data that is created.

Besides, applying the Apache license to *data* doesn't really make sense.