XDoclet server specific deployment descriptor [message #137708] |
Fri, 09 September 2005 13:14 |
Eclipse User |
|
|
|
Originally posted by: lf_killspam.hemmis.be
Hi,
I am using the WTP with XDoclet to generate my ejb code and everything
works fine. The only thing I can't seem to figure out is how to generate
a server specific deployment descriptor (jboss.xml in my case). XDoclet
has generated the ejb-jar.xml, but it seems to ignore the jboss.XXX
xdoclet tags I have placed in my Bean code.
Where can I configure XDoclet to generate a JBoss specific descriptor
for my project? I have found some settings on the global XDoclet
preferences, but I assume I should be able to specify this kind of
information on a project by project basis, right?
Thanks a lot for the help.
Luc
|
|
|
Re: XDoclet server specific deployment descriptor [message #138009 is a reply to message #137708] |
Fri, 09 September 2005 22:30 |
Eclipse User |
|
|
|
Originally posted by: thisisnot.mymail.com
Could you post your doclet code?
Luc Feys wrote:
> Hi,
>
> I am using the WTP with XDoclet to generate my ejb code and everything
> works fine. The only thing I can't seem to figure out is how to generate
> a server specific deployment descriptor (jboss.xml in my case). XDoclet
> has generated the ejb-jar.xml, but it seems to ignore the jboss.XXX
> xdoclet tags I have placed in my Bean code.
> Where can I configure XDoclet to generate a JBoss specific descriptor
> for my project? I have found some settings on the global XDoclet
> preferences, but I assume I should be able to specify this kind of
> information on a project by project basis, right?
>
> Thanks a lot for the help.
>
> Luc
|
|
|
Re: XDoclet server specific deployment descriptor [message #139933 is a reply to message #138009] |
Wed, 21 September 2005 13:52 |
Eclipse User |
|
|
|
Originally posted by: lf_killspam.hemmis.be
Here is my doclet code.
/**
*
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* *
* <!-- begin-xdoclet-definition -->
* @ejb.bean name="Processor"
* description="A session bean named Processor"
* display-name="Processor"
* jndi-name="Processor"
* type="Stateless"
* transaction-type="Bean"
* view-type="local"
* @ejb.ejb-ref ejb-name="IdGenerator"
* view-type="local"
* ref-name="ejb/IdGenerator"
* @jboss.ejb-ref-jndi ref-name="IdGenerator" jndi-name="IdGeneratorLocal"
*
* @ejb.util generate="logical"
*
* <!-- end-xdoclet-definition -->
*/
public abstract class ProcessorBean implements javax.ejb.SessionBean {
/**
* <!-- begin-xdoclet-definition -->
* @ejb.create-method view-type="local"
* <!-- end-xdoclet-definition -->
* @generated
*
*/
public void ejbCreate() {
}
/**
* <!-- begin-xdoclet-definition -->
* @ejb.interface-method view-type="local"
* <!-- end-xdoclet-definition -->
*
*/
public void processMessage(XmlMessage aMessage) {
}
}
Srgjan Srepfler wrote:
> Could you post your doclet code?
>
> Luc Feys wrote:
>
>> Hi,
>>
>> I am using the WTP with XDoclet to generate my ejb code and everything
>> works fine. The only thing I can't seem to figure out is how to
>> generate a server specific deployment descriptor (jboss.xml in my
>> case). XDoclet has generated the ejb-jar.xml, but it seems to ignore
>> the jboss.XXX xdoclet tags I have placed in my Bean code.
>> Where can I configure XDoclet to generate a JBoss specific descriptor
>> for my project? I have found some settings on the global XDoclet
>> preferences, but I assume I should be able to specify this kind of
>> information on a project by project basis, right?
>>
>> Thanks a lot for the help.
>>
>> Luc
|
|
|
Re: XDoclet server specific deployment descriptor [message #139944 is a reply to message #139933] |
Wed, 21 September 2005 14:05 |
Eclipse User |
|
|
|
Originally posted by: wknauf_NO_._INSIDE_hg-online.de
Hi Luc,
you have to activate server specific XDoclet annotations. Go to
preferences -> "J2EE Annotations" -> "XDoclet" and for "ejbdoclet" and
"webdoclet" activate the servers and versions for which XDoclet should
generate server-specific deployment descriptors.
Hope this helps
Wolfgang
Luc Feys wrote:
>>
>>> Hi,
>>>
>>> I am using the WTP with XDoclet to generate my ejb code and
>>> everything works fine. The only thing I can't seem to figure out is
>>> how to generate a server specific deployment descriptor (jboss.xml in
>>> my case). XDoclet has generated the ejb-jar.xml, but it seems to
>>> ignore the jboss.XXX xdoclet tags I have placed in my Bean code.
>>> Where can I configure XDoclet to generate a JBoss specific descriptor
>>> for my project? I have found some settings on the global XDoclet
>>> preferences, but I assume I should be able to specify this kind of
>>> information on a project by project basis, right?
>>>
>>> Thanks a lot for the help.
>>>
>>> Luc
|
|
|
Re: XDoclet server specific deployment descriptor [message #139954 is a reply to message #139944] |
Wed, 21 September 2005 14:27 |
Eclipse User |
|
|
|
Originally posted by: lf_killspam.hemmis.be
Hi wolfgang,
Thanks for the tip. That did the trick. I had seen this option, but was
expecting to find a project specific setting. Actually this brings up a
few questions:
*) What if I have different projects with different app-servers. Are all
the deployment descriptors for all activated servers generated for each
project?
*) What if I have different projects using different versions of one
app-server? I can only specify 1 version for each app-server.
Thanks for the help.
Wolfgang Knauf wrote:
> Hi Luc,
>
> you have to activate server specific XDoclet annotations. Go to
> preferences -> "J2EE Annotations" -> "XDoclet" and for "ejbdoclet" and
> "webdoclet" activate the servers and versions for which XDoclet should
> generate server-specific deployment descriptors.
>
> Hope this helps
>
> Wolfgang
>
> Luc Feys wrote:
>
>>>
>>>> Hi,
>>>>
>>>> I am using the WTP with XDoclet to generate my ejb code and
>>>> everything works fine. The only thing I can't seem to figure out is
>>>> how to generate a server specific deployment descriptor (jboss.xml
>>>> in my case). XDoclet has generated the ejb-jar.xml, but it seems to
>>>> ignore the jboss.XXX xdoclet tags I have placed in my Bean code.
>>>> Where can I configure XDoclet to generate a JBoss specific
>>>> descriptor for my project? I have found some settings on the global
>>>> XDoclet preferences, but I assume I should be able to specify this
>>>> kind of information on a project by project basis, right?
>>>>
>>>> Thanks a lot for the help.
>>>>
>>>> Luc
|
|
|
Re: XDoclet server specific deployment descriptor [message #140222 is a reply to message #139954] |
Thu, 22 September 2005 12:38 |
Eclipse User |
|
|
|
Originally posted by: wknauf_NO_._INSIDE_hg-online.de
Hi Luc,
this question is far beyond my knowledge. I think this is not possible
but I am not sure.
Sorry
Wolfgang
Luc Feys wrote:
> Hi wolfgang,
>
> Thanks for the tip. That did the trick. I had seen this option, but was
> expecting to find a project specific setting. Actually this brings up a
> few questions:
> *) What if I have different projects with different app-servers. Are all
> the deployment descriptors for all activated servers generated for each
> project?
> *) What if I have different projects using different versions of one
> app-server? I can only specify 1 version for each app-server.
>
> Thanks for the help.
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.27302 seconds