You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by an...@nykredit.dk on 2001/09/20 08:31:12 UTC

ant ejb classpath

Hi,

I have a question regarding the ejb classpath. I have a target that creates
and compiles a jar with ejb's (ejbc).
And then I have a target that runs som junit test. Now I would like to now
how Ant is able to know where the ejb jar file is and use the genereted
stubs in there even though the jar file is not in the classpath ?

The only place the files exists is in the jar file. So is Ant silently
adding the newly generated ejb jar file to the classpath when running or
how is this happening ?

Regards

Anders Holmbech Nielsen
Developer, Nykredit Data ITI


RE: ant ejb classpath

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
I'm not sure of your setup but it is possible for the server to download
classes to the client as needed. You could have a look at the access log to
see the class requests, IIRC.

> -----Original Message-----
> From: anhn@nykredit.dk [mailto:anhn@nykredit.dk]
> Sent: Thursday, 20 September 2001 4:31 PM
> To: ant-user@jakarta.apache.org
> Subject: ant ejb classpath
>
>
> Hi,
>
> I have a question regarding the ejb classpath. I have a target
> that creates
> and compiles a jar with ejb's (ejbc).
> And then I have a target that runs som junit test. Now I would like to now
> how Ant is able to know where the ejb jar file is and use the genereted
> stubs in there even though the jar file is not in the classpath ?
>
> The only place the files exists is in the jar file. So is Ant silently
> adding the newly generated ejb jar file to the classpath when running or
> how is this happening ?
>
> Regards
>
> Anders Holmbech Nielsen
> Developer, Nykredit Data ITI
>
>