wood burning stoves
The moose likes IDEs, Version Control and other tools and the fly likes Try to guess how Eclipse works Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Try to guess how Eclipse works" Watch "Try to guess how Eclipse works" New topic

Try to guess how Eclipse works

Alex Garci

Joined: Feb 14, 2012
Posts: 15

I'm using Eclipse Indigo in Windows 7 and I don't know how to open a file. That is, when I run Eclipse I display the window to select the workspace what I want to work. After selecting it, I can't find any option to open a project. What I can do only is to open a file. I select the file to open and when I run it, I display a window with two options that are the same for me:

ant build
ant build ...

I run the program twice, each one for every option, and the result is the same: nothing is displayed and I only see the code in the IDE. The program must calculate the area of a triangle.

I move the program's folder to another one and I repeat the same process but it doesn't work.

Why I can't open a project and I can't run the file?

Peter Johnson

Joined: May 14, 2008
Posts: 5852

Have you gone through the tutorials provided in the Eclipse help? Look at Help | Help Contents and then under Workbench User Guide | Getting Started and then under Java Development User Guide | Getting Started.

Basically, you first create a project, then then you create files within that project. If you have existing files, you can copy them into a project directory and refresh the project and it will include the files.

JBoss In Action
I agree. Here's the link: http://aspose.com/file-tools
subject: Try to guess how Eclipse works
It's not a secret anymore!