Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4961

Creating a new Java Project with Existing Sources (Ant) doesn't work with modules

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      See subject:  I want to take an existing modular/package layout and import into a Netbeans/Existing Source project. 

      ./

        com.me/

          module-info.java

          com/

            me/

              pkg1/

                Foo.java

        com.you/

          module-info.java

          com/

            you/

              pkg2/

                Bar.java

      I am able to create a "Modular Project" using ANT, but then I have physically create each module within the src directory, then create a "classes" directory under each module, and then copy in the files.

      Ideally would like to be able to point at "." and have it import everything with modules/packages automagically created.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bradfordwetmore Brad Wetmore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: