Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| labs:eclipse [2008/10/17 14:48] – admin | labs:eclipse [2016/11/07 02:53] (current) – [Metrics] admin |
|---|
| | ====== Eclipse ====== |
| | |
| | [[http://www.eclipse.org|Eclipse]] is an open source integrated development environment (IDE) for [[http://www.oracle.com/technetwork/java/index.html/|Java]]. More generally, Eclipse is described as "an open extensible IDE for anything and nothing in particular." Eclipse provides a robust Java development environment that incorporates popular tools like [[http://www.junit.org/|JUnit]]. The beauty of Eclipse is in the extensibility of the platform beyond a basic Java development environment through plug-ins. |
| | |
| | |
| | ===== Resources ===== |
| | |
| | |
| | * [[http://open.ncsu.edu/se/tutorials/eclipse/|Getting Started Using Eclipse]] |
| | * [[http://open.ncsu.edu/se/tutorials/install_plugin/|Installing Plugins]] |
| | * [[http://eclipsetutorial.sourceforge.net/debugger.html|Using the Eclipse Debugger]] |
| | * [[http://open.ncsu.edu/se/tutorials/junit/|JUnit]] |
| | |
| | ===== Remote System Access ===== |
| | |
| | Eclipse has remote system access built into it. |
| | |
| | To use it with our systems, go to ''File --> New --> Other --> Remote System Explorer --> Connection''. Select ''SSH Only''. Use ''fred.you_know_the_rest.edu'' as the host name. |
| | |
| | You may need to switch into the ''Remote System Explorer'' view by going to ''Window --> Perspective --> Open Perspective --> Other --> Remote System Explorer''. The perspective you're currently in shows up in little icons in the upper right hand corner of Eclipse. |
| | |
| | {{ :labs:fred.png?130|}} |
| | Right-click on the connection you just made, and click ''Connect'', and enter your password. After making a connection, in the left ''Remote Systems'' side bar, you should see something like the image on the right: |
| | |
| | You should be able to open the various folders to see your directories. You can drag and drop or copy/paste files from your (local) machine into the remote directories in this Eclipse view. |
| | ===== Plugins ===== |
| | |
| | ==== EclEmma ==== |
| | |
| | Records program coverage |
| | |
| | ==== Metrics ==== |
| | |
| | I found two different Metrics plugins. |
| | |
| | This one has a summary view and is the one demonstrated in CS209: [[http://metrics2.sourceforge.net/|Metrics Site]] |
| | |
| | |
| | This one shows you for what metrics your code is starting to be bad: |
| | [[http://eclipse-metrics.sourceforge.net/|Metrics Site]] |
| | |
| |