powered by Jive Software

Build Problem

Buildfile: build.xml

init:

Expanding: E:\jabber\jive_messenger_src\build\lib\merge\whack.jar in

to E:\jabber\jive_messenger_src\target\whack

compile:

Compiling 278 source files to E:\jabber\jive_messenger_src\target\cl

asses

E:\jabber\jive_messenger_src\src\java\org\jivesoftware\database\JNDI

DataSourceProvider.java:113: cannot find symbol

symbol : constructor InitialContext(java.util.Properties)

location: class javax.naming.InitialContext

context = new InitialContext(contextProperties);

^

Note: * uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

1 error

BUILD FAILED

E:\jabber\jive_messenger_src\build\build.xml:241: Compile failed; see the compil

er error output for details.

I don’'t really know what the problem is.

Maybe there is some problem in jive_messenger_src_2_2_2.zip,I’'m not sure.

By the way,how could I get the newest source version of Jive Messenger?

Jive Messenger 2.3.0_beta_1 – October 8, 2005

Thank you very much!

Hi swark,

What version of the JDK are you using to build Messenger?

By the way,how could I get the newest source version of Jive Messenger?

You can download the latest nightly source url=http://www.jivesoftware.org/nightly.jsphere[/url].

Thanks,

Ryan

My JDK version is 1.5.0

I download the latest version of the source code,and build,the problem still exist.

The cmd output as follows:

E:\jabber\jive_messenger_src_2005-10-09\build>ant

Buildfile: build.xml

init:

Expanding: E:\jabber\jive_messenger_src_2005-10-09\build\lib\merge\w

hack.jar into E:\jabber\jive_messenger_src_2005-10-09\target\whack

compile:

Compiling 291 source files to E:\jabber\jive_messenger_src_2005-10-0

9\target\classes

E:\jabber\jive_messenger_src_2005-10-09\src\java\org\jivesoftware\da

tabase\JNDIDataSourceProvider.java:113: cannot find symbol

symbol : constructor InitialContext(java.util.Properties)

location: class javax.naming.InitialContext

context = new InitialContext(contextProperties);

^

Note: * uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

1 error

BUILD FAILED

E:\jabber\jive_messenger_src_2005-10-09\build\build.xml:240: Compile failed; see

the compiler error output for details.

Total time: 6 seconds

Is that something wrong with JDK?

My JDK version as follows:

E:\jabber\jive_messenger_src_2005-10-09\build>java -version

java version “1.5.0_05”

Java™ 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)

Java HotSpot™ Client VM (build 1.5.0_05-b05, mixed mode, sharing)

Thank you very much!

Hi Swark,

Looks like you have the right JRE installed, what do you see when you type “javac -version”?

Thanks,

Ryan

As follows:

E:\jabber\jive_messenger_src\build>javac -version

javac 1.5.0-beta2

javac: no source files

Usage: javac directly to the runtime system

Thanks!