| Author |
In Eclipse 3.0, Ant not finding javac
|
Bob Peterson
Ranch Hand
Joined: Jul 30, 2004
Posts: 47
|
|
I'm assuming this is some kind of environmental issue but I can't figure out what. I thought I had set the verbose to on/yes as well but am not getting anything. The output is simply: Buildfile: C:\eclipse\workspace\MyProject\build.xml compile: compile_tests: test: [junit] TEST com.foo.foo2.foo3.AllTests FAILED BUILD SUCCESSFUL Total time: 2 seconds The problem in the junit task is that it's not finding the AllTests class because ant is not building it. I don't have a lot of experience with either Eclipse or Ant, but I have another project in Eclipse with roughly the same build.xml (I've been given both these projects from an external source, they come with the build.xml, directory structure, source stubs, etc.) and it is compiling fine. I notice that in the one that compiles, after the compile: line there is a [javac] line which indicates to me it is at least running the javac. It looks like the problem one is not finding or running javac. Any ideas?
|
 |
 |
|
|
subject: In Eclipse 3.0, Ant not finding javac
|
|
|