ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clark, Stacie" <>
Subject RE: Ant Question
Date Wed, 28 Feb 2001 21:27:43 GMT
The needed jars, or files, are not on your classpath.

I use something like this:
 (declared at document level, not in a task)     
  <path id="project.class.path">
     <pathelement location="${basedir}\lib\xerces.jar" />
     <pathelement location="${basedir}\lib\junit.jar" />
     <pathelement location="${basedir}\lib\ejb.jar" />
     <pathelement location="${basedir}\lib\jndi.jar" />
     <pathelement location="${basedir}\lib\jms.jar" />
     <pathelement location="${build.src.dir}" />
     <pathelement location="${build.test.dir}" /> 
     <pathelement path="${java.class.path}" />

    <target name="compile_src" depends="prepare">
        <javac srcdir="${src.dir}" destdir="${build.src.dir}"
classpathref="project.class.path" />

-----Original Message-----
From: Toker, Tunc []
Sent: Wednesday, February 28, 2001 2:17 PM
To: ''
Subject: Ant Question

We are trying to use Ant in our project to build our application on a
Solaris Machine.  Our application compiles fine when we use other tools.
However, when we run it through Ant we are getting a lot of errors all
saying " cannot resolve symbol".  We first thought that during the ftp to
Solaris the files were getting corrupt but that turned out to be not true.
Do you have any idea why would this happen or have you encountered this
before. We would appreciate any feedback. Thanks a lot.....


View raw message