ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lynch" <>
Subject classpath not working
Date Mon, 26 Feb 2001 07:07:21 GMT

Hi All

Somehow I found my classpath setting in build.xml does not 
work at all. In my build.xml, I have

 <target name="init">
  <property name="name" value="slee" />
  <property name="src.dir" value="src" />
  <property name="websrc.dir" value="c:\inetpub\wwwroot" />
  <property name="lib.dir" value="lib" />
  <property name="rel.dir" value="rel" />
  <property name="orion.dir" value="c:\program files\java\orion" />
  <property name="ecore.dir" value="e:\dev\ecore\classes" />
  <property name="ecoreEJB.dir" value="e:\dev\slee\lib" />
  <property name="build.compiler" value="classic" />
 <target name="ejb-classes" depends="prepare">
  <javac srcdir="${src.dir}/com/truetel/slee/sleeimpl;${src.dir}/jain"
       <pathelement location="$(ecoreEJB.dir)/ecore.jar" />
       <pathelement location="${orion.dir}/ejb.jar" />
       <pathelement path="${src.dir}" />
       <pathelement location="$(ecoreEJB.dir)/ecoremiscEJB.jar" />

However, when I launch "ant -verbose", Ant 1.2 seems to use the
system default classpath, rather than what I set in the javac tag,
even if I have unset the system classpath. I have also used
<javac classpath = "xyz.jar"> without success.

So what have I missed here? Any helps?

Thanks in advance,

View raw message