You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Edgar S�nchez <ve...@yahoo.com> on 2001/08/30 20:07:30 UTC

Descriptors

I everyone....

   I'm still with the problem that you have been
reading through this days.  So I change my point of
view an trying to use de ejbc task.  But i came with
the next question, what is a descriptor, i read the
documentation, but its not clear to me...

  a descriptor is the jar file created with the jar
task? which has all the compilled .java files??
because i'm using the next tarjet, all the directories
are in hard code, to avoid direction problems:

  <target name="buildEJBOptdos">
  <!--
D:/vicsa/Construccion/DeployTest/vicsa/intelgas/afiliacion/EJB/META-INF/
-->
     <property name="CLASSPATH"
Value="appServer/segUtil.jar;appServer/arqUtil.jar;${RUTA_JDK}/lib/tools.jar;${RUTA_JDK}/lib/dt.jar;${RUTA_JDK}/jre/lib/rt.jar;${RUTA_JDK}/jre/lib;${RUTA_WEBLOGIC}/lib/weblogic.jar;${RUTA_LOG4J_LIB}/log4j.jar;d:/j2sdkee1.2.1/lib/j2ee.jar;%CLASSPATH%"/>
     <ejbc
descriptors="D:/vicsa/Construccion/DeployTest/HelloEJBAfil.jar"
          
src="D:/vicsa/Construccion/vicsa/intelgas/afiliacion/EJB"
          
dest="D:/vicsa/Construccion/DeployTest/vicsa/appServer/"
           manifest="afiEJB.jar"
           classpath="${CLASSPATH}">
       </ejbc>
  </target>

when the compilation starts, the next message is
displayed:

buildEJBOptdos:

BUILD FAILED

D:\vicsa\Construccion\afiliaciontest.xml:76:
descriptors directory
D:\vicsa\Construccion\DeployTest\HelloEJBAfil.jar is
not valid


so, what kind of descriptor is it talking about??

thanks in advance.
VES

=====

_________________________________________________________________

"Puedes sentirte desilusionado si fallas, pero est�s condenado si no lo intentas."

"You can get disappointed if you fail down, but you are doomed if you do not try it."

ICQ #  22338121


__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com