You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Martin, Jim" <Ja...@rsd.cendant.com> on 2001/09/06 23:07:17 UTC

Ant 1.4 and Java weblogic.ejbc20 command problems

Hi all,

I'm getting this error:
ejbc:
     [java] error: cannot read: C:\dev\Message Broker
System\ejbcgen\com\cendant
\ejbs\LDAP\*.java
     [java] 1 error
     [java] Exec failed .. exiting
     [java] Java Result: 1

When trying to execute this task:
	<target name="ejbc" depends="jar_ejbs">
		<java classname="weblogic.ejbc20" fork="yes">
			<sysproperty key="weblogic.home"
value="${WL_HOME}"/>
			<arg line="-compiler javac  ${build}/hit_cendant.jar
${build}/hit_cendant_ejb.jar "/>
			<classpath>
				<pathelement
path="${WL_HOME}/lib/weblogic_sp.jar;${WL_HOME}/lib/weblogic.jar"/>
			</classpath>
		</java>
	</target>

Where hit_cendant.jar appears to be a valid jar file, which will deploy
correctly when dropped into the applications directory in wls6.1.

The jar file contains:
com/cendant/ejbs/LDAP/LDAPEJB.class
com/cendant/ejbs/LDAP/LDAPEJBBean.class
com/cendant/ejbs/LDAP/LDAPEJBException.class
com/cendant/ejbs/LDAP/LDAPEJBHome.class
meta-inf/ejb-jar.xml
meta-inf/weblogic-ejb-jar.xml
meta-inf/Manifes.mf

Any ideas?
TIA
Jim



"The sender believes that this E-mail and any attachments were free of any
virus, worm, Trojan horse, and/or malicious code when sent.  This message
and its attachments could have been infected during transmission.  By
reading the message and opening any attachments, the recipient accepts full
responsibility for taking protective and remedial action about viruses and
other defects.  The sender's employer is not liable for any loss or damage
arising in any way from this message or its attachments."