Using NetBeans For Your Existing Projects Brian Leonard
2 Agenda ● Introduction ● About NetBeans Projects ● Automated Project Import ● Manual Project Import ● Using Multiple IDEs ● Conclusion
3 Goals ● Become friends with the NetBeans project system ● Learn how projects can be imported into NetBeans ● Learn how NetBeans can be used alongside other IDEs
4 Agenda ● Introduction ● About NetBeans Projects ● Automated Project Import ● Manual Project Import ● Using Multiple IDEs ● Conclusion
5 NetBeans projects ● Ant-based projects ● Project file: build.xml ● Can be extended ● Ant tightly integrated
6 Two Project Types ● Regular projects ● Free-form projects ● If you can, use regular projects ● Much easier, setup free ● Default file structure ● The IDE takes care of build.xml
7 Demo NetBeans Project Basics
8 Agenda ● Introduction ● About NetBeans Projects ● Automated Project Import ● Manual Project Import ● Using Multiple IDEs ● Conclusion
9 Automated Import ● Good news for Java SE projects created with JBuilder or Eclipse: ● We have project importers ● Available on the update center ● They create the build.xml file ● Works for Java SE Projects
10 Demo Eclipse Project Importer
11 Agenda ● Introduction ● About NetBeans Projects ● Automated Project Import ● Manual project import ● Using Multiple IDEs ● Conclusion
12 Manual import ● Using regular projects ● Create a New Project with Existing Sources ● Let NetBeans generate build.xml ● Using free-form projects ● Create a New Project with Existing Ant Script ● Reuse existing build.xml
13 Agenda ● Introduction ● About NetBeans Projects ● Automated Project Import ● Manual Project Import ● Using Multiple IDEs ● Conclusion
14 Using Multiple IDEs Regardless of how you get your project into NetBeans It's harmless and easy to still use those other IDEs
15 Demo Sharing a Project Between NetBeans and Eclipse
16 Did you know...? ● There are Hibernate and Spring plug-ins for NetBeans ● There is a vi plug-in for NetBeansvi plug-in ● NetBeans has keybindings for Eclipse and emacs ● The NetBeans 6 Editor is on par with Eclipse ● Maven is well integrated
17 Conclusion ● There are tools that help with project setup ● Free-form projects and Maven are interesting for some scenarios ● You can use NetBeans in a multi-IDE environment ● There is no longer a reason for Eclipse users not to try NetBeans :-)
Using NetBeans For Your Existing Projects