I am new to using Ant and I am having trouble getting a simple HelloWorld
program to run through Ant.  The build file compiles everything correctly and
moves the .class file into the correct directory, but it will not execute the
program correctly.  I am geting the following output/error message:

Buildfile: build.xml

class:
    [mkdir] Created dir: C:\ant\ant_test\class
    [javac] Compiling 1 source files to C:\ant\ant_test\class

deploy:
    [mkdir] Created dir: C:\ant\ant_test\deploy
    [copydir] Copying 1 files to C:\ant\ant_test\deploy

run:

BUILD FAILED

build.xml:11: Could not find HelloWorld. Make sure you have it in your
classpath

Total time: 1 seconds


I have attached the build.xml file that I am using to this email.  I am sure
that it is something very elementary that I am missing, but could you please
help me out.

Thanks,
Jeff

Attachment: build.xml
Description: application/xml



Reply via email to