Feature Requests item #472644, was opened at 2001-10-18 20:53
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402707&aid=472644&group_id=31602

Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Simon Harris (haruki_zaemon)
Assigned to: Nobody/Anonymous (nobody)
Summary: JBoss CMP 2.0 support

Initial Comment:
JBoss CMP 2.0 requires a different file (jbosscmp-
jdbc.xml) with a different format from that of CMP 1.1 
(jaws.xml).

----------------------------------------------------------------------

>Comment By: Simon Harris (haruki_zaemon)
Date: 2001-10-31 19:34

Message:
Logged In: YES 
user_id=146770

Would love a way to define the ejb-ql stuff for the finders.

----------------------------------------------------------------------

Comment By: Frank Langelage (lafr)
Date: 2001-10-28 10:22

Message:
Logged In: YES 
user_id=300021

After update of my cvs-copy I changed JBossSubTask.java to
create jbosscmp-jdbc.xml instead of jaws.xml again.
Here is the diff:

Index: xdoclet/core/src/xdoclet/ejb/vendor/JBossSubTask.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/core/src/xdoclet/ejb/vendor/JBossSubTask.java,v
retrieving revision 1.10
diff -r1.10 JBossSubTask.java
26a27,28
>       private final static String
DEFAULT_JBOSSCMP_JDBC_XML_TEMPLATE_FILE =
"/xdoclet/ejb/vendor/jboss-jbosscmp-jdbc_xml.j";
>       private final static String
JBOSSCMP_JDBC_XML_FILE_NAME = "jbosscmp-jdbc.xml";
106,107c108,117
<               setTemplateFile( new File(
DEFAULT_JAWS_XML_TEMPLATE_FILE ) );
<               setDestinationFile( JAWS_XML_FILE_NAME );
---
>               if( getVersion().equals( "3.0" ) )
>               {
>                       setTemplateFile( new File(
DEFAULT_JBOSSCMP_JDBC_XML_TEMPLATE_FILE ) );
>                       setDestinationFile(
JBOSSCMP_JDBC_XML_FILE_NAME );
>               }
>               else
>               {
>                       setTemplateFile( new File(
DEFAULT_JAWS_XML_TEMPLATE_FILE ) );
>                       setDestinationFile(
JAWS_XML_FILE_NAME );
>               }
120a131,134
>               }
>               else if( getDestinationFile().equals(
JBOSSCMP_JDBC_XML_FILE_NAME ) )
>               {
>                       System.out.println( "Generating " +
JBOSSCMP_JDBC_XML_FILE_NAME + "." );


The file jboss-jbosscmp-jdbc_xml.j will be attached to my
open patch #472897.
This template file contains mostly the same as
jboss-jaws_xml.j.
I added a relationship-part, but it is only tested with a
many to one relationship until now.

----------------------------------------------------------------------

Comment By: Simon Harris (haruki_zaemon)
Date: 2001-10-27 00:28

Message:
Logged In: YES 
user_id=146770

Incompatible with the latest CVS build. Seems the namespace
(s) have changed. Once namespaces fixed, causes an 
exception in the build.

----------------------------------------------------------------------

Comment By: Simon Harris (haruki_zaemon)
Date: 2001-10-26 22:36

Message:
Logged In: YES 
user_id=146770

Will test it out today. cheers.

----------------------------------------------------------------------

Comment By: Frank Langelage (lafr)
Date: 2001-10-19 13:00

Message:
Logged In: YES 
user_id=300021

I added a Patch with number #472897


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402707&aid=472644&group_id=31602

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to