Thanks much for this example but I am still having the same problem... I
can't figure it out...
BUILD FAILED
file:/Users/hunter/Desktop/groundswell-commerce/build.xml:108: Can't create
a localinterface element under ejbdoclet. Make sure the jar file containing
the corresponding subtask class is on the classpath specified in the
<taskdef> that defined {2}.
---
<!-- Look for all the jars that might be needed -->
<path id="xdoclet.path.ref">
<!-- xdoclet specific -->
<fileset dir="${xdoclet.class.path}">
<include name="*.jar"/>
</fileset>
<!-- jboss libs -->
<fileset dir="${jboss.client.dir}">
<include name="*.jar"/>
</fileset>
<fileset dir="${jboss.home}/lib">
<include name="xml-apis.jar"/>
</fileset>
</path>
---
<taskdef
name="ejbdoclet"
classname="xdoclet.modules.ejb.EjbDocletTask"
classpathref="xdoclet.path.ref"
/>
So, from this, I have no idea where I am going wrong...
jboss.client.dir includes jboss-j2ee.jar, which has the EJB stuff in it...
ARGHHHHH!!!!
Hunter
> From: "Rupp,Heiko" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Tue, 11 Mar 2003 08:41:25 +0100
> To: "'[EMAIL PROTECTED]'"<[EMAIL PROTECTED]>
> Subject: RE: [Xdoclet-user] Can't Run EJBDoclet
>
> Hunter,
>
> find below a (bloated) build.xml from a local example.
> This one works for me and takes additional jars from
> the JBoss libs.
>
> HTH
> Heiko
>
>
>> -----Original Message-----
>> From: Hunter Hillegas [mailto:[EMAIL PROTECTED]
>> Sent: Monday, March 10, 2003 6:46 PM
>> To: xDoclet; Andrew Stevens
>> Subject: Re: [Xdoclet-user] Can't Run EJBDoclet
>>
>>
>> Thanks again for your reply.
>>
>> Just re-sync'd and rebuilt and I still get the same error message...
>>
>> I'm using a classpathref to pass that stuff in.
>>
>> I have the following echo:
>> <echo>J2EE Class Location: ${j2ee.classes}</echo>
>>
>> that displays this:
>> [echo] J2EE Class Location: /Users/hunter/Unix/j2sdkee1.3/lib
>>
>> Is there a better way to print out the classpathref? It is defined as
>> follows:
>>
>> <path id="xdoclet.task.classpath">
>> <fileset dir="${xdoclet.class.path}">
>> <include name="*.jar"/>
>> </fileset>
>> <fileset dir="${j2ee.classes}">
>> <include name="*.jar"/>
>> </fileset>
>> </path>
>>
>> I've fiddled with this quite a bit and I'm still stumped so
>> any info you can
>> give is much appreciated.
>>
>> Thanks,
>> Hunter
>>
>>> From: Andrew Stevens <[EMAIL PROTECTED]>
>>> Reply-To: [EMAIL PROTECTED]
>>> Date: 10 Mar 2003 00:28:25 +0000
>>> To: [EMAIL PROTECTED]
>>> Subject: Re: [Xdoclet-user] Can't Run EJBDoclet
>>>
>>> On Sun, 2003-03-09 at 22:50, Hunter Hillegas wrote:
>>>> I did see that mailing list message but still couldn't fix
>> my problem... I
>>>> am running xdoclet from cvs (built on Friday), should that
>> have the fix?
>>>
>>> I believe so.
>>>
>>>> The EJB classes (from Sun's RI) are in the classpath for
>> the task... That's
>>>> why I am confused. Any other trouble shooting that I can do?
>>>
>>> Add an <echo> task just before the <ejbdoclet> to print out the
>>> classpath's value (do you use a classpathref or a nested classpath
>>> element?) and make sure it's what you expect. Also make
>> sure it's not
>>> picking up an earlier version of the xdoclet jars from anywhere.
>>>
>>> If you still can't get it working, post the relevant bits from your
>>> build script and maybe we can spot what's wrong with it.
>>>
>>>
>>> Andrew.
>>>
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> This SF.net email is sponsored by: Etnus, makers of
>> TotalView, The debugger
>>> for complex code. Debugging C/C++ programs can leave you
>> feeling lost and
>>> disoriented. TotalView can help you find your way.
>> Available on major UNIX
>>> and Linux platforms. Try it free. www.etnus.com
>>> _______________________________________________
>>> xdoclet-user mailing list
>>> [EMAIL PROTECTED]
>>> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>>
>>
>>
>> -------------------------------------------------------
>> This sf.net email is sponsored by:ThinkGeek
>> Welcome to geek heaven.
>> http://thinkgeek.com/sf
>> _______________________________________________
>> xdoclet-user mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>>
>
>
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user