Community
Participate
Working Groups
Build R2.0 In an Eclipse R1.0 workspace, running under Eclipse R2.0, I tried to launch an Ant script, and got an error during execution saying: =================== Problem Running External Tool - External tool failed to run - Reason: Could not find one or more classes. Please check the Ant classpath =================== Now, what am I supposed to do in order to fix this ? I can check the Ant classpath, but how can I figure what is missing exactly ?
The R1.0 workspace was technically a 2.0 level workspace with Eclipse 1.0 dev contents. However, since last time I had opened it, the Ant classpath configuration had changed, and wasn't correct any longer. The problem is that the error message doesn't tell you anything about what it needs, furthermore, given Ant is provided with Eclipse, some auto-detect feature would be much appreciated to initialize this setting (in case the custom one isn't right).
Autodetection of the default ant classpath has been fixed. Basically if the user has not set a custom classpath, the ant classpath is kept up to date. See bug 19899. Definately still a problem for reporting what is missing.
The error messages include the name of the class that could not be found or no class def could be found for. The error message is also logged to plugin log.
Changes to AntRunner#run(IProgressMonitor) Please verify (Jared)
Verified.