You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Kevin LaVergne <kl...@comcast.net> on 2003/09/24 18:52:33 UTC
Ant 1.6 - task logging warning with JBoss deployment
tool
Hi,
In Ant 1.6 there is a change to the JBoss deployment tool to pick up the
CMP deployment descriptor if the cmpversion attribute is 2.0. If the
deployment descriptor (jbosscmp-jdbc.xml) is not there, it logs the
following warning:
[ejbjar] Unable to locate jboss cmp descriptor. It was expected to be in
C:\views\klavergn_synergy_1.0\Public\build\tmp\ejbjars\duplicateprocess\jbosscmp-jdbc.xml
The problem is that there are no CMP beans that will go in this jar file so
this warning is not valid. We are using the "directory" naming strategy
for our EJBs and we have some that have CMP beans and others that do not.
<ejbjar descriptordir="${ejbjars.tmp.dir}" srcdir="${classes.dir}"
destdir="${ejb-jars.dir}" naming="directory" dependency="full"
cmpversion="2.0">
JBoss does not require that the jbosscmp-jdbc.xml file exist in the EJB jar
file if there are no CMP beans. Because of this, I don't think that the
warning should be written to the log if there are no CMP beans for the jar
file.
This is just a warning so I can live with it, but I'm sure that it will get
annoying after a while of seeing it.
Thanks,
Kevin LaVergne
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org