1.FTP Classes
FTP All the .class & .xml files from $JAVA_TOP/oracle to your local PC, and put them into jdev/jdevhome/myclasses
2.Source Files
From 1st step files,Also need copy necessary PROD files into source file directory: jdev\myprojects\oracle\apps\eg.If you want to run a WIP module page,Then you can only copy $JAVA_TOP/oracle/apps/wip/xxx/ to jdev\myprojects\oracle\apps\
For source files, we don't need class files, so we can delete all the *.class files from jdev\myprojects\oracle\apps\
NOTE:Remember dont copy unnecessary files and open them in your project. Because when you will run even your HelloWorld page, all these will try to compile and will give you thousands of errors...
Never solve these errors, as they don't exist at all. They are coming just because we have done something wrong....
3.mds Files
FTP files from $PRODUCT_TOP/mds to jdev\myprojects\oracle\apps\PROD, for example copy directories from $WIP_TOP/mds to jdev\myprojects\oracle\apps\wip(mds:Meta Data Service)
4.JDeveloper Setups and Run
You can follow article "JDeveloper Setup for OA Framework" to config JDEV,
Except above note, in project properties remove select compiler and in java uncheck the xml validation (it will throw error while compiling)
Path: Project Properties -> Compiler -> XML -> Uncheck XML Syntax on Make
Now run the page you want, it will mostly work...
Forgot one thing, Keep patient, Run OAF files locally, This process(Compiling + OC4J Launching + OAF Page Open) may need long time,depends on your hardware,Enjoy,PTIAN

本文详细介绍了如何将Oracle OA Framework应用程序从服务器复制到本地开发环境中进行调试和测试的方法。包括了复制必要的.class和.xml文件、源代码文件以及mds文件的具体步骤,并提供了JDeveloper配置指南及常见错误排除技巧。
7190

被折叠的 条评论
为什么被折叠?



