I use NetBeans 11.0 and Java 11 for my Modular project. How I could rename already created module without deleting any file inside of him?
There isn't refactoring for modular projects and modules. Any suggestion would be appreciated.
Build tool is Ant.
Asked
Active
Viewed 202 times
0

John
- 49
- 1
- 9
1 Answers
0
I assume you are using Maven. In your pom.xml
you can set the name of the project in the name-tag:
<project ...>
<name>My project name</name>
...
</project>
For Ant projects have a look at this answer.

Joachim Rohde
- 5,915
- 2
- 29
- 46
-
My current project is created with Ant. – John Jul 12 '19 at 12:33
-
@John see the linked answer for Ant – Joachim Rohde Jul 12 '19 at 12:36
-
1Your answer is correct, but I was hopping that there is a way to rename module on one place, that would affect all its references. For those that want to know, another way is to rename folder of module and module info file, but be careful with references in other applications. – John Jul 12 '19 at 13:04