NetBeans IDE Field Guide



Similar documents
NetBeans IDE Field Guide

Beginning with SubclipseSVN

Tech Tips Helpful Tips for Pelco Products

Software Development Environment. Installation Guide

U of S Course Tools. Copying a Development/Test Course into a Live Course in the U of S Course Tools For Instructors

Rational Application Developer v7.0 (RAD7) trial version. Installation guide

Open a PDF document using Adobe Reader, then click on the Tools menu on the upper left hand corner.

Industrial Security Facilities Database (ISFD) Troubleshooting Tips

Juris Installation / Upgrade Guide

Microsoft SharePoint 2010 End User Quick Reference Card

USING STUFFIT DELUXE THE STUFFIT START PAGE CREATING ARCHIVES (COMPRESSED FILES)

Outlook to Windows Live Mail

Maintenance Guide. Outpost Firewall 4.0. Personal Firewall Software from. Agnitum

How to install USB driver (MICRO/I)

Installing Java 5.0 and Eclipse on Mac OS X

5.6.3 Lab: Registry Backup and Recovery in Windows XP

eadvantage Certificate Enrollment Procedures

How to share media files through Windows Media Player 11

DEPLOYING A VISUAL BASIC.NET APPLICATION

SysAid Remote Discovery Tool

Releasing blocked in Data Security

Installation Instructions

Purchase Agent Installation Guide

ENABLE LOGON/LOGOFF AUDITING

Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Microsoft Windows

How to install USB driver (MICRO/I)

NetIQ Advanced Authentication Framework - Password Filter. Installation Guide. Version 5.1.0

Cloud Tools Reference Guide. Version: GA

Disabling Microsoft SharePoint in order to install the OneDrive for Business Client

Accessing Windows AnyConnect with Windows XP Procedure Version 1.4 Last Updated: 01/30/2012. Overview. Requirements. Contents

Outlook Profile Setup Guide Exchange 2010 Quick Start and Detailed Instructions

Document Management Quick Reference Guide

Exchange 2003 Mailboxes

PTC Integrity Eclipse and IBM Rational Development Platform Guide

Deploying Physical Solutions to InfoSphere Master Data Management Server Advanced Edition v11

Tutorial: setting up a web application

For Introduction to Java Programming, 5E By Y. Daniel Liang

How to Install Eclipse. Windows

Install the Production Treasury Root Certificate (Vista / Win 7)

Pocket ESA Network Server Installation

Software Repair Assistant Manual for DuraXV

Installation Guide for Windows May 2016

Sage Intelligence Financial Reporting for Sage ERP X3 Version 6.5 Installation Guide

Introduction: The Xcode templates are not available in Cordova or above, so we'll use the previous version, for this recipe.

WA1781 WebSphere Process Server v6.2 Administration. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

October, Install/Uninstall Xerox Print Drivers & Apps Best Practices for Windows 8, 8.1, and 10 Customer Tip

Printer Sharing of the PT-9500pc in a Windows Environment

Installing a Browser Security Certificate for PowerChute Business Edition Agent

SharePoint List Filter Favorites Installation Instruction

Exchange Outlook Profile/POP/IMAP/SMTP Setup Guide

Guide to PDF Publishing

Print Audit 6 Network Installation Guide

support HP MFP Scan Setup Wizard 1.1

Novell Filr. Windows Client

FDOT Construction Software Release Notes and Installation Guide

Tutorial: BlackBerry Application Development. Sybase Unwired Platform 2.0

Introduction to Android Development

Virtual Office Remote Installation Guide

Java. How to install the Java Runtime Environment (JRE)

Exchange Outlook Profile/POP/IMAP/SMTP Setup Guide

This document also includes steps on how to login into HUDMobile with a grid card and launch published applications.

TM Online Storage: StorageSync

Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Microsoft Windows

Software Installation Requirements

Troubleshooting Business Analyst Installation and Startup

Global VPN Client Getting Started Guide

Midland BT Updater BTUpdater Program Program file (x86) ), Midland

FX-BTCVT Bluetooth Commissioning Converter Commissioning Guide

Lepide Event Log Manager: Installation Guide. Installation Guide. Lepide Event Log Manager. Lepide Software Private Limited

Zoom Plug-ins for Adobe

Testing your Linux Virtual Box

GE Intelligent Platforms. Activating Licenses Online Using a Local License Server

Upgrading to Document Manager 2.7

