The import cannot be resolved

The import cannot be resolved

Post by John Smit » Thu, 01 Jun 2006 22:48:22

I am an Eclipse newbie who are trying to learn how to write tasks from
the following tutorial:

example code from the tutorial:

public class HelloWorld {

private Project project;

public void setProject(Project proj) {
project = proj;

public void execute() {
String message = project.getProperty("");
project.log("Here is project '" + message + "'.",

I could not find the package from the

How do I get around this "The import cannot be
resolved" error?

The import cannot be resolved

Post by Oliver Won » Fri, 02 Jun 2006 00:45:03

[...] #installing
+--- bin // contains launcher scripts
+--- lib // contains Ant jars plus necessary dependencies

Did you check the ant/lib directory?

- Oliver