ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Pfeiffer" <wspli...@tampabay.rr.com>
Subject Re: Newbie with javac classpath problem
Date Sun, 29 Apr 2001 02:22:33 GMT
Actually, after I turned debug on, I found that the comma , seperator works
fine.  I had commented some import statements fixing an earlier problem.
User Error.

Oh well,

Thanks for the response,

Bill Pfeiffer
----- Original Message -----
From: "Stephane Bailliez" <sbailliez@imediation.com>
To: <ant-user@jakarta.apache.org>
Sent: Saturday, April 28, 2001 1:42 PM
Subject: RE: Newbie with javac classpath problem


> -----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