-
1. Re: Tutorial 1.3.0 question
anewby Oct 15, 2004 2:17 AM (in response to askesis)Is anything being generated at all?
If you see the ejb deployment descriptors being generated, then you know your bean is being processed by XDoclet. You should look carefully at the XDoclet tags on your business and home methods to make sure they are correct. Also, make sure that the package substitution directives are correct.
If you don't even see deployment decsriptors then look at your XDoclet EJB configuration and make sure your fileset definition is accurate.
Also, more information (like the ANT output) would be helpful.
Finally, you can set the verbose option to "true" in the ejbdoclet task and examine the output carefully -
2. Re: Tutorial 1.3.0 question
anewby Oct 15, 2004 2:19 AM (in response to askesis)Sorry - forgot to answer your other question:
The tutorial prodecure is accurate. -
3. Re: Tutorial 1.3.0 question
askesis Oct 15, 2004 6:36 AM (in response to askesis)After "run XDoclet" no tutorial.interfaces is generated/visible. The deployment descriptors are generated. All project settings are checked and OK.
Eclipse 3.0.1, JBoss IDE 1.3.0
The ant output (ejbdoclet verbose option set to "true"):
Buildfile: D:\Workspace\Tutorial\xdoclet-build.xml
N10004:
[ejbdoclet] (XDocletMain.start 47 ) Running
[ejbdoclet] (XDocletMain.start 47 ) Running
[ejbdoclet] (XDocletMain.start 47 ) Running
[ejbdoclet] (XDocletMain.start 47 ) Running
_generation_:
BUILD SUCCESSFUL
Total time: 3 seconds -
4. Re: Tutorial 1.3.0 question
anewby Oct 15, 2004 4:01 PM (in response to askesis)Two more questions:
1. Could you please post the XDoclet tag you are using for the session bean's compute() method
2. Have you added the remoteinterface and homeinterface subtasks to your XDoclet EJB configuration
Adrian -
5. Re: Tutorial 1.3.0 question
askesis Oct 15, 2004 5:27 PM (in response to askesis)XDoclet tag (generated):
/**
* Business method
* @ejb.interface-method view-type = "remote"
*/
remoteinterface: yes
homeinterface: yes
Both no properties set -
6. Re: Tutorial 1.3.0 question
anewby Oct 17, 2004 10:46 PM (in response to askesis)Try this instead:
/**
* Business method
*
* @ejb.interface-method view-type="remote"
*
*/
I had problems from time to time with added spaces and also when I didn't have a blank comment line before and after the tag.
Also, if you could post your .xdoclet file, I will try it in the tutorial project on my system to see if I can reproduce your problem. -
7. Re: Tutorial 1.3.0 question
askesis Oct 19, 2004 8:22 AM (in response to askesis)Nop, no luck. My .xdoclet file:
<?xml version="1.0" encoding="UTF-8"?> -
8. Re: Tutorial 1.3.0 question
askesis Oct 20, 2004 8:30 AM (in response to askesis)Problem solved.
Thanks to Adrian Newby, who found out that I put my source file in the bin directory, and not in the src directory.