I have an Ant build that works fine on Windows, but seems to stand out when I port it to Linux. The problem is here:
[xslt] java.lang.ClassNotFoundException:org.apache.tools.ant.taskdefs.optional.TraXLiaison
I have already tried the following:
- Put
xalan.jar, xercesImpl.jarand xml-apis.jarin the directory $ANT_HOME/lib. - Entering them in the classpath from the assembly file
- Ant installation of additional classes.
I am using an EC2 Linux instance (Amazon Linux AMI Base 64-bit 2011.02.1 Beta (AMI Id: ami-8e1fece7) Amazon Linux AMI Base 2011.02.1, EBS Download, 64-bit architecture with Amazon EC2 AMI Tools.)
The depressing thing is that it worked for me, and then, when I collected everything and transferred it to another machine, the BOTH machines stopped working. :(
source
share