jeffheaton's picture

    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 will have to import the companion download into Eclipse. In the Eclipse application, select the “Import” option from the “File” menu of Eclipse. From the import menu choose “Existing Projects into Workspace”. Figure B.10 shows this.

Figure B.10: Importing a Project

Importing a Project

    On the next screen you must choose the companion download’s directory ? which is the HTTPRecipes directory. On my machine, this is located at “c:\JavaHTTPRecipes”. You can see this in Figure B.11.

Figure B.11: Ready to Import

Ready to Import

    Once the companion download has been imported, you will be taken to Eclipse, but there will be some warnings. This is normal, as some of the third party web service libraries cause these. They are normal. Figure B.12 shows a successful import.

Figure B.12: A Successful Import

A Successful 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.


Copyright 2005 - 2012 by Heaton Research, Inc.. Heaton Research™ and Encog™ are trademarks of Heaton Research. Click here for copyright, license and trademark information.