Opened 12 years ago

Closed 12 years ago

#811 closed defect (fixed)

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 (1)

comment:1 by kjdon, 12 years ago

Resolution: fixed
Status: newclosed

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.