cp fnd/patch/115/xdf/* $FND_TOP/patch/115/xdf - confusion

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

cp fnd/patch/115/xdf/* $FND_TOP/patch/115/xdf - confusion

VinodNN
Dear Erman, I am having a very hard time trying to understand this part from Oracle document Developing and Deploying Customizations in Oracle E-Business Suite Release 12.2
KA1068

perl xdfgen.pl <apps_user> XYZ_USER_SERVICE

Create the patch.

Patch Files:

fnd/patch/115/xdf/xyz_user_service.xdf version 3

Manual apply phase actions for the file system:

cp fnd/patch/115/xdf/* $FND_TOP/patch/115/xdf

Which path is meant by "fnd/patch/115/xdf/"? It is not even an absolute path. It looks same as $FND_TOP/patch/115/xdf

Please help me understand.
Reply | Threaded
Open this post in threaded view
|

Re: cp fnd/patch/115/xdf/* $FND_TOP/patch/115/xdf - confusion

ErmanArslansOracleBlog
Administrator
Hi,

It s the patch action.  You create the patch and then you copy, that means you take the patch actions manually. It is already written there.

It is the fnd directory inside the patch. So go to the patch directory, from there go to fnd/patch/115/xdf/ , and there it is.

So what it says is; copy all the files from the fnd/patch/115/xdf which is inside the patch itself, to your system -> $FND_TOP/patch/115/xdf
Reply | Threaded
Open this post in threaded view
|

Re: cp fnd/patch/115/xdf/* $FND_TOP/patch/115/xdf - confusion

VinodNN
Thank you so much. Now I understand.
Reply | Threaded
Open this post in threaded view
|

Re: cp fnd/patch/115/xdf/* $FND_TOP/patch/115/xdf - confusion

VinodNN
This post was updated on .
In reply to this post by ErmanArslansOracleBlog
Am I doing this correctly?-

create patch top -
mkdir /orapp/PATCH_TOP (I suppose this can be any folder)

cd /orapp/PATCH_TOP
mkdir ./fnd/patch/115/xdf

cd /orapp/PATCH_TOP/fnd/patch/115/xdf

[applmgr@erpdba1 xdf]$ perl /orapp/EBS/fs1/EBSapps/appl/fnd/12.0.0/bin/xdfgen.pl APPS XYZ_USER_SERVICE11

Can't I directly create the xdf in /orapp/PATCH_TOP/fnd/patch/115/xdf, instead of creating it under patch top and then copying it as follows:

cp fnd/patch/115/xdf/* $FND_TOP/patch/115/xdf
Reply | Threaded
Open this post in threaded view
|

Re: cp fnd/patch/115/xdf/* $FND_TOP/patch/115/xdf - confusion

VinodNN
This post was updated on .
In reply to this post by ErmanArslansOracleBlog
Sorry I made a mistake in my question.
I mean, can't I copy the xdf from patch_top/fnd/patch/115/xdf (as my PWD)? Why do I need to go back to patch_top and them do cp fnd/patch/115/xdf/* $FND_TOP/patch/115/xdf ?
Reply | Threaded
Open this post in threaded view
|

Re: cp fnd/patch/115/xdf/* $FND_TOP/patch/115/xdf - confusion

ErmanArslansOracleBlog
Administrator
"Can't I copy the xdf from patch_top/fnd/patch/115/xdf (as my PWD)? -So Why use the relative path fnd/patch/...? Why do I need to go back to patch_top?""

Actually yes you can.. But that's for the safety reasons and being aligned with the standards.

By typing out the relative path fnd/patch/..., you are visually verifying that you have built the correct folder hierarchy.  So it prevents blind copying.

It also prevents being Non-Standard.
Reply | Threaded
Open this post in threaded view
|

Re: cp fnd/patch/115/xdf/* $FND_TOP/patch/115/xdf - confusion

VinodNN
Thank you so much again!