See: http://jakarta.apache.org/ant/faq.html#xml-entity-include

Diane

--- Ralph Jocham <[EMAIL PROTECTED]> wrote:
> Hi,
> I have this file at L:\java\src\project.class.path
> 
> <!-- set up the classpath -->
> <path id="project.class.path">
>   <!-- .class file package tree -->
>   <fileset dir="L:/java/build"/>
>   <!-- in house libraries -->
>   <fileset dir="C:/ABI/arrays/lib/">
>     <include name="**/*.jar/"/>
>     <include name="**/*.zip"/>
>   </fileset>
>   <!-- external librariries -->
>   <fileset dir="c:/JBoss-2.2.2/lib/ext/">
>     <include name="**/*.jar/"/>
>     <include name="**/*.zip"/>
>   </fileset>
> </path>
> 
> and this file at l:\java\src\com\...\build.xml
> <project name="Test" default="compile" basedir=".">
> 
>   <!-- set global properties for this build -->
>   <property name="src" value="."/>
>   <property name="build" value="L:/java/build"/>
> 
>   <target name="compile">
>     <!-- Compile the java code from ${src} into
> ${build} -->
>     <javac srcdir="${src}"
>            destdir="${build}"
>          debug="on"
>          classpathref="project.class.path">
>          <include name="*.java"/>
>          <exclude name="test/**"/>
>     </javac>
>   </target>
> </project>
> 
> and I get this error : 
> Buildfile: build.xml
> 
> compile:
>     [javac] Compiling 43 source files to L:\java\build
> 
> BUILD FAILED
> 
> L:\Java\Src\com\apldbio\arrays\base\common\arrays\build.xml:12:
> Reference project.class.path not found.
> 
> Total time: 0 seconds
> 
> How can I tell Ant from where to pick up the external
> classpath file.
> 
> Thanks,
> Ralph
> 


=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

Reply via email to