[Urgent] plz-Project Renaming
hello!
I have tried most of the things like Making a new folder & then Putting the whole project in that by renaming it! but it Did'nt work!
Even when I renamed it & then run then also it was still Taking the old name. Does anybody know how to rename a The Main Project in Studio Creator .
Pllllzzzzzzzzzzz help me!
[352 byte] By [
samanila] at [2007-11-27 1:09:16]

# 4
It is a very complicated procedure that requires renaming the folder name, and then updating values in nbproject.xml and some other xml files (I believe some in WEB-INF) in order to properly rename it. I may be able to provide the process at a later time, one of my coworkers documented the complete process.
# 5
jbjonesjr - Please share your colleague's rename process. I'm very interested in the details.
samanil - Here's a process that worked for me with a very simple project.
1. Create a new empty project with the new project name.
2. In the Projects window, open Web Pages, then delete Page1.jsp
3. Open the old project. In the Projects window right click Page1.jsp and choose Copy.
4. In the new project, right click the Web Pages node and choose Paste.
5. Repeat the Copy/Paste for every web page, and any libraries or other resources that were added to the old project.
# 8
I have successfully did this a number of times - with a small project.
I simply browse the files and directories with Explorer and search for all instances in the file (opening the file with wordpad) with the current project name and change it to the new project name, matching case.
with a sample project (one that uses a db and has only jsp page (Page1.jsp).. there are about 10 files which require changes and 2 or 3 directory names..
Hope this helps...
# 9
SummerWine, you are right there. Only other notes I would give you are:
-10 files to change seems big. I think I remember it being less than 5.
-I think there is only 1 folder to change. Note: sometimes files or folders may have the name of the former project, but they do not impact the current project's name.
-Instead of searching through the folders, Creator itself has a great project wide search feature great for finding strings and uses. Look in the Edit menu.
Everything else seems right on par.
# 10
a couple of other things..making the changes outside of the JSC environment will cause a prompt to rebuild the Build.xml file, which you should say Yes... and the directories need to be changed and all the package statements..This really should be an option from within the