Problem building JM 2.2.1 from source

subj. I downloaded the source archive for JM 2.2.1, unpack, type “ant jar”, and get this:

Buildfile: build.xml

init:

Created dir: /home/edwin/code/JiveMessenger/messenger/target

Expanding: /home/edwin/code/JiveMessenger/messenger/build/lib/merge/whack.jar into /home/edwin/code/JiveMessenger/messenger/target/whack

compile:

Created dir: /home/edwin/code/JiveMessenger/messenger/target/classes

Compiling 296 source files to /home/edwin/code/JiveMessenger/messenger/target/classes

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.

jspc:

Created dir: /home/edwin/code/JiveMessenger/messenger/target/jspc

Created dir: /home/edwin/code/JiveMessenger/messenger/target/jspc/java

Created dir: /home/edwin/code/JiveMessenger/messenger/target/jspc/classes

Created dir: /home/edwin/code/JiveMessenger/messenger/target/webapp

-jspc-impl:

No public execute() in class org.apache.jasper.JspC

BUILD FAILED

/home/edwin/code/JiveMessenger/messenger/build/build.xml:417: The following error occurred while executing this line:

/home/edwin/code/JiveMessenger/messenger/build/build.xml:423: No public execute() in class org.apache.jasper.JspC

Total time: 6 seconds

Probably something silly in my build environment, but I can’'t work out what…

I’‘m running Linux, and use Sun’'s JDK 1.5.0_04

Any clues, anyone?

Hi clattuc,

Do you by chance have another jar (like j2ee-1.3.jar) somewhere in your classpath that contains another version of the JspC?

Thanks,

Ryan

Doh![/i] You were absolutely correct! I usually keep my environment CLASSPATH completely empty - exactly because of problems like this. However, my ant installation (or actually the wrapper script) picked up Sun’'s j2ee-1.3 jar… What a silly mistake.

Thanks!

Edwin