thanks Sachin!!
--- Sachin Shah <[EMAIL PROTECTED]>
wrote:
> 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
> Tasks
>
> Hope this will help
>
> Sachin
>
> -----Original Message-----
> From: Edgar "S�nchez [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 29, 2001 6:07 AM
> To: [EMAIL PROTECTED]
> 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}"/>
> <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/
=====
_________________________________________________________________
"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/