How to Run Standard OA Framework Pages from JDeveloper

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

评论:

发表一条评论:
该日志评论功能被禁用了。
About

  • Pan Tian(田攀)
  • Search

    Categories
    Archives
    « 四月 2014
    星期日星期一星期二星期三星期四星期五星期六
      
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
       
           
    今天