On Wed, May 28, 2008 at 4:21 PM, Jeff Sexton <[EMAIL PROTECTED]> wrote:
> Here's my last question for today.....
>
> One of the things I need to change is the close() method on an
> XMPPConnection object (from the smack jar) which is now disconnect(). I
> changed it in XMPPEndPoint.java and replaced the two smack jars in
> servicemix-xmpp/version_1/lib with the latest editions.
>
> However, "mvn install" fails telling me that disconnect() is not found in
> org.jivesoftware.smack.XMPPConnection. I don't see any other smack jars on
> the system. What's it building against? There's another change that's
> behaving the same way. And those are the only two errors I have.
That's because you need to change the smack jars version in the SMX
root pom.xml file where the smack version is listed. Changing the
version where you did is just a hack and won't affect anything. After
you change the root POM, you'll need to build from the top level using
a single command:
mvn -Dmaven.test.skip=true clean install
Because you've already built SMX once using the two-step build
process, you won't need to do the two-step build again until the
version changes.
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Blog: http://bruceblog.org/