ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject RE: We need to stop the lies
Date Tue, 26 Feb 2002 02:41:02 GMT
Jose Alberto,

Look at the attached build file. It uses ejbjar with weblogic and no
classpath. Here is the result
D:\antdev\ejb-naming\descriptor>echo %CLASSPATH%
%CLASSPATH%
D:\antdev\ejb-naming\descriptor>dir %ANT_HOME%\lib
 Volume in drive D is User
 Volume Serial Number is 6CEF-919B

 Directory of D:\Software\Ant\lib

26/02/2002  01:24p      <DIR>          .
26/02/2002  01:24p      <DIR>          ..
26/02/2002  01:24p             547,440 ant.jar
15/12/2001  07:40a             491,551 bcel.jar
07/02/2002  10:53a             206,384 crimson.jar
21/05/2001  11:19a             117,522 junit.jar
26/02/2002  01:24p             500,913 optional.jar
07/02/2002  10:53a                 309 README


Total time: 1 second
D:\antdev\ejb-naming\descriptor>ant -Dappserver.classes=d:\Software\BEA\wlse
rver6.0\lib\weblogic.jar -Ddtd.home=.
Buildfile: build.xml

main:
    [mkdir] Created dir: D:\antdev\ejb-naming\descriptor\build\classes
   [depend] Deleted 0 out of date files in 0 seconds
    [javac] Compiling 7 source files to
D:\antdev\ejb-naming\descriptor\build\classes
    [mkdir] Created dir: D:\antdev\ejb-naming\descriptor\build\deployment
   [ejbjar] building Sample.jar with 6 files
   [ejbjar] building SessionSample.jar with 5 files

BUILD SUCCESSFUL
Total time: 19 seconds

So, what is the problem you are having?

Conor


> -----Original Message-----
> From: Jose Alberto Fernandez [mailto:j_a_fernandez@yahoo.com]
> Sent: Tuesday, 26 February 2002 12:22 PM
> To: Ant Developers List
> Subject: Re: We need to stop the lies
>
>
> From: "Conor MacNeill" <conor@cortexebusiness.com.au>
>
> > Jose Alberto Fernandez wrote:
> >
> > > In the current documentation for <ejbjar> it says that we can
> use a particular element to
> > > specify the classpath for weblogic. IT DOES NOT WORK UNLESS
> WL IS IN THE CLASSPATH.
> > >
> >
> >
> > Jose Alberto,
> >
> > Can you give me more info on this?
> >
>
> Just create a buildfile and call the <ejbjar> task. Use a virgin
> installation of ANT (i.e., just ant.jar
> and optional.jar in ANT_HOME/lib.
>
> See the definition of the <weblogic> element, in particular
> 'classpath' and 'wlclasspath' attributes.
>
> Jose Alberto
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
>
>

Mime
View raw message