Error: "Object reference not set to an instance of an object" When Opening Any Database

Wimba Create. Version 2.6. Installation Guide

Using the Synchronization Client

Colligo Manager 6.0. Offline Mode - User Guide

Moving the Web Security Log Database

Version 2.10 Installation and Configuration Guide

A browser must be open and connected through Jeffco s network How to set up network printing over WI-FI

VPN: Installing the IPSec client

MY WORLD GIS. Installation Instructions

Magaya Software Installation Guide

SSL Intercept Mode. Certificate Installation Guide. Revision Warning and Disclaimer

Internet Explorer 7 for Windows XP: Obtaining MIT Certificates

ProjectWise Explorer V8i User Manual for Subconsultants & Team Members

Quest ChangeAuditor 4.8

PC Agent Quick Start. Open the Agent. Autonomy Connected Backup. Version 8.8. Revision 0

Administration guide. Host software WinCCU Installation. Complete gas volume and energy data management

Sharpdesk V3.5. Push Installation Guide for system administrator Version

Colligo Manager 5.1. User Guide

ECA IIS Instructions. January 2005

Contents. VPN Instructions. VPN Instructions... 1

NetIQ Advanced Authentication Framework - Administrative Tools. Installation Guide. Version 5.1.0

DevInfo 7 Web Installer Guide

How to load balance printers

NETWRIX EVENT LOG MANAGER

Software Upgrade Assistant Manual for DuraXV

Transcription:

NetBeans IDE Field Guide Copyright 2005 Sun Microsystems, Inc. All rights reserved. Table of Contents Importing an Eclipse Project into NetBeans IDE...1 Getting the Eclipse Project Importer...2 Choosing between Importing with or without Project Dependencies...3 Importing an Eclipse Project and Preserving Project Dependencies...3 Importing an Eclipse Project Ignoring Project Dependencies...5 Handling Eclipse Project Discrepancies...7 Handling Eclipse Project Reference Problems...8 Importing an Eclipse Project into NetBeans IDE To address developers needs in migrating applications to NetBeans, an optional module called the Eclipse Project Importer was created to automatically import Eclipse projects into NetBeans as NetBeans projects. This optional module is available in NetBeans IDE 4.1 via the Update Center. The Eclipse Project Importer greatly simplifies the task of migrating applications developed under Eclipse to NetBeans by processing Eclipse project metadata and mapping it directly to a new NetBeans project. The NetBeans Eclipse Project Importer is so advanced it will not only identify and automatically fix Eclipse project discrepancies, it will also identify erroneous Eclipse project references and suggest corrective actions to resolve them once the project has been imported into NetBeans. The NetBeans Eclipse Project Importer is also very flexible since you can select projects from an Eclipse workspace where project dependencies are automatically identified and marked for importing if such project dependencies exist. In addition, the NetBeans Eclipse Project Importer will also let you select individual Eclipse projects for importing into NetBeans without specifying the location of the Eclipse Workspace. This chapter describes the simple procedure of importing Eclipse projects into NetBeans using the NetBeans Eclipse Project Importer. The procedure for project imports from Eclipse workspaces and project imports from specific Eclipse projects will be described. NetBeans IDE Field Guide, Importing an Eclipse Project into NetBeans IDE, 1

Getting the Eclipse Project Importer The NetBeans Eclipse Project Importer is an optional module for NetBeans IDE 4.1, so it is not in the standard download. To download and install the Eclipse Project Importer module, launch NetBeans IDE and choose Tools Update Center from the main menu. In the Update Center, select the Eclipse Project Importer from the Infrastructure category (as shown in Figure A-1) and click the arrow button to add the module to list of modules to download. Figure A-1 Update Center wizard with the Eclipse Project Importer module selected Once you have downloaded and installed the Eclipse Project Importer module, you are ready to begin the migrating an Eclipse project to NetBeans. NetBeans IDE Field Guide, Importing an Eclipse Project into NetBeans IDE, 2

