Ticket #811 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

PDFBox and GLI

Reported by: kjdon Owned by: nobody
Priority: high Milestone: 3.05 Release
Component: Collection Building: Plugins Severity: major
Keywords: Cc:

Description

For some people, adding PDFBox extension stops GLI working. When running pluginfo.pl, PDFBox plugin can't run java and you get invalid messages in the XML output, so the XML can't be parsed.

Luigi had this and fixed it be removing java 1.7 and using java 1.6. But when he runs gli its using the java bundled with greenstone.

my theory is that java is not on the path and the environment is not being set up properly when running pluginfo.pl.

Change History

Changed 7 years ago by kjdon

  • status changed from new to closed
  • resolution set to fixed

Fixed. Problem was with 1.7, running 'java' gave a different return value to what was expected. Change to use 'java -version' to test if java exists.

Note: See TracTickets for help on using tickets.