Skip to Content
author's profile photo
Former Member

editing a par file

Hi,

I am editing a par file that came from sap. Here are the steps I followed

1. downloaded the par from support -> portal runtime --> browse deplpyment and downloaded it (x.zip)

2. imported this par file into nwds which formed a prioject structuree (for instance "Y" being name of project).

got the following questions:

1. after my import, the jar files which were in (x.zip) were not visible in project structure "Y". should i import them manually?

2. the .properties file's which shows that they are in "\private\classes\" directory are shown in Y -->dist > PORTAL_INF/ classes. why are they not under "Y->dist> portal_inf/ private/classes"?

3. if i wnat to edit this par file, but since it is an sap par file, we dont have resources, so what should i do know. if i extract those jar files and decompile them into .java files, where should i put these source files, should i put them in Y--> src.core/src.api OR Y-> dist --> PORTAL_INF --> srclib.api/srclib.core

please let me know?

4. after editing i can create a par file from File --> Export --> PAR FILE etc.., but will the .jar files in the lib folders get automatically updated?

5. if the par file contains a jsp file, do u think that it would be in pagelet directory when I imported. How to edit that particular .jsp file that is inside a par that came from sap?

6. is there some good blog or any other sort of links which can guide me in editing a par file that comes from sap?

sorry if the questions are silly, but i am facing these problems..

I hoep that some one can help me in this regard.

Thank you

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    author's profile photo
    Former Member
    Oct 03, 2005 at 05:12 AM

    Hi Shiva,

    1. Yes u have to add those jar files. Its coz of the bug in NWDS u have to extract the jar files from the par file downloaded and add it to the corresponding folder in the project structure.

    2. I am not sure of the reason.

    3. The only editing that SAP advices is changing the lokk and feel. SAP would not provide the source files. So if u want to change the funtionality, its always better to create ur own projetc other than editing the par file.

    4. Yes, what ever the changes u made wiil be added to the project u have created and will be deployed to the server as a par file.

    5.The JSP wiil be either in paglet or in jsp folder in the project structure. You can edit it through NWDS.

    6.http://service.sap.com/ep60howtoguides

    Try this link there is a pdf describing how to change the logon screen of the EP.

    Hope this Helps

    gEorgE

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 03, 2005 at 04:28 AM

    Hi shiva

    The jar files may not be added automatically. You can add these manually in to the lib folders.When you are exporting the par files these jar files are included.

    In the portalinf->lib add the ...api.jar and in the portalinf->private->lib add ..core.jar. You can get these jar by extracting the par file.

    You can edit the jsp files after you import the par file in to NWDS.Here you are having the JSP folder containing all the jsp files in the par.

    Regards

    Geogi

    Message was edited by: Geogi Luke

    Add comment
    10|10000 characters needed characters exceeded