Re: [Xdoclet-user] getLocalHome()

2002-06-21 Thread [EMAIL PROTECTED]
i did some more poking around. the getLocalHome() example in samples/src/java/test/ejb/CustomerBean.java is commented out. so maybe this isn't supposed to work? in any case, i see that i can pass a different template to . is this the best practice for getting a work getLocalHome() or is there an

[Xdoclet-user] Question about classpath

2002-06-21 Thread Frederick N. Brier
The newly refactored XDoclet no longer has you specify the classpath in the the task element.  It appears that that function is satisfied by the classpath element in the element.  However even though my class path includes jboss-jmx.jar which contains the javax.management.ObjectName class, I am g

RE: [Xdoclet-user] Dataobjects v. Valueobjects

2002-06-21 Thread Brian Topping
> -Original Message- > From: Vincent Harcq [mailto:[EMAIL PROTECTED]] > Subject: Re: [Xdoclet-user] Dataobjects v. Valueobjects > > What can I do more ? Cool! As a point of note to those searching list archives, make a note as you learn Xdoclet to do a `find xdoclet -name '*.html' -print

[Xdoclet-user] getLocalHome()

2002-06-21 Thread [EMAIL PROTECTED]
hi, can someone show me how to use Util.getLocalHome()? my generated Util class has getHome(), getHome(Hashtable), and getLocalHome(). when i call getLocalHome() i get Need to specify class name in environment or system property, or as an applet parameter, or in an application resource fi

Re: [Xdoclet-user] help with valueobject change (?) in recent cvs

2002-06-21 Thread David Ward
I figured this out... 1) I didn't need the generated src fileset in my ejbdoclet task. 2) Downloading this afternoon's cvs version got me past my first problem of "The Bean class is needed...for interface GroupLocal" 3) I still got the problem of "The Bean class is needed...for interface java

[Xdoclet-user] BMP Support

2002-06-21 Thread Joao Miguel Garcia
Hi Guys,   My question is “Does Middlegen and Xdoclet support BMP?”   Middlegen:   I’ve configured my build.xml with the bmp20 pluggin but it seems that I write cmp20. The generated xxxBean.java is exactly the same!   Is this normal???   XDoclet:   I had made Bean.java from

[Xdoclet-user] Middlegen problems

2002-06-21 Thread Joseph Parks
I am unable to get MiddleGen running.   I keep getting a NullPointerException.   OS: Win2k SP2 JDK: 1.4.0_01 Ant: 1.5b1   Middlegen CVS snapshot from this morning.   Does it work for anyone else?   Thanks, Joe

[Xdoclet-user] EJBDoclet beginners question

2002-06-21 Thread Leif Jantzen
Hi folks, Problem: No output to ejb-jar.xml when session bean does not directly implement javax.ejb.SessionBean. My session bean extends an abstract class that implements javax.ejb.SessionBean. How do I make EjbDoclet recognise my SessionBean and create the necessary descriptors in ejb-jar

Re: [Xdoclet-user] help with valueobject change (?) in recent cvs

2002-06-21 Thread David Ward
Hi Vincent, I added a underneath to my generated source directory and my problem still exists. Why would it be that only is having trouble? If I comment out , everything else generates fine. Has the code for generating valueobjects changed within the last week/week-and-a -half? Here's

[Xdoclet-user] [Finders] Adding finders... Again!

2002-06-21 Thread Joao Miguel Garcia
Hi Marcus,   I’ ve added some ejb-finders-...xml to my project but it updates correctly the ejb-jar.xml but the …LocalHome.java created by XDoclet doesn’ t contain any new finders….   Is this normal???   I’ m in a kind of rush for this…   Thanks,   João Miguel Garcia [EMAIL PROTE

Re: [Xdoclet-user] help with valueobject change (?) in recent cvs

2002-06-21 Thread Vincent Harcq
Hi David Ward wrote: > No, it is here: > ${src.home}/com/dotech/gizzard/persistence/ejb/GroupBean.java > , which is a match for this fileset declaration I have: > > > The big difference I see in the samples build file against mine is > that the samples build file doesn't use a packageSubstitu

Re: [Xdoclet-user] help with valueobject change (?) in recent cvs

2002-06-21 Thread David Ward
No, it is here: ${src.home}/com/dotech/gizzard/persistence/ejb/GroupBean.java , which is a match for this fileset declaration I have: The big difference I see in the samples build file against mine is that the samples build file doesn't use a packageSubstitution as a sub-element of . Instead

[Xdoclet-user] Exception in importList

2002-06-21 Thread Frederick N. Brier
I am working at moving JBoss over to the refactored XDoclet in CVS, and am almost there, but have run into an exception that has me stumped.  I just checked out the latest XDoclet this morning, same error.  The build.xml looks as follows:     RE: RE: [Xdoclet-user] Very slow performance over network drive
So if it's that slow, what do you think about keeping a hashtable of found classes and packages in xjavadoc? Btw I'm sure it'll be faster than Class.forName in system classpath too. Also another BIG improvement is adding a isBinary() method to XClass or even a (...,boolean accept_binary) to all m