Re: Can we remove the MinML2.jar file?

Posted by David E Jones on
URL: http://ofbiz.116.s1.nabble.com/Can-we-remove-the-MinML2-jar-file-tp179912p179916.html


We have a lot of libraries in OFBiz, and it's a pretty major effort  
to keep them all updated but certainly something we need and want to do.

Sometimes it is hard to test the updated library, and that is the  
case with itext since most of the stuff that uses it is buried in  
things like the CompDoc stuff in the Content Manager and running  
through a test scenario to use itext to combine PDF documents is  
somewhat involved. In these circumstances we can kind of go either  
way, either:

1. leave the old version so that it will more likely work the next  
time someone uses it
2. update to the latest version so that new things and things in  
general will more likely work, and version dependencies between  
libraries in OFBiz won't as likely become a problem

So, for this one they both have pluses and minuses. The best thing is  
to update and test everything that uses it, but that takes a lot of  
time and effort (both finding everything that uses it, and running  
the tests).

In other words, it's up to you, I'm fine with either way and somewhat  
favor #2...

-David


On Apr 6, 2007, at 9:08 AM, Jacopo Cappellato wrote:

> And now I'm also running the latest itext-2.0.1.jar instead of the  
> older version in the trunk (itext-1.3.6.jar) and everything seems  
> good.
> Should we plan to update also the iText jar?
>
> Jacopo
>
> Jacopo Cappellato wrote:
>> David,
>> yeah dependencies can be a nightmare... and maybe we should even  
>> try to document them in some way somewhere.
>> However, PDF are printing fine even without the MinML2.jar and so  
>> possibly the jar was needed by an older version of iText.
>> What do you think?
>> Jacopo
>> David E. Jones wrote:
>>>
>>> Weeding out jar files is a tricky business... that one, for  
>>> example, is used by itext if I remember right and is a runtime  
>>> dependency. Removing it would cause problems for certain things.
>>>
>>> -David
>>>
>>>
>>> On Apr 6, 2007, at 5:37 AM, Jacopo Cappellato wrote:
>>>
>>>> After removing the framwork/webapp/lib/MinML2.jar file I could  
>>>> build and run succesfully OFBiz.
>>>>
>>>> Can we remove it? For what is it used that jar?
>>>>
>>>> Jacopo
>>>>
>>>
>
>


smime.p7s (3K) Download Attachment