Openfire src and Netbeans 6.1?

Greetings All, Using Netbeans 6.1 IDE how does one load the source code from ?

Assistance is greatly appreciated.

The Jive team does not use Netbeans, but you should be able to load it up. Just create a new project from an existing Ant build script, and point it at the build/build.xml file.

You probably saw this one coming but.

How?, Netbeans allows creating a new project with exsisting content however only requests folders, it does not request or recognise a build.xml file from the off.

Another issue im having (as a “village idiot” ) is, not understanding what files are “needed”.

SVN and zip has -alot- of files/folders in it.

Go to File->New Project, select Java, then Java Free-Form.

In the source you unziped there is a “build” folder with a file build.xml in it. Just select that as the build script.

Pretty much all the files are needed; at least they are if you want to compile openfire.

Looking promising, thankyou for your assistance so far

(Document detailing exact steps may be forth coming)

Okies getting somewhere.

*+Name and location step:+ *

It asks for the location of the folder that contains the projects files (?)

as well as location of the build script. (easy bit)

Source package folders:

specify the folders that containing the java source packages and Junit tests. (?)

The folders containing java source packages are where?

You might want to do some browsing around and get familiar with the layout of the source. The directory you unziped is the “project folder”. All the java source is in src/java . The tests are in src/test.

Closer and closer

Specified src\java as where the java packages live


Specified src\test as the Junit tests.

Getting alot of “package does not exsist” errors.


being one

There are a lot of included jars in build/lib build/lib/dist and build/lib/merge you need to add.

Still missing packages from “import”

import org.apache.mina.common.*;

import org.xmlpull.v1.XmlPullParser;

import org.xmlpull.v1.XmlPullParserException;

import org.xmlpull.v1.XmlPullParserFactory;

import org.dom4j.Document;

import org.dom4j.Element;

import org.dom4j.DocumentFactory;


package org.jivesoftware.util;

import junit.framework.TestCase;

import org.jivesoftware.admin.AdminConsole;

import org.dom4j.Element;

are just a few.

Take a look at Spark compiling guide. Maybe this will shed some more light on working with NetBeans