Re: Removing old jars: Avalon framework

Posted by Jacopo Cappellato on
URL: http://ofbiz.116.s1.nabble.com/Removing-old-jars-Avalon-framework-tp180788p180790.html

After further research I've seen that avalon-util-exception-1.0.0.jar
just contains one class, ExceptionHelper, and that class is only used at
line 155 of Debug.java:

msg = System.getProperty("line.separator") +
ExceptionHelper.packException(msg, t, true);

What is the packException(...) supposed to do? How can we replace it?

The avalon-util-exception-1.0.0.jar is non needed by fop.

Jacopo


David E. Jones wrote:

> It would be fine to remove these, we have no larger plans for avalon. In addition to that line, which should probably be removed or changed anyway to not depend on an unmaintained library And do something more standard too, we should check to see if other libraries depend on it, which is very possible.
>
> -David
>
>> ------- Original Message -------
>> From: Jacopo Cappellato <[hidden email]>
>> To: [hidden email]
>> Sent: 5/5/07, 2:38:05 AM
>> Subject: Removing old jars: Avalon framework
>>
>> Hi all,
>>
>> in the attempt of keeping the list of jar files included in OFBiz clean
>> and updated, I'm reviewing them.
>> I've noticed that:
>>
>> avalon-framework-4.2.0.jar
>> avalon-util-exception-1.0.0.jar
>>
>> are only used at line 155 of Debug.java:
>>
>> msg = System.getProperty("line.separator") +
>> ExceptionHelper.packException(msg, t, true);
>>
>> Since the Avalon project has closed in 2004, it would be nice to remove
>> that dependency.
>> What do you think?
>> Any ideas on how to do this?
>>
>> Jacopo
>>
>>