Changeset 35535


Ignore:
Timestamp:
2021-09-30T20:54:18+13:00 (14 months ago)
Author:
anupama
Message:

Script makegs2.bat to compile GS2 on Windows, also needs to rename PDFv2Plugin.pm to PDFv2Plugin.tmp so GLI can launch without pluginfo.pl -describeall blowing up over the require statement on the pdfboxconverter extension (the extension is needed by v2 plugin). The rk2 release-kit already handled this in the installer, and earlier today makegs2.sh was updated for linux/mac (commit 35534)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • local/greenstone2/windows-64bit/setup.bat

    r31427 r35535  
    1212:: this is referred to below as strawberry-perl32no64
    1313
    14 set JAVA_HOME=C:\Program Files\Java\jdk1.7.0_55
     14set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_20
    1515if not exist "%JAVA_HOME%" echo %JAVA_HOME% does not exist& goto done
    1616
  • main/trunk/greenstone2/makegs2.bat

    r31422 r35535  
    3535set SDK_ENV=
    3636
     37rem Move PDFv2Plugin.pm to PDFv2Plugin.tmp as it needs pdfboxconverter extension which doesn't
     38rem  come with GS2 by default, so pluginfo.pl -describeall fails and GLI can't launch properly
     39move perllib\plugins\PDFv2Plugin.pm perllib\plugins\PDFv2Plugin.tmp
     40
    3741rem Checking for Winbin and Unzip utility
    3842
    3943:: try getting it from svn
    4044IF NOT EXIST .\bin\windows\*.* (
    41     echo Getting winbin FROM http://svn.greenstone.org/main/trunk/binaries/windows/bin INTO bin/windows
     45    echo Getting winbin FROM https://svn.greenstone.org/main/trunk/binaries/windows/bin INTO bin/windows
    4246    cd bin
    43     svn co http://svn.greenstone.org/main/trunk/binaries/windows/bin windows
     47    svn co https://svn.greenstone.org/main/trunk/binaries/windows/bin windows
    4448    cd ..
    4549)
Note: See TracChangeset for help on using the changeset viewer.