in which case Maven program is called `mvn-id` rather than `mvn`.
With all dependencies in place you can continue the yaz4j compilation with:
in which case Maven program is called `mvn-id` rather than `mvn`.
With all dependencies in place you can continue the yaz4j compilation with:
-
+
cd yaz4j
mvn install
cd yaz4j
mvn install
-Which will also run tests that open a connection to Index Data's public z3950
+Which will also run tests that open a connection to Index Data's public Z39.50
server.
Notice that `yaz-config` binary must be on the PATH (this is assured when
server.
Notice that `yaz-config` binary must be on the PATH (this is assured when
@@ -116,11+115,26 @@ installation is used, the binary location can be specified with:
The compiled jar file ends up in any/target/yaz4j.jar while the native library
in unix/target/libyaz4j.so.
The compiled jar file ends up in any/target/yaz4j.jar while the native library
in unix/target/libyaz4j.so.
+Compilation on generic Unix
+---------------------------
+
+You will need the JDK, Maven, Swig and YAZ development packages.
+Consult your package manager on how to install those.
+
+If yaz-config is in your PATH, the following command should suffice:
+
+ mvn install
+
+If yaz-config is not in your PATH, you'll have to tell where YAZ is located:
+
+ mvn -Dyaz.config=/path/to/yaz-config install
+
Windows
-------
Windows
-------
-Besides the exact same requirements as in the Unix case (JDK, Maven, Swig, YAZ), you will need the Windows [SDK][5] installed (which in turn requires .NET
-Framework 4) to compile yaz4j. Again it's much easier to use the
+Besides the exact same requirements as in the Unix case (JDK, Maven, Swig,
+YAZ), you will need the Windows [SDK][5] installed (which in turn requires
+.NET Framework 4) to compile yaz4j. Again it's much easier to use the
YAZ Installer. Git must be installed to checkout yaz4j source code.
Use the command prompt provided with the Windows SDK, navigate to the yaz4j
YAZ Installer. Git must be installed to checkout yaz4j source code.
Use the command prompt provided with the Windows SDK, navigate to the yaz4j