开发者

Netbeans: how do I change the name of a project?

开发者 https://www.devze.com 2023-02-07 06:46 出处:网络
I need to change the name of my application, so people 开发者_StackOverflow中文版who download and install it can see the name but I don\'t know where to do it.

I need to change the name of my application, so people 开发者_StackOverflow中文版who download and install it can see the name but I don't know where to do it.

What file do I need to edit?


you must right click on your project in Project window [ctrl + 1] and choose rename option for

renaming your project name.


if your project is mobile Project you must right click on project name , select properties options and then on Application Descriptor edit MIDlet-name value.

Netbeans: how do I change the name of a project?


If you use gradle: BuildScripts/Project/settings.gradle

rootProject.name = 'yourprojectname'


If your project is Maven based, you can either add/update the application name in pom.xml (found in Project Files folder) or go to File >> Project Properties and add/update the application name.


Open "project.xml" file under nbproject folder inside the project folder of the one you want to change the name. it is in the tag <name>.

Just change it and that is it.


open project.properties in dir nbproject look up to manifest.midlets and change the name after MIDlet


Rightclick on the project node and select rename. If you want the folder of the project also to have the new name or whatever that wasnt renamd then :
1.in build.xml in text editor find old name and replace with new one. Its place is: C:\NBProjectsFolder\OldName\build.xml Save that.
2. Remove all cash situated in , e.g.: C:\NBProjectsFolder\OldName\build\gwt-unitCache.
3. Find in C:\NBProjectsFolder\OldName\nbproject\private private.xml file and edit it in a text redactor by renaming old name within the file. Save that.

Do all the changes when the Netbeans was closed. After opening the Ntbeans it may ask to reimport the project and all files you changed will be recognized/recreated automatically

0

精彩评论

暂无评论...
验证码 换一张
取 消