Hi, I am trying to create one jar "etdummypc-ejb.jar" using <ejbjar> and run <weblogic> task on it. During the ant build process, only two files (DD) are added to the jar file and hence <weblogic> task fails complaining "No Enterprise Java Beans were found the jar file". Below is my directory structure: EJBs -> .\Build\classes\com\icechill\sweep\exptrans\services\dummy\*.class DD -> .\Build\classes\com\icechill\sweep\exptrans\services\dummy\META-INF\*.xml Below is the part of ant build script:
Below is the target where I invoke the above target:
When I execute "ant -buildfile wlbuild.xml doEJB", <ejbjar> task only include the 2 DD xml files. (ejb-jar.xml and weblogic-ejb-jar.xml). It never includes any of the ejb classes. Please help me with a solution. Thanks a lot. Note: I do read some properties from a file which is not mentioned in the code above. ebj-jar.xml -----------
[ March 12, 2003: Message edited by: Sai Prasad ]
posted 15 years ago
Can anyone post me a sample build.xml using <ejbjar> task? I am trying to get some answers to my earlier question. Moving up the queue...