Openfire + eclipse on windows XP

Hi,

I`m following this document for building a development environment.

The build was going well but I can`t run/debug openfire.

I get a warning and when I choose to proceed I get alot of errors with a critical one:

Critical Error! The home directory has not been configured,

which will prevent the application from working correctly.

The eclipse worksapce is at E:\workspace and the openfire checkout it at E:\workspace\openfire_3_4_1

I`ve changed: -DopenfireHome="$/target/openfire"

to: -DopenfireHome="$/target/openfire"

because I`ve changed openfire to openfire_3_4_1 in each place in the tutorial. Should itarget/openfire be replaced with something else?

Any ideas what am I doing wrong?

Thanks

Hi dror,

I get a warning and when I choose to proceed I get alot of errors with a critical one:

What was the warning?

And do you have E:\workspace\openfire_3_4_1\target\openfire in your file system? You should have it if your built was successful.

Hi Aznidin,

The warning was: Errors exist in required project(s)

openfire

Proceed with launch?

I don`t have the folder E:\workspace\openfire_3_4_1\target\openfire after the build.

It says on your tutorial:

“On the Ant screen, expand the Openfire XMPP Server and double-click on openfire ant task”

I clicked on anttasks because thats was the closest to it. I guess you are right and thats my mistake.

What should I click on? I didn`t find something like “openfire ant task”.

Thanks

Hi dror,

My apologies if that line is confusing.

You have to doubleclick the openfire default, not the anttasks.

That was a quick fix

It still says that there are errors in the project but when I choose to proceed it works and openfire run.

If I`m naming my project other than openfire, will this line change:

-DopenfireHome="$/target/openfire"

Thanks

It still says that there are errors in the project but when I choose to proceed it works and openfire run.

I think you won’t likely get errors, but warnings that you could safely ignore.

If I`m naming my project other than openfire, will this line change:

-DopenfireHome=“$/target/openfire”

I’m interested to know your findings