Re: Can't open the project
Hi Zulfi, On Fri, 9 Feb 2024 at 04:38, Zulfi Khan wrote: > Hence I changed the name to ValidateName3 and it solved the problem. I'm glad you fixed it. I assume, when you say 'name', you changed the in the POM, is that correct? Because there is an optional element which sets the name that Netbeans displays, but doesn't change maven's artifact ID. That would probably cause problems later if you changed just the . > Thanks for your time but skipping the problem is not a good strategy. What did you mean by that? Peter - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Can't open the project
Dear Peter- Good Morning, This is my original project. I did not download it from the internet. The actual problem was that the last guy asked me to use his Pom.xml.(long story short). I copied his pom.xml into my project or it may be some other issue. However, the issue was related to POM.xml. It bears the name of emailvalidator instead of ValidateName3. Hence I changed the name to ValidateName3 and it solved the problem. I can now open my ValidateName3. I have attached the POM.xml. Thanks for your time but skipping the problem is not a good strategy. God blesses you. Zulfi On Thursday, February 8, 2024 at 02:13:24 AM CST, Peter Hull wrote: Hi Zulfi, On Thu, 8 Feb 2024 at 05:55, Zulfi Khan wrote: > Sorry your suggestion did not work. I don't know why you told me to rename, > this may disturb my internal links. I renamed it to ValidateName2 from "Open > project" window but it didn't work. Then I renamed it > ValidateName3 using the File explorer. But this one does not work too. Those things were not what I suggested so I'm not surprised it doesn't work. The main thing is this: what Netbeans calls the Project Name is not the same as the directory which holds the project files. In the Open Project dialog, you see the directory name on the left and on the right is the Project Name. However, by default when you create a new project, they are given the same name. Afterwards, you can view and maybe rename either the project or the directory with the Rename dialog (see image.) I believe that, if you only use this dialog, NB will do everything properly and nothing will be disturbed (unless you're doing something unusual within this project?) I assume that you downloaded this project from the internet somewhere, and whoever created it originally changed the project name ('emailValidator') to be different to the directory name ('ValidateName'). They are the same project! Can you tell me where you got it from or share a link? Create a new project of your own and play with renaming it, then you will see how it works. Hope this helps, Peter - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> 4.0.0 m emailvalidator 0.1 jar UTF-8 m.emailvalidator.Emailvalidator 11.0.19 commons-validator commons-validator 1.8.0 jar - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Can't open the project
Hi Zulfi, On Thu, 8 Feb 2024 at 05:55, Zulfi Khan wrote: > Sorry your suggestion did not work. I don't know why you told me to rename, > this may disturb my internal links. I renamed it to ValidateName2 from "Open > project" window but it didn't work. Then I renamed it > ValidateName3 using the File explorer. But this one does not work too. Those things were not what I suggested so I'm not surprised it doesn't work. The main thing is this: what Netbeans calls the Project Name is not the same as the directory which holds the project files. In the Open Project dialog, you see the directory name on the left and on the right is the Project Name. However, by default when you create a new project, they are given the same name. Afterwards, you can view and maybe rename either the project or the directory with the Rename dialog (see image.) I believe that, if you only use this dialog, NB will do everything properly and nothing will be disturbed (unless you're doing something unusual within this project?) I assume that you downloaded this project from the internet somewhere, and whoever created it originally changed the project name ('emailValidator') to be different to the directory name ('ValidateName'). They are the same project! Can you tell me where you got it from or share a link? Create a new project of your own and play with renaming it, then you will see how it works. Hope this helps, Peter - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Can't open the project
For maven projects there are three "names" to consider - the name of the directory on disk, the display name and the maven artifact ID. If you open that ValidateName/emailValidator project and then, in project view, right click and select Rename... you will be able to rename one or all of these to what you want. Peter On Wed, 7 Feb 2024 at 05:57, Zulfi Khan wrote: > > Hi, > > I am trying to open my project ValidateName but instead its opening the > project emailValidator. Somebody, please guide me. > > I have attached the image. > > Zulfi. > > - > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > For additional commands, e-mail: users-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists