Quantcast
Channel: Ignite Realtime : Popular Discussions - Fastpath Webchat
Viewing all articles
Browse latest Browse all 1605

Need help compiling openfire/webchat!

$
0
0

I need to make some revisions to webchat, so I'm trying to compile webchat with ant, and I can't seem to find some of the dependencies (mainly Jetty, and other eclipse libraries). Here's what I've got:

 

Ubuntu VM running version 12.04

Java version 1.6.0_24

Ant version 1.8.2

 

webchat source from https://svn.igniterealtime.org/svn/repos/fastpath/webchat

openfire source from https://svn.igniterealtime.org/svn/repos/openfire

 

webchat's build.xml modified to allow ant 1.8 per this thread: http://community.igniterealtime.org/message/204367

also modified line 43 to point to my openfire directory:     <property name="openfire.home" value="${basedir}/../../openfire" />

 

patched all references in openfire code from "org.mortbay.jetty" to "org.eclipse.jetty" (ex: lines 27-38 of AdminConsolePlugin.java)

 

What I need now, is to know where I get Jetty from? I've tried downloading the source, which almost works, but then it wants more and more dependencies of that source (and how do I know I'm finding the right versions?). I've also noticed that the build/lib/merge directory has a lot of jetty-XXX.jar files, which it seems to me would be the easiest to use, but either I can't use them to compile, or Ant isn't including them? I guess I don't know enough about the compiling process, and what exactly Ant is doing? I've read through the build.xml, and I have a primitive idea of what's going on. I've even tried some <echo> statements here and there, but they don't seem to work...

 

I don't know too much about Java, and it's been a while since I've used it, but it seems like there should be an easier way to compile this than scouring the internet for a seemingly endless stack of depenencies.

 

What I'm really looking for is some direction from the developers/comunity. Where should these dependencies be found, and is there something wrong with my environment that's making this not work?

 

I should add that I've successfully compiled Spark, Spark's fastpath plugin, and some other plugins for Spark. It's just Openfire that's giving me all this trouble.

 

Thanks in advance! What a great project!


Viewing all articles
Browse latest Browse all 1605

Trending Articles