powered by Jive Software

Ant jar problem

Hi, I’'ve just downloaded jive messenger v.2.3.1.

The poject gives me errors in compiling.

I’'ve got no problems in compiling previous version.

if I do an “ant jar”, I get:

XXXXX/workspace/Jive Messenger 2.3.1/src/java/org/jivesoftware/messenger/roster/Roster.java:426: cannot find symbol

symbol : class Ask

location: class org.xmpp.packet.Roster

private org.xmpp.packet.Roster.Ask getAskStatus(RosterItem.AskType askType) {

^

XXXXX/workspace/Jive Messenger 2.3.1/src/java/org/jivesoftware/messenger/handler/PresenceSubscribeHandler.java :213: cannot find symbol

and a lot of similar errors.

Am I Missing something?

Thanks

Marco

Ok, the problem was that I’'m trying to make an eclipse project and I run ant in eclipse.

If I use the project “as is” all works well.

I think there is an “import Library” problem with eclipse.

I’'ll try to find if I can solve it.

Thanks

Marco

You’'ll notice under project properties in eclipse there is a section called “Java Build Path”. You should make sure the Messenger libraries are listed under the libraries section.

Hope that helps,

Alex

I’'ve found it!:smiley:

Thanks

Marco