ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edgar "Sánchez" <vesanc...@yahoo.com>
Subject EJB weblogic Tasks
Date Wed, 29 Aug 2001 00:37:15 GMT
 Hi everyone..

  sorry for the other message, the browser got crazy
and sent it with no reason....

   well this is the real question...

  I want to create an EJB, I've been having troubles
with a task in the way like...

      <java classname="weblogic.ejbc">
         <arg value="-classpath"/>
         <arg value="${CLASSPATH}"/>
         <arg value="D:/segutest/SegEJB1.jar"/>
         <arg value="appServer/${NOMBRE_JarEJBSeg}"/>
         <arg
value="D:/segutest/vicsa/appServer/segEJB.jar"/>
      </java>

  so, reading the manual I found the ejb task, that
creates an ejb for the weblogic. So, i changed my
target with this one:

     <ejbc descriptors="SegEJB1.jar"
           src="D:/segutest/" 
           dest="D:/segutest/vicsa/appServer/"
           manifest="segEJB.jar">
     </ejbc>

 but the following error came out:

BUILD FAILED

D:\segutest\segutest.xml:40: Could not create task of
type: ejbc. Common solutions are to use taskdef to
declare your task, or, if this is a
n optional task, to put the optional.jar in the lib
directory of your ant installation (ANT_HOME).




the only thing I just want to do is to put this line:

java weblogic.ejbc -compiler javac SegEJB1.jar
d:\segutest\vicsa\appServer\SegEJB.jar

   who is in DOS command to ANT!!!

Please some one could tell me how to put (translate)
that line into Ant code, and where do I have to
put the ejbc tag??

Thanks
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!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

Mime
View raw message