[ 
https://issues.apache.org/jira/browse/NETBEANS-3111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikolaus Schüler updated NETBEANS-3111:
---------------------------------------
    Description: 
Go onto an exiting project in the _Projects_ tab. Lets assume it is named 
_myproject._

Right-click on it. In the dialog that opens, give it a new name, like 
_newproject_.

Now you have two projects named _myproject._

In the filesystem, the project _newproject_ has the new name.

To fix the naming in the projects tab, rename it in the Maven _pom.xml_. Best 
add a file in the shell so you know which is which. You can, for example, do:

 

{{touch newproject/NEW}}

Go to the _Files_ tab in NB. In the new project, open the _pom.xml_ and change 
the artifact ID to

 

{\{ <artifactId>newproject</artifactId>}}

As soon as you save the file, the project name will change in NBs project tab.

Looks like this only affect Maven projects. I also checked with an Ant project. 
The problem does not occur with such a project.

  was:
Go onto an exiting project in the _Projects_ tab. Lets assume it is named 
_myproject._

Right-click on it. In the dialog that opens, give it a new name, like 
_newproject_.

Now you have two projects named _myproject._

In the filesystem, the project new has the new name.

To fix that, rename it in the Maven _pom.xml_. Best add a file in the shell so 
you know which is which. You can, for example, do:

 

{{touch newproject/NEW}}

Go to the _Files_ tab in NB. In the new project, open the _pom.xml_ and change 
the artifact ID to

 

{\{ <artifactId>newproject</artifactId>}}

As soon as you save the file, the project name will change in NBs project tab.

Looks like this only affect Maven projects. I also checked with an Ant project. 
The problem does not occur with such a project.


> Copying a Maven project creates a copy with the same name
> ---------------------------------------------------------
>
>                 Key: NETBEANS-3111
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3111
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 11.1
>         Environment: Mac OS Mojave 10.14.6
>            Reporter: Nikolaus Schüler
>            Priority: Minor
>
> Go onto an exiting project in the _Projects_ tab. Lets assume it is named 
> _myproject._
> Right-click on it. In the dialog that opens, give it a new name, like 
> _newproject_.
> Now you have two projects named _myproject._
> In the filesystem, the project _newproject_ has the new name.
> To fix the naming in the projects tab, rename it in the Maven _pom.xml_. Best 
> add a file in the shell so you know which is which. You can, for example, do:
>  
> {{touch newproject/NEW}}
> Go to the _Files_ tab in NB. In the new project, open the _pom.xml_ and 
> change the artifact ID to
>  
> {\{ <artifactId>newproject</artifactId>}}
> As soon as you save the file, the project name will change in NBs project tab.
> Looks like this only affect Maven projects. I also checked with an Ant 
> project. The problem does not occur with such a project.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to