We'll be using Xml Blaster to develop an agent oriented architecture
that can be run natively or remotely...
We need to create jars... we're using Maven but have had problems
creating jars for distributing applications...
First of all we're novices and have no idea how to make Maven include
a Jar inside another one...
What we're trying to do, for starters, is create a Jar containg the
SimpleChat Java client. We'd like it to contain all the classpath
information necessary but we keep getting the following error:
java.lang.NoClassDefFoundError: org/xmlBlaster/client/I_Callback
Our Maven depencies look like this:
<dependency>
<groupId>xmlBlasterClient</groupId>
<artifactId>xmlBlasterClient Jar</artifactId>
<jar>xmlBlasterClient.jar</jar>
<type>jar</type>
</dependency>
We've built the dist-client jar and put it in Maven's local
repository so the build is succesful.. but the xmlBlasterClient.jar
is not included in the produced jar.
Even if we run it with something like : java -classpath
~/xmlBlaster/dist-client/lib/xmlBlasterClient.jar -jar
simpleChat-0.1.jar
We still get the same error....
I hope someone can give us a few pointers as we've found very little
documentation on how to start a simple XmlBlaster application.
regards,
Nelson Silva