Changeset 38949
- Timestamp:
- 2024-04-23T19:43:27+12:00 (11 hours ago)
- Location:
- main/trunk/greenstone3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/build.xml
r38894 r38949 3499 3499 3500 3500 <target name="update-core" depends="init,svnupdate-core,clean-core,compile-core" 3501 3501 description="Update only the Greenstone core" /> 3502 3502 3503 3503 <target name="svnupdate-core" unless="nosvn.mode"> … … 3511 3511 3512 3512 <target name="clean-core" 3513 3513 description="Clean only the Greenstone core"> 3514 3514 <!-- should this delete the gsdl3.jar from web/WEB-INF?? --> 3515 3515 <delete dir="${build.home}"/> … … 3618 3618 <mkdir dir="${web.applet}"/> 3619 3619 <copy file="${build.home}/GsdlCollageApplet.jar" todir="${web.applet}"/> 3620 <!-- TODO: Does GsdlCollageApplet (like phind) also needs xercesImpl.jar and xml-apis.jar to be in web/applet??? --> 3621 3620 3621 <!-- phind and GsdlCollage also need webswing-api.jar to be in web/applet --> 3622 <if> 3623 <bool> 3624 <and> 3625 <not><available file="${web.applet}/webswing-api.jar"/></not> 3626 <available file="${web.writablehome}/ext/webswing/api/webswing-api.jar"/> 3627 </and> 3628 </bool> 3629 <copy file="${web.writablehome}/ext/webswing/api/webswing-api.jar" todir="${web.applet}"/> 3630 <else> 3631 <echo>Could not find ${web.writablehome}/ext/webswing/api/webswing-api.jar</echo> 3632 <echo>to copy into ${web.applet}</echo> 3633 </else> 3634 </if> 3635 3622 3636 <if> 3623 3637 <bool><istrue value="${tomcat.islocal}"/></bool> … … 3719 3733 <copy file="${basedir}/TransformingLibrary.launch.in" tofile="${basedir}/TransformingLibrary.launch" filtering="true" overwrite="true"/> 3720 3734 </if> 3721 <!--3722 3723 3724 3725 3726 -->3735 <!-- 3736 <if> 3737 <bool><not><available file="${basedir}/LibraryCommandline.launch"/></not></bool> 3738 <copy file="${basedir}/LibraryCommandline.launch.in" tofile="${basedir}/LibraryCommandline.launch" filtering="true" overwrite="true"/> 3739 </if> 3740 --> 3727 3741 </target> 3728 3742 -
main/trunk/greenstone3/src/java/org/greenstone/applet/phind/JPhind.java
r38948 r38949 41 41 To run this applet as an application, for which purpose this class has a main() method, run as: 42 42 43 java -cp ./web/WEB-INF/lib/gsdl3.jar:./web/WEB-INF/lib/gutil.jar:./web/applet/phind.jar:./web/applet/ xercesImpl.jar:./web/applet/xml-apis.jar:./web/WEB-INF/lib/log4j-1.2.8.jar:./web/WEB-INF/classes org.greenstone.applet.phind.JPhind "http://localhost:8383/greenstone3/library?a=a&rt=d&s=PhindApplet&c=tudor" --collection tudor --classifier 1 --phindcgi "?a=a&rt=r&s=PhindApplet&o=xml&ro=1" --library "library" --backdrop "interfaces/default/images/phindbg1.jpg" --xtraParams "orientation=vertical&depth=2&resultorder=L,l,E,e,D,d&fontsize=10&blocksize=10"43 java -cp ./web/WEB-INF/lib/gsdl3.jar:./web/WEB-INF/lib/gutil.jar:./web/applet/phind.jar:./web/applet/webswing-api.jar:./web/applet/xercesImpl.jar:./web/applet/xml-apis.jar:./web/WEB-INF/lib/log4j-1.2.8.jar:./web/WEB-INF/classes org.greenstone.applet.phind.JPhind "http://localhost:8383/greenstone3/library?a=a&rt=d&s=PhindApplet&c=tudor" --collection tudor --classifier 1 --phindcgi "?a=a&rt=r&s=PhindApplet&o=xml&ro=1" --library "library" --backdrop "interfaces/default/images/phindbg1.jpg" --xtraParams "orientation=vertical&depth=2&resultorder=L,l,E,e,D,d&fontsize=10&blocksize=10" 44 44 45 45 Basic version: -
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/PhindPhraseBrowse.java
r38796 r38949 102 102 // this is left blank at this end, and must be filled in by applet action - if the library name is not needed, this param is left out 103 103 // phindcgi param now is not complete - library must be prepended to it. 104 String app_info = "<"+GSXML.APPLET_ELEM+" CODEBASE='applet' CODE='org.greenstone.applet.phind.JPhind.class' ARCHIVE='phind.jar, xercesImpl.jar, xml-apis.jar ' WIDTH='500' HEIGHT='400'><PARAM NAME='library' VALUE=''/> <PARAM NAME='phindcgi' VALUE='?";104 String app_info = "<"+GSXML.APPLET_ELEM+" CODEBASE='applet' CODE='org.greenstone.applet.phind.JPhind.class' ARCHIVE='phind.jar, xercesImpl.jar, xml-apis.jar, webswing-api.jar' WIDTH='500' HEIGHT='400'><PARAM NAME='library' VALUE=''/> <PARAM NAME='phindcgi' VALUE='?"; 105 105 app_info += GSParams.ACTION +"=a&"+GSParams.REQUEST_TYPE +"=r&"+GSParams.SERVICE+"="+PHIND_SERVICE+"&"+GSParams.OUTPUT+"=xml&"+GSParams.RESPONSE_ONLY+"=1'/>"; 106 106 app_info +="<PARAM NAME='collection' VALUE='";
Note:
See TracChangeset
for help on using the changeset viewer.