ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sachin Shah <>
Subject RE: EJB weblogic Tasks
Date Wed, 29 Aug 2001 03:59:36 GMT
Hi ,

	I m also trying to do the same. For ejbc task to get executed you
will have to put the optional jar in your classpath as it is mentioned in
the message. Another thing is u don't have mention the jar name but the
directory where ur descriptors are present. If you r using 1.3 then ejbc in
1.3 takes the serialized dd and not xml files i don't know about 1.4. This
would be much clear if u go through the manual -> Optional Tasks -> Ejb

Hope this will help


-----Original Message-----
From: Edgar "Sánchez []
Sent: Wednesday, August 29, 2001 6:07 AM
Subject: EJB weblogic Tasks

 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}"/>

  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"

 but the following error came out:


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

   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??




"Puedes sentirte desilusionado si fallas, pero estás condenado si no lo

"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

View raw message