--- "M.A.Dunphy" <[EMAIL PROTECTED]> wrote:
> As I'm new to ant/java, could somebody help explain why when I run a
> task in ant, the .java files always get compiled even if they are not
> edited/changed since the last time the .class file was created?

It's most likely due to how you're pointing to where the source-files are
located. You need to specify "srcdir" as the directory path one directory
element -before- where the package hierarchy begins. For example, if your
directory structure is /workspace/main/com/foo/..., "srcdir" should point
to "/workspace/main". If you specifically include files, they should be
pointed to starting at "com" (eg., <include name="com/foo/Foo.java"/>).

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Reply via email to