ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fergus Gallagher <Fergus.Gallag...@OrbisUK.com>
Subject Re: javac task always rebuilds all
Date Thu, 31 Aug 2000 14:30:33 GMT
Do you have your directory structure matching your package name?  The javac 
task doesn't look at the package name as such but used the path to infer it.

e.g.,

         src/com/blubber/Something.java

should be in "package com.blubber"

At 10:08 31/08/00 -0400, you wrote:
>hi,
>
>every time i run ant, all of my classes are rebuilt by the javac task, not
>just the ones that either don't exist, or are out of date with respect to
>the source file (as claimed in the documentation)..i am using the
>'classic' compiler (jdk 1.2) on nt4.0, and ant version 1.1 compiled on
>july 18 2000..any suggestions on getting javac to work as advertised would
>be appreciated...thanks,
>
>PB>>
>_____________________________________________________
>  Peter Brown                  Senior Staff Programmer
>  Dept. of Computer Science        140 Governors Drive
>  University of Massachusetts   Amherst, MA 01003-4610
>  Phone: (413) 577-2505            Fax: (413) 545-1249
>  pbrown@cs.umass.edu  http://www.cs.umass.edu/~pbrown
>-----------------------------------------------------

--
Fergus Gallagher
Orbis
http://www.orbisuk.com/
+44-(0)20-8987 0717


Mime
View raw message