Eclipse is a very popular IDE for Java. This section shows you how to import the companion download into Eclipse. This section is not meant to serve as a general tutorial or installation guide on Eclipse.
To use Eclipse you must import the companion download into Eclipse. Inside the Eclipse application, select the “Import” option from the file menu. From the import menu choose “Existing Projects into Workspace”. See Figure D.8.
Figure D.8: Importing a Project
On the next screen, choose the companion download’s directory. This will be something such as “/Users/jeff/HTTPRecipes”. This is shown in Figure D.9.
Figure D.9: Ready to Import
You may now run any of the examples as you normally would any project in Eclipse. You may notice a few warnings from Eclipse. These are a result of how the Axis framework generates code, these should be ignored. If you downloaded the examples to a different directory than c:\JavaHTTPRecipes you will need to reimport the JAR files from the “jar” directory. This can be done from the “Java Build Path” page of the project properties.