You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Kris Janssen (JIRA)" <ji...@apache.org> on 2018/11/21 20:23:00 UTC

[jira] [Created] (NETBEANS-1722) Cannot create Java Project from existing source

Kris Janssen created NETBEANS-1722:
--------------------------------------

             Summary: Cannot create Java Project from existing source
                 Key: NETBEANS-1722
                 URL: https://issues.apache.org/jira/browse/NETBEANS-1722
             Project: NetBeans
          Issue Type: Bug
          Components: java - Project
    Affects Versions: 9.0
            Reporter: Kris Janssen
         Attachments: Screenshot 2018-11-21 21.06.30.png, Screenshot 2018-11-21 21.06.38.png, Screenshot 2018-11-21 21.06.46.png, Screenshot 2018-11-21 21.07.22.png, Screenshot 2018-11-21 21.07.42.png, Screenshot 2018-11-21 21.07.59.png, Screenshot 2018-11-21 21.08.21.png, image-2018-11-21-21-15-06-421.png

Today, I installed Netbeans 9.

I wanted to create a project from existing code in the ['Micro-Manager' repo|[https://github.com/micro-manager/micro-manager].]

I followed the correct procedure:

!Screenshot 2018-11-21 21.06.38.png!

!Screenshot 2018-11-21 21.06.46.png!

At this point the Project Folder is created and empty:

!Screenshot 2018-11-21 21.06.30.png!

We continue by selecting the location of existing sources:

!image-2018-11-21-21-15-06-421.png!

!Screenshot 2018-11-21 21.07.42.png!

Unfortunately, at any stage in the wizard, clicking 'Finish' creates an 'nbprojects' folder containing a near empty 'project.xml'
{code:java}
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
  <type>org.netbeans.modules.java.j2seproject</type>
  <configuration/>
</project>
{code}
 The wizard throws up an error:

!Screenshot 2018-11-21 21.07.59.png|width=1239,height=626! The message is different in different stages of the wizard:

!Screenshot 2018-11-21 21.08.21.png|width=1216,height=614!

Google throws up quite a few old posts on similar issues with older versions of Netbeans but noe of the suggested fixes (deleting nbprojects, restarting the IDE) allows to successfully create a project from existing source.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

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