On 04/29/2015 01:39 AM, Jacques Le Roux wrote:
Le 28/04/2015 16:42, Adam Heath a écrit :
On 04/28/2015 03:39 AM, David E. Jones wrote:
+1 - with the clarification that to me "begin replacing" implies a
PoC effort in a branch.
I just saw this thread and need a little time to think over the best
approach, but off the top of my head it would look something like:
- add the moqui-framework-<version>.jar file and all dependent jars
to a component directory under ofbiz/framework (these could go in
the base or common components, but might be best separate for
clarity); if needed update jars currently used in OFBiz where an
older version is used (don't know if this is the case for any,
mention for the sake of completeness)
There are 2 separate items in this bullet point. I'll talk about the
second, updating jar versions.
HAHAHAHAHAHAHA!
I have discovered that ofbiz is using hc.apache.org(HttpClient), and
commons-httpclient. The former is the newer, rewritten,
rearchitected, replacement for the latter.
hc.apache.org(HttpClient) was introduced with
https://issues.apache.org/jira/browse/OFBIZ-3180. I also created
https://issues.apache.org/jira/browse/OFBIZ-4430
Never got a chance to seriously work on it
The rest of the versioned jars are just as bad.
Which ones?
Jacques
org.springframework seems to be at some 4.x version. Ofbiz has 3.1.
birt is using date-based jars from 2010 and 2013.
ant is at 1.9.4, we have 1.9.0.
avalon-framework(4.2.0 in ofbiz) is no longer available.
avalon.apache.org is closed(!).
jdom in ofbiz is 1.1, but 2.0.6 is available.
junit is 4.10, but 4.12 is available.
resolver in base is 2.9.1, resolver in birt is 1.2.0(with a date), but
these may be different libs.
serializer is base is 2.9.1, serializer in birt is 2.7.1(with a date).
httpunit was last release in May 2008; xpp3 was last released in
November 2006.
I could go on. This is based on reading the top-level pom.xml in
OFBIZ-6271, then doing some quick google searches and finding the
download pages.
There are also many jars that have no version at all in their name.