I am not able to to merge the xml files 
"ejb-security-roles.xml" and
"weblogic-security-role-assignment.xml" 
into the deployment descriptors ejb-jar.xml and
weblogic-ejb-jar.xml 
using the EJBDoclet task. 

I don't see any of the content in the xmls
"ejb-security-roles.xml" and
"weblogic-security-role-assignment.xml" 
added to my deployment descriptors ejb-jar.xml and
weblogic-ejb-jar.xml.

My xml files are in samples.conf.dir and I am using a
mergeDir attribute to point to it in the ejbdoclet
task.
Following is my ant script.
        <ejbdoclet
                destdir="${samples.gen-src.dir}"
                excludedtags="@version,@author,@todo"
                addedtags="@xdoclet-generated at ${TODAY},@copyright
The XDoclet Team,@author XDoclet,@version ${version}"
                mergeDir="${samples.conf.dir}"
                ejbspec="2.0"
                force="true"
                verbose="true">

Should I define anything else corresponding to this
merge files in my EJBs.
I have defined in my MDB the following descriptors.
 * @xdoclet.merge-file  
 *      file="weblogic-security-role-assignment.xml" 
 *      relates-to="weblogic-ejb-jar.xml" 
 *      description="An XML unparsed entity containing
security-role-assignment elements."
 * 
 * @xdoclet.merge-file  
 *      file="ejb-security-roles.xml" 
 *      relates-to="ejb-jar.xml" 
 *      description="An XML unparsed entity containing
role-name elements."


I have mentioned some of the role names in
"ejb-security-roles.xml" in the following way.
        <security-role>
                <role-name>resource</role-name>
        </security-role>

and in "weblogic-security-role-assignment.xml"

<security-role-assignment>
        <role-name>Administrator</role-name>
        <principal-name>Fred</principal-name>
        <principal-name>system</principal-name>
</security-role-assignment>


I am currently running Ant 1.6.2 w/ XDoclet 1.2.3 on
Win2000 with JDK 1.4.2_08.

If anyone could point me in the right direction, I
would be extremely appreciative.
 
Thanks for all the hard work - it"s a great tool!




                
__________________________________ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to