Ken did you get far with your efforts to create descriptor files for WebSphere 5 ? I'm having the same problem and would like to find a way of using xDoclet rather than WSAD many thanks. -------------------------------------------------------------------------------------- Erik Hatcher wrote: On Wednesday, November 19, 2003, at 05:52 AM, Ken Hygh wrote: Erik, Thanks for the reply. Sorry for my terminology mixup...I assume then that subtasks cannot have subtasks? Subtasks can have sub-elements and do with them as they please, but you cannot dynamically add a sub-element to a built-in subtask. All of Ant's introspection attribute/sub-element rules are supported so you will have to learn that to create a subtask that supports sub-elements. Make sense? What are you trying to accomplish exactly? Erik -------------------------------------------------------------------------------------- Erik, Thanks for hanging in there with a newbie. The metafiles that WebSphere uses for Entity Bean database mapping have changed in version 5. The current support in xdoclet sorta does what version 4 needed. The file structure now required looks similar to: ... .../META-INF/backends .../META-INF/backends/DB2UDBNT_V8_1 .../META-INF/backends/DB2UDBNT_V8_1/ibm_pmbab.properties .../META-INF/backends/DB2UDBNT_V8_1/Map.mapxmi .../META-INF/backends/DB2UDBNT_V8_1/<dbname>_<schemaName>.schxmi then one of these for each table: .../META-INF/backends/DB2UDBNT_V8_1/<dbname>_<schemaName>_<tablename>.tblxmi So, what I'm thinking I would like to do is something like (in build.xml) <websphere [options]> <generatemap databasetype="[database_type]"> </websphere> where database_type could be any of the dozen or so databases that WebSphere supports, like db2/oracle/informix/mysql/etc each with several versions. It's pretty easy to generate the mapping files for any single database by creating xdt's, but I'd like to give flexibility in the build file to generate for different databases - and possible multiple databases simultaneously. I'm hoping that the tags xdoclet already has will give me everything I need to build the map files. An attribute on the websphere subtask could work here, but I haven't yet hit on the way to add an attribute to a subtask - I always get 'not supported'. Thanks again, Ken The information contained in this e-mail communication may be confidential. You should only read, disclose, re-transmit,copy,distribute, act in reliance on or commercialise the information if you are authorised to do so. If you are not the intended recipient of this e-mail communication, please immediately notify us by e-mail to [EMAIL PROTECTED], or reply by e-mail direct to the sender and then destroy any electronic and paper copy of this message. Any views expressed in this e-mail communication are those of the individual sender, except where the sender specifically states them to be the views of a member of the National Australia Bank Group of companies. Any advice contained in this e-mail has been prepared without taking into account your objectives, financial situation or needs. Before acting on any advice in this e-mail, National Australia Bank Limited recommends that you consider whether it is appropriate for your circumstances. If this e-mail contains reference to any financial products, the National recommends you consider the Product Disclosure statement (PDS) or other disclosure document before making any decisions regarding any products. The National Australia Bank Group of companies does not represent, warrant or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors, virus or interference. ------------------------------------------------------- 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
