Reputation: 6817
I have a Java program source files, complete with its subdirectories. My problem is, how can I put all of this inside an IDE (ie. Netbeans, Eclipse) , so that I can easily, modify, compile and package it to become a *.jar file.
Upvotes: 1
Views: 98
Reputation: 714
If you happen to be using Maven as your build tool there are some nice plugins for creating a project file that you can open in your IDE.
For example:
Eclipse: mvn eclipse:eclipse
Intellij IDA: mvn idea:idea
Upvotes: 1
Reputation: 55448
Eclipse: File->New->Java Project, then check "Create project from existing source" instead of "Create new project in workspace"
Netbeans has similar way to do it.
Upvotes: 7