| Author |
Problem in runnin ant build file from eclipse
|
Hemant Agarwal
Ranch Hand
Joined: Nov 21, 2005
Posts: 138
|
|
When I right click my build file from eclipse and select run as ant build, I am getting error dialog box "Could not find the main class. Program will exit". What could be the possible reasons? Thanks, Hemant Agarwal
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26192
|
|
Hemant, Maybe the class isn't in the classpath? Can you post the build.xml here? This will help people give you a more useful and specific answer.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Matt Harrah
Ranch Hand
Joined: Aug 05, 2006
Posts: 54
|
|
|
Check your ant home setting in eclipse
|
 |
 |
|
|
subject: Problem in runnin ant build file from eclipse
|
|
|