Changeset 34263 for main/trunk/gli/lib


Ignore:
Timestamp:
2020-07-11T23:32:49+12:00 (4 years ago)
Author:
ak19
Message:

Option in GLI file menu to Export collection meta to CSV (new CSV file or add to existing). Uses apache commons CSV, so had to include the csv subfolder of commons into apache.jar, where all other apache jars used by GLI are bundled into. Updated the gli/lib/README about this.

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

Legend:

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

    r31649 r34263  
    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        
     39            - csv: ADDED 11/07/2020 from commons-csv-1.8.jar
    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.
     
    4545UPDATING apache.jar
    4646---------------------------
     47Create a folder in gli/lib called apache.
     48Copy apache.jar from gli/lib into gli/lib/apache.
     49Then go into the new apache folder and unjar (unzip) the apache.jar there:
     50> cd apache
     51> jar -xvf apache.jar
    4752
    48 After unzipping apache.jar, its contents were updated to use the later xerces and xml-apis as described above.
     53
     54After unzipping apache.jar, its contents were updated to use the later xerces and xml-apis as described in the sections above.
    4955
    5056How to recreate the apache.jar:
    5157> cd gli/lib/apache
    5258> jar -cvf apache.jar *
     59> jar -tvf apache.jar
     60  (to check the contents of the jar file just created)
    5361
    54 The apache.jar file gets generated inside gli/lib/apache, move it into gli/lib. Then commit it.
     62The apache.jar file gets generated inside gli/lib/apache, move it into gli/lib replacing any older versions. Then commit it.
    5563
    5664Further changes to makejar.sh/bat, to mention the new javax subfolder, since it may also need to be unzipped from apache.jar along with the other contained libraries, so that xml-apis' javax too can be included in GLI.jar when this is generated, in case there is any dependence on javax in the rest of xml-apis' classes.
Note: See TracChangeset for help on using the changeset viewer.