...
Make the following changes in OLE to enable searching of external datasources with Z39.50 protocol
Setting up external dependencies for jz3950 library for connecting to Z39.50 datasources.
- Get source code from https://jz3950.svn.sourceforge.net/svnroot/jz3950/trunk and build the jar file.
- Create maven dependency for the above created jar file using below command;
Code Block |
---|
mvn install:install-file -DgroupId=<your_group_name> -DartifactId=<your_artifact_name> -Dversion=<snapshot> -Dfile=<path_to_your_jar_file> -Dpackaging=jar -DgeneratePom=true
|
Changes in ole-docstore-search project
File pom.xml
Uncomment the following lines.
Code Block |
---|
<!--
<dependency>
<groupId>net.sf.jz3950</groupId>
<artifactId>jz3950</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.jzkit</groupId>
<artifactId>a2j</artifactId>
<version>2.0.4</version>
</dependency>
-->
|
Class Z3950DataSource
Uncomment the code in this class.
Changes in ole-rice2 project
Class ImportBibController
Uncomment the following line.
Code Block |
---|
//List<String> results = externalDataSource.searchForBibs(searchParams,dataSourceConfig);
|
File ImportBibSearchPage.xml
Uncomment the commented line in the following snippet.
Code Block |
---|
<bean id="search_button" parent="Uif-SecondaryActionButton-Small"
p:methodToCall="search" p:actionLabel="Search"/>
<!--p:methodToCall="search" p:actionLabel="Search" p:refreshId="ExternalSourceResults-Section"/>-->
|