Openfire Compilation problem - Pack200Task cannot be found

Hi,

I’m having the below error when I’m trying to compile the OpenFire 3.60a source - I’d like to eventually create a plugin and compile this:

atg-a2m-1{67}> ant build.xml
Buildfile: build.xml

BUILD FAILED
file:/local/mnt/workspace/a2m/openfire_src/build/build.xml:45: taskdef class com.sun.tools.apache.ant.pack200.Pack200Task cannot be found

Total time: 0 seconds

The needed jar file however is in the lib directory - as specified in the build.xml file:

atg-a2m-1{69}> jar tvf …/build/lib/pack200task.jar
0 Thu Aug 05 14:51:48 PDT 2004 META-INF/
109 Thu Aug 05 14:51:46 PDT 2004 META-INF/MANIFEST.MF
0 Thu Aug 05 14:51:46 PDT 2004 com/
0 Thu Aug 05 14:51:46 PDT 2004 com/sun/
0 Thu Aug 05 14:51:46 PDT 2004 com/sun/tools/
0 Thu Aug 05 14:51:46 PDT 2004 com/sun/tools/apache/
0 Thu Aug 05 14:51:46 PDT 2004 com/sun/tools/apache/ant/
0 Thu Aug 05 14:51:48 PDT 2004 com/sun/tools/apache/ant/pack200/
6568 Thu Aug 05 14:51:46 PDT 2004 com/sun/tools/apache/ant/pack200/Pack200Task.class
1537 Thu Aug 05 14:51:48 PDT 2004 com/sun/tools/apache/ant/pack200/Unpack200Task$FileType.class
3311 Thu Aug 05 14:51:48 PDT 2004 com/sun/tools/apache/ant/pack200/Unpack200Task.class

From the build.xml file:

Would anybody have any ideas what is the issue ?

Best Regards,

Richard

This was resolved after I used the 1.6 version of ant - I had to set ANT_HOME to pick up the latest from my /pkg/ant directory and comment out the line in /etc/ant.conf which was setting ANT_HOME.