Join Todd Perkins for an in-depth discussion in this video Using the exercise files, part of Eclipse Essential Training.
- The Exercise Files for this course are organized by Chapters. In addition to the Chapter folders, there's also a folder called assets that contains an image file. In the Chapter 01 folder, you'll notice that there's a text file called THERE ARE NO EXERCISE FILES FOR THIS CHAPTER. For most of the rest of the course, you're going to see sub-folders inside of the Chapter folders. Each folder corresponds to an individual movie. To open up these in Eclipse, you'll need to set your workspace to the appropriate Chapter folder.
So I'll close this window and open up Eclipse. When Eclipse launches, you're going to see the Workspace Launcher window. Now, it's likely you don't actually have Eclipse installed yet, so you can always come back to this movie later and when you have a need to use the Exercise Files, do a little review. So if you look at my workspace here, I have it set to Exercise Files/Chapter 05. Let's say I wanted to work with Chapter 02. I'll click the Browse button, and I'll click on Chapter 02.
Now in here, there are five folders. First, Formatting, Refactoring, Searching, and Tasks. The folders that begin with a . are actually hidden files so we can ignore them. So with Chapter 02 selected, I'll click Open, and then I'll click OK to set my workspace. If you checked the box to hide that prompt when you open Eclipse, you can change your workspace through the File Menu. That option is found under File, Switch Workspace, and then you can choose Other... if you don't see the workspace listed here.
That will give you the same prompt. So I'll close that, and I see four folders here. I'll come back to the fifth one in just a minute. For the most part, you're going to see on my screen which folder I'm working in and you can expand that folder by clicking the arrows, and you may also have to expand the source folder, if you're working with a Java project. And maybe expand the (default package) as well. Just make sure that your screen matches mine, so you have the appropriate folders expanded and you're working in the appropriate file.
Once you drill down to the Java file or other code file, if you're working it in another language, you can double click the file to open it up in the editor. So here's Formatting.java. I mentioned earlier that we're missing one of the projects. If you switch your workspace and you don't see one or more projects here, then you can import an existing project into your workspace. You can do that by going to File, Import..., General, Existing Projects Into Workspace.
So select that and click Next. And then we select a root directory. In this case it's going to be Chapter 02, First. And then I'll click Open. I'm going to leave the rest of the settings at default and click Finish. And there's the first project inside of my workspace. Now I can expand it, expand the source folder, the (default package), open up Test.java, and here's my project in my workspace.
So whenever you move to a new chapter, you're going to need to switch your workspace to the appropriate chapter that you're working in. When that happens, the projects that you see for a different Chapter are going to disappear and the new projects will be populated in the Package Explorer area on your screen, and if you have trouble finding the code files that I'm working in, make sure that your folders are expanded just like mine are in the movie that you're watching. For those of you who don't have access to the Exercise Files, you can still follow along.
Nearly all of the projects in this course are created from scratch, so you can create your project from scratch, in the ways that I show in the movies, and write your code in the same way. For many of the projects, there's not going to be a whole lot of code to write, and I'll make sure to show you all the code on my screen, so you can copy it down as necessary.
- What is Eclipse?
- Setting up a workspace
- Adding external files to a project
- Installing add-ons
- Refactoring code
- Working with tasks
- Customizing formatting
- Using Git for version control
- Developing Java, PHP, C/C++, Perl, and Python apps with Eclipse
- Setting up testing servers
- Testing apps
- Debugging apps
Skill Level Beginner
Q: This course was updated on 10/09/2018. What changed?
A: New videos were added that cover Java 9, Java 10, and PHP features in Eclipse 4.8. Plus, learn how to use Eclipse for Rust development.
Edge Animate Essential Trainingwith Chris Converse4h 44m Beginner
Illustrator CC 2013 One-on-One: Intermediatewith Deke McClelland11h 37m Intermediate
1. Introduction to Eclipse
2. Working with Code
3. Using Git for Version Control
4. Using Eclipse for Java Development
5. Using Eclipse for PHP Development
6. Using Eclipse for C/C++ Development
7. Using Eclipse for Perl Development
8. Using Eclipse for Python Development
Using Eclipse for Rust Development
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.