on 04-22-2006 1:51 AM
Hi,
I have deployed my WD application on WAS. I have the EAR file but lost the entire project from my NWDS. Can anyone let me know if i can retrieve the entire code from my EAR file? If so, how.
Thanks,
Aditya.
hi aditya,
you will definetly get your source back.
1)unzip the ear file using winrar
2)unzip again the .wda file using winrar
3)under PORTAL-INF/lib/app.jar
4)unzip the app.jar using winrar
5) then you can find class files of your source
6) convert this .class files into .java files using djcompiler.
regards,
naga raju
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aditya,
First of all kindly let me know whether you have deleted the project only from the NWDS or you have deleted the content as well, which actually resides in the workspace.
See when you do a delete of a project 2 options are dsplayed:
<b>1) Delete all content under the folder (/path of ur workspace/project_Name).
2) Do not delete content.</b>
If you have deleted all the content then you can get it again. But if you have only deleted from NWDS and it still there in the workspace then you can get it.
Just follows these steps:
<b>File -> Import -> Existing project in the Worspace.</b>
Find your poject folder and press OK. The project will come again in the workspace.
<b>>>Can anyone let me know if i can retrieve the entire code from my EAR file?</b>
Ans: No you cannot get the complete project from the.ear file. But you can get the .java code which you would have written in the coding for view, window, controllers etc..
Fot getting that you can extract the .ear file and search for the (*.java) files. All the .java files will be listed and you can select which ever you want.
I hope this helps you.
Regards
Pravesh
PS: Please consider rewarding points if helpful or solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.