I took your build file, removed the classpath attribute from javac
(you don't need it, but it won't do any harm), and removed the space
from the filename in the echo task:

Buildfile: rose.xml

init:

ASimpleHelloObject:
     [echo] Wrote ASimpleHelloObject.java

compile:
    [javac] Compiling 1 source file to /tmp
     [echo] in the compile block after the destdir

run:
     [echo] Before the classpath
     [java] ASimpleHelloObject.main was called
     [echo] Ant appears to be successfully installed

BUILD SUCCESSFUL
Total time: 2 seconds

In the example you've posted, <javac> won't compile anything as the
name of your java file doesn't match your include pattern.  After
removing the space it should work.

Stefan

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to