Archived
This forum has been archived. Please start a new discussion on GitHub.
Using IcePatch2 with Java
in Help Center
Hi,
I couldn't find any demos of IcePatch2 with Java. I'm starting to do weird things like use the Java runtime to call the icepatch2client service when I know I should really be using the IcePatch2 library methods.
What do I need to import and how do I access the IcePatch2 library?
I looked at the cpp demo file and it imports these:
#include <IcePatch2/ClientUtil.h>
#include <IcePatch2/Util.h>
What is the Java equilvalent? Ice.IcePatch2.* ? I tried that but to no avail. And how about: IcePatch2::PatcherPtr patcher = new IcePatch2::Patcher(_communicator, feedback);
I want to be able to call the patcher from within my Java program. Have you got a basic template of a Java IcePatch2 application I can refer to?
public class Client extends Ice.Application {
public static void main(String args[]) {
IcePatch2.???
}}
Thanks!
I couldn't find any demos of IcePatch2 with Java. I'm starting to do weird things like use the Java runtime to call the icepatch2client service when I know I should really be using the IcePatch2 library methods.
What do I need to import and how do I access the IcePatch2 library?
I looked at the cpp demo file and it imports these:
#include <IcePatch2/ClientUtil.h>
#include <IcePatch2/Util.h>
What is the Java equilvalent? Ice.IcePatch2.* ? I tried that but to no avail. And how about: IcePatch2::PatcherPtr patcher = new IcePatch2::Patcher(_communicator, feedback);
I want to be able to call the patcher from within my Java program. Have you got a basic template of a Java IcePatch2 application I can refer to?
public class Client extends Ice.Application {
public static void main(String args[]) {
IcePatch2.???
}}
Thanks!
0
Comments
-
We only have an IcePatch2 client (and a client library) for C++. If you want to use Java for the client, you would have to write your own Java version of the IcePatch2 client.0