Hey hi SAN ,
Well to be able to perform extension in Jdeveloper you need to have all dependency files , but need not decompile all dependency class file
into java file , rather you can have them in the form of .zip file and add it to project library ( right click on your project in jdev - > project properties
- > libraries - > Add Jar / libraries and browse and just add )
Next time when you perform extension to any file , these class files are referred automatically from libraries and there will not be any compilation error .
Let me know if its not clear .
I zipped the ar folder under $JAVA_TOP/oracle/apps
unix command: zip -r ar.zip ar
I moved this zip file to JDEV_USER_HOME/myprojects/oracle/apps
I added this zip file as library in the project properties. But still my extended VOImpl and VORowImpl dependent files are not found.
Can you please suggest me that I did any mistake in the steps.
Thanks a lot for your valuable reply,
Hi SAN ,
The moment you add the libraries to project , there is an option in the same window called ' Move up ' , you can move
your library to the top and try .
Can you tell us what is the exact error your are getting while compiling the code in jdev ( jdev will list out which files are missing
in the console window ) , share the complete error trace if possible .
I guess you're not decompiling the dependent class files in myprojects folder. Jdeveloper always looks for the java files for reference, which in your case may be the seeded class files. Hence, convert your class files to java files and place them in myprojects directory.
Moreover, if you are facing standard error while decompiling, instead of JAD software please try DJ Java decompiler. Hopefully you would not get any complilation issue.
Since you want additional task in only RowImpl class, only decompile the required files. The remaining hundreds of classes doesnt require decompliation as the VO files are already in xml format. Moreover, we require decompiling of VO classes only when you require editing the VO and it has Impl and RowImpl class files. Otherwise no decompilation is required. Hope it is clear to you.
Hi San ,
Let me know explain through an example :
Let us assume that we are working on I-recruitment module hence the file that needs to be extended resides in the following directory
since this is an i-recruitment module ,all dependency and related file will reside inside folder named irc ( oracle.apps.irc.offers.webui )
for account payable it will be ap , i procurement it will be icx etc ...
Now since you are working on oracle.apps.ar.hz.components.search.server.HzPuiDQMSrchResultsVO which comes under ar application,
FTP the entire ar to your local machine and zip the complete folder save it , now add them to the library ( repeat the process which i have
explained earlier ) ,alternately you can also place the entire ar folder under myclasss directory ( jdevbin\jdev\myclasses\ar) .
Coming back to the jdeveloper when you create a new java file extending ar all ar related files will be referred during the compilation
time hence there should not be any compilation error .
Please note that during compilation time only dependency class files are referred not java files , hence decompiling 100's of class files
to java file is absolutely not needed .
Let me know if its not clear .