On Tue, 2004-03-23 at 18:46, Blasdel, Jerry wrote:
> We have been using XDoclet with JBoss for our development.  We are now
> to the point where we want to include EAServer related tags and based
> on a setting in our build file, build/deploy to JBoss or EAServer.  We
> are having problems trying to get the application to build and deploy
> to both servers, without making changes to the XDoclet tags.  Has
> anyone had success with this before?

Now there's something I don't see every day - someone else that uses
EAServer :-)  What version are you using?

The current template & subtask only generates a very basic config file
at the moment, mainly just ejb refs and resource refs (plus assorted
description entries), since that was all I needed originally.  There's
some changes in CVS beyond what's in the v1.2 module, to add in some
merge points (so you can use a merge file to include any settings not
supported by the module itself).  I've got some more tags & settings to
add over the next couple of weeks, but if there's any particular ones
you want just add a comment (and preferably a sample) to issue XDT-846
in JIRA.
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-846

I've also got some modifications that I think do the various CMP
settings, but I don't get much chance to test them out since we still
use BMP & DAOs (we have to use stored procs for all database access and
not many CMP implementations can handle that).  If you're using CMP and
would be willing to try them out, let me know.

By the way, you don't need a switch in your build file to choose between
JBoss and EAServer.  Just use both subtasks; the standard DD should be
the same in either case (that's the whole point of it being standard!),
the app server specific configuration files won't clash as they have
different filenames, and each app server will ignore the ones it doesn't
know about.  So you can build a single EJB jar containing the
jboss-cmp.xml etc. /and/ sybase-easerver-config.xml files in META-INF,
and deploy it to either server.


Andrew.



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to