Here is the weblogic support so far. (Sorry for the delay, Andreas). There
are 4 new files, which are attached:
core/src/xdoclet/ejb/vendor/WebLogicSubTask.java
core/resources/xdoclet/ejb/vendor/weblogic-cmp-rdbms-jar-xml.j
core/resources/xdoclet/ejb/vendor/weblogic-ejb-jar-xml.j
core/docs/weblogic.html
There are also two EJB files with tags (for both EJBGen and XDoclet) that I
have used for testing.
It's all in the attached zip file. Sorry it's all flat. You'll have to copy
files to their respective locations (see list above).
Further, I had to modify two files to get it running:
diff -r1.35 AbstractEjbSubTask.java
1885c1885,1889
< String type = methodType();
---
> if( isACollection() )
> {
> generate( template );
> }
> }
1887c1891,1902
< if( type.equals( "java.util.Collection" ) || type.equals
( "java.util.Set" ) )
---
> /**
> * Evaluates the body block if current method's return type is not a
> * java.util.Collection or java.util.Set. Used by
forAllRelationships.
> *
> * @param template The body of the block tag
> * @exception BuildException Throw to stop the build process
> * @see #forAllRelationships(java.lang.String)
> * @doc:tag type="block"
> */
> public void ifIsNotACollection( String template ) throws
BuildException
> {
> if( !isACollection() )
1910a1926,1938
> }
>
> /**
> * Returns true if current method's return type is a
java.util.Collection
> * or java.util.Set, false otherwise.
> *
> * @return true if Collection or Set
> */
> protected boolean isACollection()
> {
> String type = methodType();
>
> return ( type.equals( "java.util.Collection" ) || type.equals
( "java.util.Set" ) );
And this one:
diff -r1.9 EjbDocletTask.java
40a41
> private WebLogicSubTask webLogic;
124a126,131
> public WebLogicSubTask createWebLogic()
> {
> webLogic = new WebLogicSubTask();
> return webLogic;
> }
>
155c162
< this.webSphere, this.apachesoap,
this.strutsformsubtask} );
---
> this.webSphere, this.webLogic, this.apachesoap,
this.strutsformsubtask} );
I have discovered a few bugs too. See separate posting.
Regards, Aslak Helles�y
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel