This content has been marked as final. Show 3 replies
Since you are doing VO extension it requires all dependency files , do not import class files to jdeveloper , import
only .java files .
If you import .class files Jdeveloper will not allow you to edit then , ( export option will be hidden / won't be able to edit query )
You can add all dependency .class files to my project library . Navigation : Right click on Project - > properties - > Libraries - > Add jar
( you can add .class as zipped / jar formats )
Alternatively you can also copy java files to MyProject folder and class files to Myclasses folder and import only java files to Jdeveloper .
Let me know if its not clear .
I am using JDeveloper 18.104.22.168,
for 'You can add all dependency .class files to my project library', should i right click .jpr > project setting > configurations > development > libraries > New?
for 'copy java files to MyProject folder and class files to Myclasses folder', is it ok if i JAD the .class back to .java file first then import?
Best way is you decompile the class file and put it into the myProject directory.
Including the class file in the project directory is mostly done for the cases where you want to import a huge number of class file from server, to run the pages locally.
Another thing which you need to take in consideration, while extending the VO - whether to create RowImpl.java or impl.java for the extended view object depends upon whether the parent View Object do have the files selected or not.