This software defines an IDL (not CORBA), and consists of an annotation processor to convert IDL files into Java, and run-time support to use such classes. More details are available.
You need the following to build from source:
Create config.mk adjacent to Makefile:
## In ./config.mk
PREFIX=$(HOME)/.local
CLASSPATH += /usr/share/java/junit4.jar
CLASSPATH += /usr/share/java/javax.json.jar
CLASSPATH += /usr/share/java/httpcore.jar
CLASSPATH += /usr/share/java/httpclient.jar
CLASSPATH += $(HOME)/.local/share/java/lusyn.jar
The you can run:
make
make install
Variations:
-
Adjust
PREFIXand the path oflusyn.jaras required. The default forPREFIXis/usr/local. You might needsudo make installif installing to a protected location. -
You can alternatively place configuration in
carp-env.mk, which can be anywhere inmake's search path, as set bymake -I.
To compile, in your classpath, you need:
httpcore.jarhttpclient.jarcarp_core.jar
In your processor classpath, you need:
javax.json.jarlusyn.jarcarp_aproc.jar
You can use these with NetBeans to generate the classes as you edit.
At run time, you need:
javax.json.jarcarp_rt.jar