ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <sbaill...@imediation.com>
Subject RE: Newbie with javac classpath problem
Date Sat, 28 Apr 2001 17:42:14 GMT
> -----Original Message-----
> From: Bill Pfeiffer [mailto:wsplist1@tampabay.rr.com]
> 
> 
> Attempt 1:
> 
> <javac srcdir="${ejbsrc}" destdir="${ejbbuild}"
> classpath="${utildir}/oasis-util.jar,${ejbbuild},${jboss-lib-e
> xt}/ejb.jar,${
> jboss-lib-ext}/jndi.jar,${jboss-lib-ext}/activation.jar,${jbos
> s-lib}/jdbc2_0
> -stdext.jar"/>

Use : or ; for path separator. Not ,

> Attempt 2:
>   <javac srcdir="${ejbsrc}" destdir="${ejbbuild}">
>    <classpath>
>     <pathelement location="${utildir}/oasis-util.jar"/>
>     <pathelement location="${jboss-lib-ext}/ejb.jar"/>
>     <pathelement location="${jboss-lib-ext}/jndi.jar"/>
>     <pathelement location="${jboss-lib-ext}/activation.jar"/>
>     <pathelement location="${jboss-lib}/jdbc2_0-stdext.jar"/>
>     <pathelement location="${ejbbuild}"/>
>    </classpath>
> 
> Attempt 1 will get the first jar but no others.  Attempt 2 
> doesn't seem to pick up any.

jar that do no exist are not included in the classpath, it might be because
the path is not correct.

-- 
 St├ęphane Bailliez 
 Software Engineer, Paris - France 
 iMediation - http://www.imediation.com 
 Disclaimer: All the opinions expressed above are mine and not those from my
company. 



Mime
View raw message