ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Ikeda <anthony.ik...@proxima-tech.com>
Subject RE: Can't get <classpath> to work.
Date Tue, 23 Jan 2001 02:41:51 GMT
Thanks, this worked without a hitch.

Cheers,
Anthony Ikeda,
Web Application Developer,
Proxima Technology,

Level 13,
181 Miller Street,
North Sydney
Australia


PH: +612-9458-1718
Mob: 041 624 5143


> -----Original Message-----
> From: Nico Seessle [mailto:Nico.Seessle@epost.de]
> Sent: Tuesday, 23 January 2001 11:25 AM
> To: ant-user@jakarta.apache.org
> Subject: Re: Can't get <classpath> to work.
> 
> 
> ----- Original Message -----
> From: "Anthony Ikeda" <anthony.ikeda@proxima-tech.com>
> To: "Ant-User (E-mail)" <ant-user@jakarta.apache.org>
> Sent: Tuesday, January 23, 2001 1:03 AM
> Subject: Can't get <classpath> to work.
> 
> 
> > I've tried this for a week now and still can't get it to work. Going
> through
> > the archives reveals only that people refer to this as 
> $(classpath) but do
> > not show where this variable is defined.
> 
> You would define this as a property in an appropriate place. 
> But it has
> nothing to do with <classpath>-elements inside your buildfile 
> unless you
> reference the property using ${classpath}.
> 
> > Here is a sample of my code that
> > can't find the libraries:
> >
> [...]
> > <path id="home.path">
> > <pathelement location="D:\Program Files\jdk1.3\lib" />
> > <pathelement location="D:\Program Files\jakarta-tomcat\lib"
> 
> I think the main problem is that the definition of your 
> classpath is wrong.
> The way you define it it only points to directories and would 
> work if you
> unjar the jar/zip files which are located there. If you would like to
> include all the jar-files located in these directories you should use
> something like
> 
> <path id="home.path">
>    <fileset dir="D:\Program Files\jdk1.3\lib">
>         <include name="**/*.jar"/>
>    </fileset>
>    <fileset dir="D:\Program Files\jakarta-tomcat\lib">
>         <include name="**/*.jar"/>
>    </fileset>
> </path>
> 
> Nico
> 
> 

Mime
View raw message