ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karen Davies <>
Subject setting classpath using classpathref attribute
Date Thu, 30 May 2002 13:40:07 GMT
Hi all,
I've just created a simple build file, setting the classpath as follows:

<path id="test.classpath">
      <pathelement path="${weblogic}"/>
      <pathelement location="lib\ejb.jar"/>

<target name="compile" depends="init" description="compile the simple source
files" >    
    <javac srcdir="${src}/Lakelands/market2uutility" destdir="${build}"

However, when i run ant it does not pick up this classpath at all, it will
only pick it up if i set is as:

<javac srcdir="${src}/Lakelands/market2uutility" destdir="${build}"

If anyone has any suggestions as to what i'm doing wrong, much appreciated.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message