on 01-27-2009 11:07 AM
Hello All,
Some time back we had developed a custome masthead component for our portal (EP 6, SP 21).
It has been deployed into the portal and its running fine.
now, we need to change some thing in that and so we have downloaded the par file and imported in nwds for code modification.
once we do that we get the masthead.jsp file but unable to get the class files and the beans.
what we doubt is while deploying the par the code was not deployed in the portal.
do you have any idea how can we get the code base out of that ?
p.s we dont have any other code base.
Thanks
Anirban
Hi Anirban,
Use any of the Java Decoder application, to re generate the code.
Provide the points if the info is useful
_Vishal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check whether u r modifying the correct parfile . If you wont deploy source code , how can it works?
If you import the correct file , sorce code also appears. try to download and import the correct par file into nwds.
Koti Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i am importing the right par only, but my question is while deploying from nwds you get an option "include the source code for the portal application" to check.. if i dont do that then as far i know you wont get the class files when you import the par file in nwds..
any idea how to resolve that?
Hi Anirban,
The way you actually deployed the par file earlier is not the correct procedure. Remember, you should check the "include the source code for the portal application" everytime you deply the par through NWDS.
The changes will be effective also even if you do not deploy par at nwds. you can use the portal deployment rather.
Regards
Chander Kararia
Ya, I know that, but the PAR was not deployed by me earlier..
let me rephrase my question : "if you deploy a par in portal from nwds without checking the "include the source code for the portal application", can you later download the par from portal and import in nwds to see the source code?"
Anir
Hi Anirban,
If you uncheck and deploy the PAR file, later you can download it from portal. But the source code will not be available i.e src.api and scr.core will not be available.
1.unzip the jar file in portalINF/lib.
2. Run the java decompiler tool on each unzipped folder.
3. create another folder and move .java files and rename it.
Hope this might be helpful.
Thanks,
Subashini.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.