Classpath do build.xml

Pessoal, alguém poderia por gentileza me ajudar com o build.xml?

Eu quero saber se existe algum jeito de informar ao ANT as libs que minha aplicacao vai utilizar sem ter que usar um arquivo build.properties, indicando as libraries diretamente no build.xml, estou tomando este erro de libraries não encontradas na hora de fazer o deploy (jar)

[quote]init:
[echo] Criando os diretório classes, doc e dist.
compile:

[echo] Compilando o projeto.
[javac] Compiling 9 source files to D:\Cliente\requisicao\classes
[javac] D:\Cliente\requisicao\src\requisicao\util\XMLCreator.java:3: package com.thoughtworks.xstream does not exist
[javac] import com.thoughtworks.xstream.XStream;

[javac] Note: D:\Cliente\requisicao\src\requisicao\action\ExportaConsulta.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 3 errors[/quote]

Desde já agradeço alguma atenção.
vlw
[]´s

Um exemplo de BUILD.xml

<project name="AAAA" basedir="../" default="deploy">

    <!-- Project settings -->
    <property name="project.distname" value="AAAA"/>

    <!-- Local system paths -->
    <property file="${basedir}/ant/build.properties"/>
    <property name="webroot.dir" value="${basedir}/WebContent"/>
    <property name="webinf.dir" value="${webroot.dir}/WEB-INF"/>
    <property name="build.dir" value="build"/>

<<<<<<<<<ENDEREÇO DAS LIBSSSSSS>>>>>>>

    <path id="compile.classpath">
        <pathelement path ="${webinf.dir}/lib/commons-beanutils.jar"/>
        <pathelement path ="${webinf.dir}/lib/commons-collections.jar"/>
        <pathelement path ="${webinf.dir}/lib/commons-digester.jar"/>
        <pathelement path ="${webinf.dir}/lib/commons-logging.jar"/>
        <pathelement path ="${webinf.dir}/classes"/>
        <pathelement path ="${classpath.external}"/>
        <pathelement path ="${classpath}"/>
    </path>

    <!-- define your folder for deployment -->
    <property name="deploy.dir" value="deploy"/>

    <!-- Check timestamp on files -->
    <target name="prepare">
        <tstamp/>
    </target>

    <!-- Copy any resource or configuration files -->
    <target name="resources">
        <copy todir="${webinf.dir}/classes" includeEmptyDirs="no">
            <fileset dir="JavaSource">
            <patternset>
                <include name="**/*.conf"/>
                <include name="**/*.properties"/>
                <include name="**/*.xml"/>
            </patternset>
            </fileset>
        </copy>
    </target>

    <!-- Normal build of application -->
    <target name="compile" depends="prepare,resources">
        <javac srcdir="JavaSource" destdir="${webinf.dir}/classes">
            <classpath refid="compile.classpath"/>
        </javac>
    </target>

    <!-- Remove classes directory for clean build -->
    <target name="clean"
      description="Prepare for clean build">
      <delete dir="${webinf.dir}/classes"/>
      <mkdir  dir="${webinf.dir}/classes"/>
    </target>

    <!-- Build entire project -->
    <target name="build" depends="prepare,compile"/>
    <target name="rebuild" depends="clean,prepare,compile"/>

    <!-- Create binary distribution -->
    <target name="war" depends="build">
      <mkdir dir="${build.dir}"/>
      <war
        basedir="${webroot.dir}"
        warfile="${build.dir}/${project.distname}.war"
        webxml="${webinf.dir}/web.xml">
        <exclude name="WEB-INF/${build.dir}/**"/>
        <exclude name="WEB-INF/src/**"/>
        <exclude name="WEB-INF/web.xml"/>
       </war>

    </target>

    <target name="deploy" depends="war">
       <delete file="${deploy.dir}/${project.distname}.war"/>
       <delete dir="${deploy.dir}/${project.distname}"/>
       <copy file="${build.dir}/${project.distname}.war" todir="${deploy.dir}"/>
    </target>

</project>

Por exemplo, um folder inteiro:

	&lt;path id="project.class.path" description="Classpath do Projeto"&gt;
		&lt;fileset dir="projeto/lib"&gt;
			&lt;include name="**/*.jar" /&gt;
		&lt;/fileset&gt;
	&lt;/path&gt;

E aí você referencia o classpath na sua task utilizando a variável: project.class.path

&lt;classpath refid="project.class.path" /&gt;

Vlw pela força caras, tentei fazer o que vocês disseram, nao sei se fiz errado ou nao está rolando msm… desculpem a mensagem grande.

Como faço pra importar o dir inteiro, como foi dito aí em cima???
Onde entra esses códigos que vc falow?

Coloquei o seguinte bloco dentro do meu build.xml está assim, mas continuo tomando eo mesmo erro de libs nao encontradas:

[quote]…


















…[/quote]

erro:

[javac] Compiling 9 source files to D:\Cliente\requisicao\build
[javac] D:\Cliente\requisicao\src\requisicao\util\XMLCreator.java:3: package com.thoughtworks.xstream does not exist
[javac] import com.thoughtworks.xstream.XStream;
[javac] ^
[javac] D:\Cliente\requisicao\src\requisicao\util\XMLCreator.java:11: cannot find symbol
[javac] symbol : class XStream
[javac] location: class requisicao.util.XMLCreator
[javac] XStream myXstream = new XStream();
[javac] ^
[javac] D:\Cliente\requisicao\src\requisicao\util\XMLCreator.java:11: cannot find symbol
D:\Cliente\requisicao\src\requisicao\action\ExportaConsulta.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 3 errors

BUILD FAILED =/
[/quote]

Se alguém puder, please help!
Obrigado