File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Ant, Maven and Other Build Tools
Problem in runnin ant build file from eclipse
Joined: Nov 21, 2005
Aug 03, 2006 00:51:00
When I right click my build file from eclipse and select run as
build, I am getting error dialog box "Could not find the main class. Program will exit". What could be the possible reasons?
author & internet detective
Joined: May 26, 2003
Aug 03, 2006 17:28:00
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.
OCA 8 book
How To Ask Questions The Smart Way
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
Joined: Aug 05, 2006
Aug 09, 2006 04:52:00
Check your ant home setting in eclipse
I agree. Here's the link:
subject: Problem in runnin ant build file from eclipse
Problem with Eclipse and the servicegen task of weblogic
Need help to build a file using ant in eclipse
migration from netbeans to eclipse
Eclipse and ANT
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015