I guess this option just rename the jpr file alone. What if I want to rename the folder which contain this jpr file? Is there any option ? or I can just go to this folder and rename it without any issues ?
You can rename the folder in the file system (after closing jdev as it locks the folder once you open the workspace). After restarting jdev and opening the workspace you need to add the now renamed project folder back to the workspace (right click on the workspace and select open project). Select the jpr file and you are done.
then you can remove the still present old project by just hit del on the project.
When you want to rename the project, you have to do the following:
For example, if you have the project ViewController.jpr.
The default folder JPR file would be present in ./ViewController/ViewController.jpr
1) Renaming the project to UIProject would make it as
2) Close the application in JDeveloper and rename the folder in the filesystem so that
./UIProject /UIProject .jpr
3) Open the application in JDeveloper and the project would show up as the reference for the project would be missing in Application.JWS.
Open the UIProject .jpr thru JDeveloper - this would automatically add the project to the application.
best and the tested way to refactor a project under an Application is:
1. use only console/ command prompt to do all the file related changes.
2. Change the project reference in the application's /jws file. Look at various deployment descriptors.
3. Change the .jpr and .jpx file to point to the refactored project. meticulously check the file references.
All the above steps are to done using the console and not from JDEV. close JDEV before doing any of the above changes.
Then open up the java, xml files from JDEV and take care of the compilation errors.