XDoclet server specific deployment descriptor [message #137708] |
Fri, 09 September 2005 09: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 #140429 is a reply to message #139954] |
Fri, 23 September 2005 13:13  |
Eclipse User |
|
|
|
Not sure at the moment..
We know that the BuildFiles or Buidlers fro the ServerDefFiles part of wst portion take care of the deployment side as far as what needs to chang ein ant to compile..
It would make more sense to specify more than one in the cases you have described..
> 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
|
|
|
Powered by
FUDForum. Page generated in 0.55416 seconds