Choosing between Importing with or without Project Dependencies As mentioned earlier, NetBeans IDE's Eclipse Project Importer provides two options for importing Eclipse projects into NetBeans. One option is to select Eclipse projects from an Eclipse Workspace where project dependencies can be automatically identified, marked and selected by the NetBean's Eclipse Project Importer. This option preserves project dependancies and consequently makes it very easy to import Eclipse projects which have dependencies on other Eclipse projects. The NetBeans Eclipse Project Importer automatically determines the project dependencies for you. You can also use this option to import an Eclipse project which has no additional project dependencies. The other option for importing Eclipse projects imports only the specified project and ignores any project dependencies which may exist with other Eclipse projects. This option is best suited for situations where you do not have an Eclipse Workspace, but have access to an Eclipse project. NetBeans IDE Tip In most cases you should use the option to import Eclipse projects using an Eclipse Workspace so that project dependancies are preserved. The option to import Eclipse projects directly while ignoring project dependancies is most applicable when a Eclipse Workspace is no longer available as a result of an action such as an Eclipse IDE uninstall which resulted in an Eclipse Workspace removal. Importing an Eclipse Project and Preserving Project Dependencies This section describes the procedure necessary to import an Eclipse project from an Eclipse Workspace. When using this option to import Eclipse projects, the NetBeans Eclipse Project Importer automatically determines any project dependencies and imports those projects as well. To initiate an import of an Eclipse project along with any additional dependent projects, choose the File Import Project Eclipse Project menu item in the NetBeans IDE. This will display the Import Eclipse Project wizard. From the Import Eclipse Project wizard, specify the location of the Eclipse Workspace you wish to import from. An example is shown below. NetBeans IDE Field Guide, Importing an Eclipse Project into NetBeans IDE, 3

Figure A-2 Import Eclipse Project wizard, Workspace Location panel Once you have specified the location of the Eclipse Workspace, press Next to display the Project to Import portion of the Import Eclipse Project wizard. This portion of the wizard asks you which Eclipse projects you would like to import and the location of where to create the imported project(s) for NetBeans. If there are project dependencies between a selected Eclipse project to import, the NetBeans Eclipse Project Importer will automatically determine this and mark those dependent projects for import also. In the example in Figure A-3, MainProject was initially selected, but since MainProject depends on HelperProject, HelperProject is also marked for importing. NetBeans IDE Field Guide, Importing an Eclipse Project into NetBeans IDE, 4

Figure A-3 Import Eclipse Project wizard, Projects to Import panel To complete the Import Eclipse Project wizard and complete the importing of the Eclipse project(s) into NetBeans, press the Finish button. If NetBeans discovers discrepancies in the Eclipse project(s) while processing the Eclipse project information and believes it can resolve those discrepancies automatically, the NetBeans Eclipse Project Importer will display a warning dialog showing any Eclipse project discrepancies it has found and the corrective action NetBeans has taken. If you see this dialog, there is no additional work required. For more information on Eclipse Project Discrepancies, see Handling Eclipse Project Discrepancies on page XXX. If the NetBeans Eclipse Project Importer has discovered problems in an Eclipse project such as a project resource that could not be found, NetBeans will display an Eclipse project Reference Problems warning dialog along with appropriate actions for you to take to resolve these Eclipse project reference problems once the project has been imported into NetBeans. This dialog is presented guide toward correcting problems that have been detected in the Eclipse project which the NetBeans Eclipse Project Importer can not correct itself. For more information on Eclipse project reference problems, see Handling Eclipse Project Reference Problems on page XXX. If the NetBeans Eclipse Project Importer has found no project reference problems in the Eclipse project you are importing, you can begin using NetBeans IDE on your newly imported Eclipse project(s). For instance, you can immediately begin using the NetBeans Project Viewer to traverse the imported project(s), or you can begin running the newly imported Eclipse projects by right-clicking on the newly imported project in the Project Window and selecting Run Project from the context sensitive menu. Importing an Eclipse Project Ignoring Project Dependencies This section describes the procedure necessary to import an Eclipse project when an Eclipse workspace is not available or when you want to import a specific project and ignore project dependancies. When using this option to import Eclipse projects, the NetBeans Eclipse Project Importer will ignore any project dependencies which may exist between projects. NetBeans IDE Field Guide, Importing an Eclipse Project into NetBeans IDE, 5

