Changeset 34296

Show
Ignore:
Timestamp:
27.07.2020 16:31:18 (8 days ago)
Author:
ak19
Message:

Need to use Commons CSV jar library for Java 6, as we use Java 6 on one of the nightly VMs and gli needs to successfully compile against Commons CSV when using JDK 6. Kathy noticed her JDK 7 had issues with the earlier Commons CSV included in gli\lib\apache.jar. That one was built for Java 8. Now apache.jar includes the Commons CSV built for Java 6. Tested to compile and run Export to CSV successfully on my Windows which uses Java 8.

Location:
main/trunk/gli/lib
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/lib/README.txt

    r34263 r34296  
    3737            - logging: appears to be from commons-logging. 
    3838            - not sure where the 4 other subfolders of commons (beanutils, collections, digester, httpclient) are from. See commit message of http://trac.greenstone.org/log/gli/trunk/lib/apache.jar?rev=14319 for ideas. 
    39             - csv: ADDED 11/07/2020 from commons-csv-1.8.jar 
     39            - csv: ADDED 11/07/2020 from commons-csv-1.8.jar. But compiling gli against this was incompatible with JDK 7 and 6 that we use to generate VMs on the nightly machines. (However the version of JRE 7 that we include was compatible with this.) Fortunately, makes available archived versions of the Commons CSV jar file and https://commons.apache.org/proper/commons-csv/ marks which versions of Commons CSV is compatible with JDK 6 and other Java versions. Got commons-csv-1.4.jar, compatible with Java 6 on 26/07/2020. 
    4040 
    4141Essentially, in commit 29729, the entire contents of GS3 web-lib's xml-apis.jar and xercesImpl.jar have been added to apache.jar after unzipping it, replacing earlier versions already present. The "javax" and "licence" toplevel folders of apache.jar are proper additions, deriving from xml-apis.jar. All other contents of apache.jar have been left as they were.