Custom Query (420 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (40 - 42 of 420)

Ticket Resolution Summary Owner Reporter
#825 fixed activate.pl to move building to index after getting server to release coll ak19 ak19
Description

The new activate.pl script:

The script moves a collection's building folder (or its contents) to the index folder after a build cycle has completed. If the included GS2 or GS3 web server is running and is a persistent server (or if the library_URL provided as parameter to this script is of a running web server), then this script first deactivates the collection before the move operation and subsequently activates it again.

The relevant changesets are:

  1. http://trac.greenstone.org/changeset/25549

Added target to GS3's ant build.xml file to print out default library servlet URL so that activate.pl can use it.

Files: main/trunk/greenstone3/build.xml (1 diff)

  1. http://trac.greenstone.org/changeset/25554

http://trac.greenstone.org/changeset/25572 (correction to commit of 25554)

Added mv_dir_contents subroutine (which is called from activate.pl) for moving the contents of src dir into target dir, so these can exist alongside of non-identically named items already existing in target dir, rather replacing target dir with src dir.

The newly added mv_dir_contents subroutine was not complete: it did not move the directory contents of subdirectories which I thought was implicit. Added explicit recursion on subfolders and handling of special cases where folders are empty.

File: main/trunk/greenstone2/perllib/util.pm

  1. http://trac.greenstone.org/changeset/25559

http://trac.greenstone.org/changeset/25560

  1. Dr Bainbridge fixed a bug in pingaction where it returned the message that the ping didn't succeed for any collection, even when the collection existed. 2. The pingaction no longer requires a collection argument. In the case where no collection is specified, pingaction will always return true when you call a=ping on a running GS server.

FILES: main/trunk/greenstone2/runtime-src/src/recpt/pingaction.cpp

Dr Bainbridge has introduced the isPersistentAction (add the a=is-persistent to the library url). It is true for server.exe and when using mod_gsdl, but false for library.cgi which uses the apache web server (when not using mod_gsdl).

FILES: 2 added, 7 modified

LOCATION: main/trunk/greenstone2/runtime-src/src

recpt/Makefile.in (2 diffs)

recpt/cgiwrapper.cpp (2 diffs)

recpt/cgiwrapper.h (1 diff)

recpt/ispersistentaction.cpp

recpt/ispersistentaction.h

recpt/librarymain.cpp (2 diffs)

recpt/mod_gsdl.cpp (2 diffs)

recpt/win32.mak (2 diffs)

w32server/cgiwrapper.cpp (3 diffs)

  1. http://trac.greenstone.org/changeset/25571

Added a ping action (subaction to SystemAction) to mirror GS2's updated ability to ping the server as is needed for activate.pl. (GS2 also allows pinging a collection, but that's not been ported to GS3 yet). Call with ?a=s&sa=ping for systemaction subaction ping.

Location: main/trunk/greenstone3/src/java/org/greenstone/gsdl3

Files: 3 modified

action/SystemAction.java (1 diff)

core/MessageRouter.java (1 diff)

util/GSXML.java (1 diff)

  1. http://trac.greenstone.org/changeset/25573

Adding in the new activate.pl script to be called at the end of the build process. It moves building to index after first deactivating the collection on the server (if this is running and a persistent server). After the move operation, it then activates the collection on the server again, if the server is still running and is a persistent server.

buildcol.pl is modified to allow buildcol.pl to be called with the new -activate flag which will then run activate.pl at the end of buildcol.

full-rebuild.pl no longer does the moving building to index itself, but calls activate.pl which will also ensure that collections are deactivated on the server first and reactivated at the end if necessary.

Location: main/trunk/greenstone2

Files: 1 added, 3 modified

bin/script/activate.pl

bin/script/buildcol.pl (3 diffs)

bin/script/full-rebuild.pl (8 diffs)

perllib/strings.properties (1 diff)

#812 fixed assocfilepath in baseplugin nobody kjdon
Description

BasePlugin line 1318. old doclink line used {Or}{[parent(Top):assocfilepath],[assocfilepath]} now its changed to [assocfilepath] which doesn't work if that metadata is at a higher level.

see email conversation with peter paessler

#811 fixed PDFBox and GLI nobody kjdon
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.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.