@ Sai & All
I followed your steps but did not work but I have got some information for you
I played with “/IntegrationServer/packages” folder and finally tried to achieve how to rename a package. (Checked for flow services and java services)
1> Created a Test package with the below structure
-javaSvc (Folder, inside Test folder)
-myJavaSvc (Java service, inside javaSvc folder)
-addInts (Flow service, inside Test folder)
2> Once the above package is created, I unlocked the package and backed up the package from Developer (or IS)
3> Go to \IntegrationServer\packages\Test, rename Test to Test_1. i.e., \IntegrationServer\packages\Test_1
4> Go to \IntegrationServer\packages\Test_1\ns you will find a folder “Test” eg. \IntegrationServer\packages\Test_1\ns\Test, rename Test to Test_1 i.e, \IntegrationServer\packages\Test_1\ns\Test_1,
5> Go to \IntegrationServer\packages\Test_1 create a Zip file (not WinRar) using WinZip/WinRar and name it as Test_1.
6> Test_1 Zip file will be created and copy this to replicate\inbound and install the package.
7> Package will be installed partially but activated (you will receive missing class files for java services) go to developer and compile the java services and reload the package.
8> Delete the old package Test from IS.
I guess its better to go for the below steps than going through all the steps above (Step 1 to Step 7).
1> Create a new package and a folder under the created package (with the same name as package)
2> Copy/cut/move the code to the folder that was created
3> Delete the old package
I wish that SAG comes with an option to rename a package just like Eclipse