I have an Ant build which works fine on Windows, but seems to flake out when I bring it over to Linux. The issue is here:
[xslt]
java.lang.ClassNotFoundException
:org.apache.tools.ant.taskdefs.optional.TraXLiaison
I have already tried the following:
- Putting
xalan.jar
,xercesImpl.jar
andxml-apis.jar
in the$ANT_HOME/lib
directory. - Putting them into the classpath from within the build file
- Installing ant's optional classes.
I'm using an EC2 Linux instance (Basic 64-bit Amazon Linux AMI 2011.02.1 Beta (AMI Id: ami-8e1fece7) Amazon Linux AMI Base 2011.02.1, EBS boot, 64-bit architecture with Amazon EC2 AMI Tools.)
The frustrating thing is that I DID have it working, and then when I packed everything up and moved it to another machine, BOTH machines stopped working. :(