How to Run Standard OA Framework Pages from JDeveloper
By Pan.Tian on 六月 08, 2013
1.FTP ClassesFTP All the .class & .xml files from $JAVA_TOP/oracle to your local PC, and put them into jdev/jdevhome/myclasses
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\
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....
(mds:Meta Data Service)
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...
one thing, Keep patient, Run OAF files locally, This process(Compiling +
OC4J Launching + OAF Page Open) may need long time,depends on your