Wiki Markup |
---|
h1. Make the following changes in OLE to enable searching of external datasources with Z39.50 |
...
protocol h2. 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 |
} mvn install:install-file -DgroupId=net.sf.jz3950 -DartifactId=jz3950 -Dversion=1.0-SNAPSHOT -Dfile=<path_to_your_jar_file> -Dpackaging=jar -DgeneratePom=true |
...
{code} h2. Changes in ole-docstore-search |
...
project h3. File pom.xml |
...
Uncomment the following lines. |
...
{code |
} <!-- <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> --> {code} h3. Class Z3950DataSource |
...
Uncomment the code in this class. |
...
h2. Changes in ole-rice2 |
...
Class ImportBibController
Uncomment the following line.
Code Block |
---|
project h3. Class ImportBibController Uncomment the following line. {code} //List<String> results = externalDataSource.searchForBibs(searchParams,dataSourceConfig); {code} h3. File ImportBibSearchPage.xml |
...
Uncomment the commented line in the following snippet. |
...
{code |
} <bean id="search_button" parent="Uif-SecondaryActionButton-Small" p:methodToCall="search" p:actionLabel="Search"/> <!--p:methodToCall="search" p:actionLabel="Search" p:refreshId="ExternalSourceResults-Section"/>--> {code} |