To initiate an import of an Eclipse project and ignore any project dependencies that may exist, choose File Import Project Eclipse Project menu in NetBeans IDE. In the Import Eclipse Project wizard, select the Import Project Ignoring Project Dependencies radio button and specify the Eclipse project to import and the destination folder where the project should be imported to. Figure A-4 Import Eclipse Project wizard, Workspace Location panel Once you have specified the location of the Eclipse project to import and the destination folder, press Finish button to complete the Import Eclipse Project wizard and complete the importing of the Eclipse project into NetBeans. The NetBeans Eclipse Project Importer is rather sophisticated in its processing of Eclipse projects. For instance, if NetBeans discovers discrepancies in the Eclipse project while processing the Eclipse project information and believes it can resolve those discrepancies automatically, the NetBeans Eclipse Project Importer will display a Warning dialog showing any Eclipse project discrepancies it has found and the corrective action NetBeans has taken. If you see this dialog, there is no additional work required. For more information on Eclipse Project Discrepancies, see Handling Eclipse Project Discrepancies on page XXX. NetBeans IDE Field Guide, Importing an Eclipse Project into NetBeans IDE, 6

If the NetBeans Eclipse Project Importer has discovered problems in your Eclipse project such as a project resource that could not be found, NetBeans will display a Reference Problems warning dialog along with appropriate actions for you to take to resolve these Eclipse project reference problems once the project has been imported into NetBeans. This dialog is presented so that you may correct problems that have been detected in the Eclipse project while the NetBeans Eclipse Project Importer was processing the Eclipse project information. For more information on Eclipse project reference problems, see Handling Eclipse Project Reference Problems on page XXX. If the NetBeans Eclipse Project Importer has found no project reference projects in the Eclipse project you are importing, you can begin using NetBeans IDE on your newly imported Eclipse project so long as you do not have other dependent projects that must be imported. If there are no additional project dependencies for the project you have just imported, you can immediately begin using the NetBeans Project Viewer to traverse the imported project(s). You can also begin running the newly imported Eclipse project by right clicking on the newly imported project in the Project Window and selecting Run Project from the context sensitive menu. Handling Eclipse Project Discrepancies If the NetBeans Eclipse Project Importer identifies Eclipse project discrepancies while importing an Eclipse project after pressing the Finish button on the Import Eclipse Project wizard, a warning dialog will be displayed explaining the Eclipse project discrepancies discovered during the project import along with the action NetBeans will take in dealing with the Eclipse project discrepancies found. You do not need to take any additional action when this warning dialog appears. The warning dialog is meant to be informative and to tell you the NetBeans Eclipse Project Importer found discrepancies in the Eclipse project is was importing. An example dialog is shown in Figure A-5, which illustrates an Eclipse project discrepancy found by the NetBeans Eclipse Project Importer during an Eclipse project import and shows the corrective action taken by NetBeans to fix the Eclipse project discrepancy. Figure A-5 Notification that there inconsistencies in the imported Eclipse project that NetBeans has corrected As already mentioned, if you see this warning dialog there is no additional work required on your part. The NetBeans Eclipse Project Importer is only telling you it has found project discrepancies in the Eclipse project being imported into NetBeans. NetBeans IDE Field Guide, Importing an Eclipse Project into NetBeans IDE, 7

Handling Eclipse Project Reference Problems If the NetBeans Eclipse Project Importer identifies an Eclipse project reference problem while processing an Eclipse project after you press the Finish button in the Import Eclipse Project wizard, a warning dialog will be displayed. This dialog reports that NetBeans has found an Eclipse project reference problem and suggests the corrective action you should take. An example of this warning dialog is shown in Figure A-6. Figure A-6 Notification that there are reference problems in the imported project that you must resolve after closing the dialog To resolve these detected Eclipse project reference problems, go to the NetBeans Project window, right click the project which has just been imported and select Resolve Reference Problems option from the context sensitive menu. See Figure A-7. NetBeans IDE Field Guide, Importing an Eclipse Project into NetBeans IDE, 8

Figure A-7 Contextual menu item for resolving reference problems in an imported Eclipse project After selecting the Resolve Reference Problems, a Resolve Reference Problems wizard is displayed which identifies what NetBeans has found for Eclipse project reference problems. An example of this wizard is shown below. The NetBeans Resolve Reference Problems dialog box (as shown in Figure A-8) describes the Eclipse project reference problems the NetBeans Eclipse Project Importer has found with the imported Eclipse project along with a suggested solution. To resolve the discovered Eclipse project reference problem(s), you simply press the Resolve button. Although the NetBeans Eclipse Project Importer cannot automatically resolve all problems it has found with Eclipse projects, it does give you suggested solutions as to how to resolve the Eclipse project reference problems it has found. NetBeans IDE Field Guide, Importing an Eclipse Project into NetBeans IDE, 9

Figure A-8 Resolve Reference Problems dialog box NetBeans IDE Field Guide, Importing an Eclipse Project into NetBeans IDE, 10