Try using the optional.jar. It's a separate download at Ant's download
site.
-- Don
--- Kev K <[EMAIL PROTECTED]> wrote:
> I'm trying to run this code below....and I'm getting
> the following error:
> BUILD FAILED
>
> C:\Testing\ANT\autoBuild.xml:18:
> java.lang.ClassNotFoundException: org.apache.to
> ols.ant.taskdefs.optional.XalanLiaison
>
> I need the jar file that contains the class in the
> error message above. I didn't find this in the list of
> dependencies and I didn't find this class in
> lib\ant.jar.
> Do you know where I can get the jar file?
>
> ......................................
> <project name="xslt" default="init"
> basedir="c:\Testing\ANT">
>
> <patternset id="L300.depend" >
> <include name="/models/L300/*.xml"
> if="isL300Depend"/>
> </patternset>
>
> <target name="init">
> <property name="dependencies"
> value="/dependencies"/>
> <property name="output" value="/output"/>
> <property name="xsl.file"
> value="/xml/partnerships.xsl"/>
> <property name="isL300Depend" value="true"/>
> </target>
>
> <target name="jhtml" depends="init">
> <style basedir="./xml" destdir="${output}"
> extension=".jhtml" style="${xsl.file}"
> processor="xalan">
> <exclude name="autobuild.xml"/>
>
> </style>
> </target>
>
> </project>
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/