ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nikhil" <nik...@ap-tech-solns.com>
Subject Re: Problems with building a servlet that refers an EJB
Date Wed, 14 Dec 2005 14:24:44 GMT
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" <bodewig@apache.org>
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, <nikhil@ap-tech-solns.com> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message