How-To Setup Eclipse and WinAVR, Part 3b
How-To Setup Eclipse and WinAVR
I know it has been a long time since I last worked on this series of articles, but it is time to finish these how-to articles. Previously we installed TortoiseSVN on your computer. This is the underlying version control software we will use. Now we need to add that functionality to Eclipse. Before we begin, I need to address one very important issue. Your Subclipse plug-in, that we are going to install need to match your installed version of TortoiseSVN. When I started these articles, we installed version 1.4.x of the SVN client/server software. Since that time the software has been updated. The current version at the time of this writing is 1.6.3. I have to ask that if you are following along with these articles, that you download and install the latest version of TortoiseSVN. Just follow the instructions from Part 3a, replacing 1.4.x with 1.6.3. When you have completed that, we can move on.
If you have gone back and reread Part 3a, you might be a little confused. I was going to set up a repository, then create another chapter on istalling Subclipse. I have decided to install Subclipse first, and then we will go into creating a repository. Again, if you have no clue as to what I am talking about, don't worry as I will explain this in the next article.
So to begin adding Subclipse to our development environment, open Eclipse and click -> Help.
Next click on Software Updates... This will pull up the Software Updates and Add-on window.
Now we will click on the Add Site... button. This is where you will add the URL of the update web site. If you remember Part 2, we did something similar with the AVR Eclipse plug-in.
This next part is important. You will need to match your Subclipse plug-in to your TortoiseSVN install. If you followed what I asked in the beginning, you will have updated your TortoiseSVN to 1.6.3. What this means is you will be using Subclipse 1.6.x with TortoiseSVN 1.6.3. Look at the chart below to match up your versions. Example if you are still using TortoiseSVN 1.4.4, you will need to enter the information for Subclipse 1.4.x.
Name: Subclipse 1.6.x (Eclipse 3.2+)
Name: Subclipse 1.4.x (Eclipse 3.2+)
Name: Subclipse 1.2.x (Eclipse 3.2+)
Name: Subclipse 1.0.x (Eclipse 3.0/3.1)
Now we will enter the URL information corresponding to our version of TortoiseSVN 1.6.3.
Once you have entered the information, go ahead and click -> OK. You will be brought back to the Software Updates and Add-on window.
Place a check mark in the box labeled http://subclipse.tigris.org/update_1.6.x. You will notice that many items get check. Don't worry about it as most of the items are required. and others are features you might want to try in the future. In the upper right, go ahead and click -> Install. First, Eclipse will run through the software to make sure you have all the required parts. Depending on your updates, this might take sometime to finish. You'll see a progress meter showing approximately how long it will take. When it is complete you will see a License Agreement. You will have to click the I accept radio button to continue.
Now we will have to wait again as the updates and add-ons are installed into Eclipse. You can watch the progress if you like, or just do something else for a few minutes. After that is finished, you will be asked to restart Eclipse. Go ahead to restart Eclipse for the changes to take effect. Once Eclipse has restarted, we can chack that Subclipse was installed correctly by clicking Window -> Open Perspective. When the menu opens up, click on Other... In the OPen Perspective window, examine it for the selection: SVN Repository Exploring. If you see that, Subclipse was installed.
Well, not really finished as we are just getting started in AVR development. What we are finished with is installing software for Eclipse. There is still one more program to install, but I will leave that for later. At this point you can start driving your new development tool. Click buttons, look at different perspectives, or start a new C project if you feel ambitious. In the next article (Part 3c), we are going to finish up version control software by creating a repository. I will walk through checking in a new test file, checking out the test file, make a change, and then commit the change to the repository. In Part 4, we will install AVR Studio, and create a new C project. Things are just starting to get exciting.