On Execution of the script i get the following error:
init: [ejbjar] building ejb.jar with 41 files
[ejbdeploy] Class "com.ibm.etools.ejbdeploy.plugin.EJBDeployPlugin" must not be on the classpath [ejbdeploy] com.ibm.etools.ejbdeploy.ConfigurationError: Class "com.ibm.etools.ejbdeploy.plugin.EJBDeployPlugin" must not be on the classpath [ejbdeploy] at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.startup(BatchDeploy.java:204) [ejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.startup(EJBDeploy.java:380) [ejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:77) [ejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:307) [ejbdeploy] EJBDeploy level: 20030726_2016-WB211-AD-V51D-GM [ejbdeploy] Java Result: 1
BUILD SUCCESSFUL Total time: 6 seconds
I am just not able to figure out the reason for this as i have set the classpath for ejbdeploy.jar which has the EJBDeployPlugin.class file. When this did not work, i copied the jar file to the lib directory...and of course... neither did that help.
If you are running your ANT script from WASD, you can do like this. Right click your build.xml and then external tools. In classpath tab, add ejbdeploy.jar and run it. If you are running from command prompt, add your ejbdeploy jar to class path and run it.
Some reason it's not finding through pathelement.
Cob is sand, clay and sometimes straw. This tiny ad is made of cob:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop