Login  Register

Re: What is the purpose of .jj files?

Posted by Mansour on Mar 23, 2012; 10:59am
URL: http://ofbiz.116.s1.nabble.com/What-is-the-purpose-of-jj-files-tp4498087p4498427.html

Scott you are right. But the components wont compile without them.
I recommend, refactor the components first, then we can tell what is
needed and what is not.

For example, base and start wont compile separately. Either move the
classes that are needed by base to base, or merge them for now, until
we know for sure what is needed by other component.

I mean by wont compile separately, is you can not compile base as a
component, then included in the classpath while compiling "start"
Same thing applies to "start".



On Fri, Mar 23, 2012 at 4:33 AM, Scott Gray <[hidden email]> wrote:

> My general rule of thumb is that if the application components aren't using it then it doesn't belong in the framework.
>
> Regards
> Scott
>
> On 23/03/2012, at 9:07 PM, Jacopo Cappellato wrote:
>
>> can we remove them? If we get rid of this we will be able to clean a few things (i.e. remove $OFBIZ_HOME/lib/build/javac and a few more tasks)
>>
>> Jacopo
>>
>> On Mar 23, 2012, at 9:00 AM, Scott Gray wrote:
>>
>>> I think they're for Adam's sql component, no idea if that work was ever finished.
>>>
>>> Regards
>>> Scott
>>>
>>> On 23/03/2012, at 8:58 PM, Jacopo Cappellato wrote:
>>>
>>>> What is the purpose of the two .jj files we have in OFBiz (Parser.jj and JSON.jj) and the associated ant tasks "ofbiz-javacc" and "ofbiz-jjtree"?
>>>>
>>>> Thanks,
>>>>
>>>> Jacopo
>>>>
>>>
>>
>