Automating the copying of class and xml files from respective tops and mds folders
copy all the files from $JAVA_TOP/per/irc/*.* to c:\dump\java\top\irc\ (create this folder path)
copy all the files from $PER_TOP/mds/irc/*.* to c:\dump\java\mds\irc\ (create this folder path)
Make sure the same path upto irc is created in myclasses and myprojects
ex: for irc you should create two more folders in your jdev
by default oracle/apps/fnd will be there. You just need to create per and irc under oracle/apps
so the path shoudl like like
myclasses\oracle\apps\per\irc
myprojects\oracle\apps\per\irc
Use the windows xcopy command
start-> run -> cmd and execute the commands
#all classes and xml to myclasses
xcopy c:\dump\java\top\irc\*.* C:\jdeveloper\jdevhome\jdev\myclasses\oracle\apps\per\irc\ /S
#all xml to myprojects (only xml no class files)
xcopy c:\dump\java\top\irc\*.xml C:\jdeveloper\jdevhome\jdev\myprojects\oracle\apps\per\irc\ /S
# all xml from mds to respective top of myprojects
xcopy c:\dump\java\mds\irc\*.xml C:\jdeveloper\jdevhome\jdev\myprojects\oracle\apps\per\irc\ /S
# all xml from mds to respective top of myclasses (mds will only have xml)
xcopy c:\dump\java\mds\irc\*.xml C:\jdeveloper\jdevhome\jdev\myclasses\oracle\apps\per\irc\ /S
######################################
#
# Copying custom java and xml objects
#
#
####################################
Create separate folders for custom objects
create a folder structure xxclient\oracle\apps\per\
under
c:\dump\custom_top\ and c:\dump\custom_mds\
copy all files and folders from irc folder under Custom java top ex: $XXBOL_TOP\java\xxclient\oracle\apps\per\ to c:\dump\custom_top\
copy all files and folders from irc folder under $XXPER_TOP/mds/oracle/apps/per/ to the local c:\dump\custom_mds\
and run the below commands.
#copy all classes and xml from custom top to myclasses <cust>
# this is optional if you copy the
xcopy C:\dump\custom_top\*.* C:\jdeveloper\jdevhome\jdev\myclasses\ /S
#all xml to myprojects (only xml no class files)
xcopy c:\dump\custom_top\*.xml C:\jdeveloper\jdevhome\jdev\myprojects\ /S
# all xml from mds to respective top of myprojects
xcopy C:\dump\custom_mds\*.xml C:\jdeveloper\jdevhome\jdev\myprojects\ /S
# all xml from mds to respective top of myclasses (mds will only have xml)
xcopy c:\dump\custom_mds\*.xml C:\jdeveloper\jdevhome\jdev\myclasses\ /S
No comments:
Post a Comment