The import org.apache.tools cannot be resolved
- From: "John Smith" <wleung7@xxxxxxxxx>
- Date: 31 May 2006 06:48:22 -0700
I am an Eclipse newbie who are trying to learn how to write tasks from
the following tutorial:
http://ant.apache.org/manual/index.html
example code from the tutorial:
import org.apache.tools.ant.Project;
public class HelloWorld {
private Project project;
public void setProject(Project proj) {
project = proj;
}
public void execute() {
String message = project.getProperty("ant.project.name");
project.log("Here is project '" + message + "'.",
Project.MSG_INFO);
}
}
I could not find the org.apache.tools.ant.jar package from the
http://ant.apache.org/ homepage.
How do I get around this "The import org.apache.tools cannot be
resolved" error?
.
- Follow-Ups:
- Re: The import org.apache.tools cannot be resolved
- From: Oliver Wong
- Re: The import org.apache.tools cannot be resolved
- Prev by Date: Re: A simple question for Abstract Class
- Next by Date: Debugger and function calls
- Previous by thread: Java Web Services
- Next by thread: Re: The import org.apache.tools cannot be resolved
- Index(es):