User: ibruell
Date: 01/07/23 11:38:40
Modified: src/docs howtoejbdoclet.xml
Log:
Remarks to the renaming of EJBDoclet to XDoclet.
Revision Changes Path
1.4 +29 -4 manual/src/docs/howtoejbdoclet.xml
Index: howtoejbdoclet.xml
===================================================================
RCS file: /cvsroot/jboss/manual/src/docs/howtoejbdoclet.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- howtoejbdoclet.xml 2001/07/13 16:07:13 1.3
+++ howtoejbdoclet.xml 2001/07/23 18:38:40 1.4
@@ -2,7 +2,7 @@
<!-- brief howto for using ejbdoclet -->
<section id="howtoejbdoclet">
- <title>How to use EJBDoclet</title>
+ <title>How to generate Beans with EJBDoclet (XDoclet)</title>
<subtitle>In work(!)</subtitle>
<para>Author:
@@ -21,8 +21,16 @@
</para>
<para>
EJBDoclet is a OpenSource project initiated by Rickard Oberg which stays at
- <ulink url="http://sf.net/projects/ejbdoclet">sourceforge.net</ulink>.
+ <ulink url="http://sourceforge.net/projects/ejbdoclet">
+ http://sourceforge.net/projects/ejbdoclet</ulink>.
</para>
+ <para>
+ EJBDoclet has renamed to XDoclet and a new project with this name was initiated.
+ For now no release with the new name is available, but all questions about
+ EJBDoclet and in the future for XDoclet goes to the new mailing lists from
+ XDoclet hosted at <ulink url="http://sourceforge.net/projects/xdoclet">
+ http://sourceforge.net/projects/xdoclet</ulink>
+ </para>
<section id="ejbdoclet-requirements">
<title>Requirements</title>
@@ -236,7 +244,7 @@
<programlisting><![CDATA[
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
- $Revision: 1.3 $ $Date: 2001/07/13 16:07:13 $ $Author: ibruell $
+ $Revision: 1.4 $ $Date: 2001/07/23 18:38:40 $ $Author: ibruell $
-->
<project name="test" default="main" basedir="../..">
@@ -281,6 +289,7 @@
destdir="${src.dir}"
packagenames="test"
classpath="${classpath};${basedir}/lib/ejbdoclet.jar"
+ ejbspec="1.1"
excludedtags="@version,@author">
<dataobject/>
<remoteinterface/>
@@ -409,12 +418,27 @@
]]></programlisting>
</para>
<para>
+ I have splitted the generating beans and creating the application in different
+ tasks. To generate the beans call "build buildbeans" and to create the
+ application call "build".
+ </para>
+ <para>
+ EJBDoclet throws some Exceptions at the first call, they could be ignored,
+ however.
+ </para>
+ <para>
The build.xml generates first PrimaryKey and DataObject classes, Home and
Remote Interfaces and ejb-jar.xml, jboss.xml and jaws.xml descriptors. The
java files are then compiled into the build/classes directory. After that the
files would be archived in test.jar in dist/deploy, however. Now the jar file
could be deployed in jboss.
</para>
+ <para>
+ If you are using ejbspec="2.0" or nothing (default is "2.0") than it is
+ possible that jboss does not find the dtd's defined in the deployment
+ descriptors just remove this lines or comment them out. For me I have changed
the
+ templates from ejbdoclet so they do not generate these lines.
+ </para>
</section>
@@ -423,7 +447,8 @@
<para>
A brief explanation of all possible parameters and a complete example
you can find in the ejbdoclet archive, that could be downloaded from
- <ulink url="http://sf.net/projects/ejbdoclet">sourceforge</ulink>.
+ <ulink url="http://sourceforge.net/projects/ejbdoclet">
+ http://sourceforge.net/projects/ejbdoclet</ulink>.
</para>
</section>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development