Using jtrixmaker to create our netlet descriptor we need to
tell it:
- What type of thing we're making. A netlet descriptor, as usual.
- What that descriptor will be called: hello3-client.xml.
- Where the relevant JARs are: /usr/lib/jtrix (in our case) and
the current directory.
- What JARs the netlet needs to run: facet1.jar for the bootstrap
facets, libjtrix.jar for the NullService and of course
hello3.jar for Hello3Client.
- The class name of our netlet, Hello3Client, fully qualified
as always.
Now here's how we run jtrixmaker. Notice that have the hello-warrant.xml
ready for when we run the netlet.
% ls
hello-warrant.xml hello3.jar
% jtrixmaker -type netlet -outfile hello3-client.xml \
-jardirs /usr/lib/jtrix . -jars facets1.jar libjtrix.jar hello3.jar \
-classname org.jtrix.project.helloworld.Hello3Client
% ls
hello-warrant.xml hello3-client.xml hello3.jar
%
Nik Silver
2002-03-09