Setting up Eclipse IDE has been edited by Janandith Uditha Jayawardena (May 27, 2008).

(View changes)

Content:

Eclipse is one of the favourite development environments among JAVA developers. At first glance setting up Eclipse to work with Sling is confusing so this article is  intended to help you get going with Sling development using Eclipse without pain.

Eclipse can be used to checkout code from the Sling repository and source build using maven. You can add new modules and re-build using maven inside Eclipse.

The tutorial describes how to setup the development environment for Eclipse version 3.3.2 (Europa). 

Here is how you work this magic.

Install Subclipse plug-in for Eclipse

To use subversion in eclipse you have to install the Subclipse plug-in using the following Eclipse update location,

        http://subclipse.tigris.org/update_1.2.x

Steps to install Subclipse plug-in,

    1.  In Eclipse IDE go to Help - > Software Updates - >  Find and Install.

    2.  Select "Search for new features to Install" and clickk next.

    3.  Click on the button "New Remote Site" in the window and enter a name ex: Subclipse and the URL specified above in the URL: field and click "OK".

    4.  The new name you specified will appear in the "Sites to include in search:" window select this and click finish.

    5.  In "Select  features to install" window select Subclipse and click "Finish" button. Deselect Mylin and Buckminister Integrations if "Finish" Button appears inactive.( I didn't find any use in the integrations and the "Finish" button was not active until I deselected them).

   6.   Agree to the licence agreement and proceed to install once Eclipse prompts you.

   7.   After installing you have to restart Eclipse. You can view repositories by going to Open Perspective - > Other - > SVN Repository Exploring.

 Install Maven2 plug-in for Eclipse

 

Reply via email to