In WL7 the weblogic jar had a classpath entry in its manifest file that
included some ant files that are in the same directory as the weblogic jar.
the ant classes may not necessarily be inside the weblogic jar, but the
solution suggested is still correct for either scenario.

-----Original Message-----
From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 11:41 AM
To: Ant Users List
Subject: RE: Problems using ant 1.6.1 with weblogic.jar in classpath


There are probably ant optional classes in the weblogic.jar. You should add
all the ant optional jars to the classpath before weblogic.jar.

-Rob Anderson

> -----Original Message-----
> From: Steve Rogers [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 21, 2004 11:31 AM
> To: [EMAIL PROTECTED]
> Subject: Problems using ant 1.6.1 with weblogic.jar in classpath
> 
> 
> When I try to use ant 1.6.1 with weblogic 6.1 sp4 jar in the 
> CLASSPATH I
> get this error:
> 
> D:\apache-ant-1.6.1\lib>set
> CLASSPATH=d:\apache-ant-1.6.1\lib\ant.jar;d:\bea\wlserver6.1\l
> ib\weblogi
> c.jar
> 
> D:\apache-ant-1.6.1\lib>ant
> "ANT_OPTS=-ms128m -mx256m"
> Apache Ant version 1.6.1 compiled on February 12 2004
> Invalid implementation version between Ant core and Ant 
> optional tasks.
>  core    : 1.6.1
>  optional: 6.1.4.0
> 
> I need the weblogic.jar to be able to run the weblogic task "wsgen"
> which I added to the defaults.properties file in the taskdefs 
> of ant.jar
> 
> Anyone else experiencing incompatabilities with ant 1.6.1 and 
> weblogic?
> This was not a problem with ant 1.5.4
> 
> Thanks
> Steve
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to