Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
EjbJar task with WAS elements?

EjbJar task with WAS elements?

2003-02-10       - By Mika Moilanen
Reply:     1     2     3     4     5  


Hello

I'm playing with ANT1.5.1's EjbJar task with nested Websphere
elements.

The current problem is that deploytool can't find all the dependendant
classes when compiling EJB:

----------------------------------------------------------
[ejbdeploy] [*Error] /ejb-generic.jar(Class: com.foo.Bar): CHKJ2907E: Type com
.foo.Bar, or one of its supertypes, cannot be reflected. Check the classpath
----------------------------------------------------------

Setting of CLASSPATH didn't help, so I tried to utilize EjbJar's
"dependency="full" attribute. This, however, fails, because I don't
have the correct bcel.jar:

----------------------------------------------------------
 [ejbjar] Unable to load dependency analyzer: org.apache.tools.ant.util.depend
.bcel.FullAnalyzer
----------------------------------------------------------

The one I've has a package structure "org/apache/bcel/", not
"org/apache/tools". Where I can find the correct bcel.jar?

--
Best Regards,
  Mika
----------------------------------------------------------
mikmoila@(protected)  phone: +358-0-511-23587
Nokia Networks, PO box 320, FIN-00045 NOKIA GROUP, Finland
----------------------------------------------------------



©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.