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 
<peterhul...@gmail.com> wrote:  
 
 Hi Zulfi,
On Thu, 8 Feb 2024 at 05:55, Zulfi Khan <zulfi6...@yahoo.com> 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  
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="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";>
    <modelVersion>4.0.0</modelVersion>
    <groupId>m</groupId>
    <artifactId>emailvalidator</artifactId>
    <version>0.1</version>
    <packaging>jar</packaging>
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <exec.mainClass>m.emailvalidator.Emailvalidator</exec.mainClass>
        <maven.compiler.release>11.0.19</maven.compiler.release>
    </properties>
    <dependencies>
    <!-- required dependency below -->
        <dependency>
            <groupId>commons-validator</groupId>
            <artifactId>commons-validator</artifactId>
            <version>1.8.0</version>
            <type>jar</type>
        </dependency>
    </dependencies>
</project>
---------------------------------------------------------------------
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

Reply via email to