Thanks Stefan, this worked well. Also, I found a good note on classpath issues: Using_CLASSPATH_and_Other_APIs.doc, which can be googled on the web.
Regards, Nikhil ----- Original Message ----- From: "Stefan Bodewig" <[EMAIL PROTECTED]> To: <user@ant.apache.org> Sent: Wednesday, December 14, 2005 12:15 AM Subject: Re: Problems with building a servlet that refers an EJB > On Tue, 13 Dec 2005, <[EMAIL PROTECTED]> wrote: > > > <!-- The compile classpath --> > > <path id="compile.classpath"> > > <fileset dir="${dir.base.src}"> > > <include name="lib/**/*.jar"/> > > </fileset> > > <fileset dir="${dir.base.src}"> > > <include name="com/aptsi/applications/**/*.class"/> > > <include name="com/aptsi/applications/tsm/ejb/**/*.class"/> > > </fileset> > > </path> > > A classpath never points to the .class files but either to jar files > or directories that are roots of directory hierarchies holding .class > files. > > In your case you will want <pathelement loacation="${dir.base.src}"/> > instead of the second fileset. > > Stefan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]