- This topic has 5 replies, 2 voices, and was last updated 17 years, 10 months ago by Riyad Kalla.
-
AuthorPosts
-
manjeshMemberIs there a way to generate weblogic-application.xml for my application(.EAR) with the following config
IDE: MyEclipse 5.1
AS: weblogic 8.1thanks
Manjesh
Riyad KallaMemberManjesh,
You use XDoclet to do this. You can right click on your project, go to Properties, then go to MyEclipse > XDoclet. From there you can right-click and Add one of the standard doclets, then configure it how you need to generate the file you mentioned.
manjeshMemberthanks riyad for your reply. But I have done that part already. 🙁
alrite..I will elaborate on the problem that I am facing right now.
I’ve structured my app like this
BeaTestEAR
– BeaTestEJB
– BeaTestWebnow for BeaTestEJB project, I have added “StandardEJB” xdoclet. Under the “ejbdoclet”, I have added “weblogic” doclet with the following settings
Createtables=Disabled
Version=8.1
destDir=src/META-INF
mergeDir=merge/– which generates “weblogic-ejb-jar.xml”
for the BeaTestWeb project, I have added “StandardWeb” xdoclet. Under the “webdoclet”, I have added “weblogicwebxml” doclet with the following settings
Version=8.1
destDir=src/META-INF
mergeDir=merge/– which generated “weblogic.xml”
now for the BeaTestEAR project, changing the project modules would update my “application.xml”. However, weblogic server would also require a “weblogic-application.xml”. So is there a way to generate “weblogic-application.xml” file with MyEclipse? Cuz I don’t think I can find BeaTestEAR->MyEclipse->Xdoclet.
Riyad KallaMemberSorry for the misunderstanding, you are correct there isn’t a way to generate this file for you at this time from MyEclipse.
manjeshMemberoops..forgot to comment on this thread.
After talking to the BEA support guys, I got to know the missing piece of the jigsaw puzzle.Once we crank out the .EAR file using MyEclipse, one should open the same .EAR using “BEA Weblogic Builder” and export it as an archive. This would generate the weblogic-application.xml 🙂
Riyad KallaMemberVery cool, thank you for following up and we appreciate the BEA support team helping out here.
-
AuthorPosts