ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "EN,THEA (HP-Switzerland,ex1)" <thea...@hp.com>
Subject ejbjar error
Date Thu, 27 Feb 2003 10:57:31 GMT
hello i am getting this error when i try and use ejbjar and weblogic
together.  i have read the mail archives and have come across a posting for
this problem but there was no solution posted.  if someone has found the
solution i would appreciate a post on it.

below is the error message i get and a snippet from my build.xml. i think i
have correctly declared everything according to the guidelines.  not sure
what to do next.  

error message:
[ejbc] ERROR: You must specify a source ejb-jar file ending with the suffix
.jar for weblogic.ejbc

snippet from build.xml:
<target name="generate_ejb_jars" depends="create_vo_jar">	
	<ejbjar descriptordir="${src}/META-INF" srcdir="${build}"
destdir="${dist}" dependency="none">	
	<weblogic destdir="${dist}" 
		keepgeneric="true" 
		args="-g -keepgenerated ${ejbc.compiler}" 
		suffix=".jar"	
		newCMP="true">
	<classpath>
		<pathelement path="project.class.path"/>
		<pathelement location="${lib}\weblogic.jar"/>
		<pathelement location="${dist}\recipeVo.jar"/>
	</classpath>		
	</weblogic>		
		<include name="**/ejb-jar.xml"/>
      	<include name="**/weblogic-ejb-jar.xml"/>
		<include name="**/weblogic-cmp-rdbms-jar.xml"/>
<dtd publicId="-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN" 
		location="${src}/dtd/weblogic-ejb-jar.dtd"/>
	<dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
2.0//EN" 
		location="${src}/dtd/ejb-jar_2_0.dtd"/>
	<dtd publicId="-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN" 
		location="${src}/dtd/weblogic-rdbms20-persistence-600.dtd"/>
	</ejbjar>
</target>

thank you in advance

thea

Mime
View raw message