ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akbar Ibrahim" <akbar.ibra...@wipro.com>
Subject Re: Dependencies between Java Classes
Date Sat, 06 May 2000 02:46:37 GMT
Even with this type of target, I still have the same problem. If class A is
dependent on Class B and I change class B, it compiles only class B and not
class A (which hasn't changed at all, but should also be compiled because
the class it depends on has changed).

I would like to know if there is any way to specify this dependency.

Akbar


----- Original Message -----
From: <Tcmits1@cs.com>
To: <ant-dev@jakarta.apache.org>
Sent: Thursday, May 04, 2000 7:42 AM
Subject: Re: Dependencies between Java Classes


> I am using a 'compile.all' target.   At first I was having problems with
not
> getttng dependent classes to recompile until I found I was using the src
and
> path incorrectly.   For me, getting the src attribute to point to the top
of
> the package hierarchy and the include attribute to point to the actual
source
> files worked:
>
>   <target name="compile.all" depends="prepare">
>     <javac srcdir="${src}" destdir="${build}" includes="**/*.java" />
>   </target>
>
> Josef
>
>




Mime
View raw message