> -----Original Message-----
> From: Akbar Ibrahim [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 05, 2000 2:34 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Dependencies between Java Classes
>
>
> 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.
Try -Xdepend, but this option will deprecate in JDK 1.3.
The solution - pass the full list (A.java & B.java) to the javac.
The alternative is jikes.
>
> Akbar
>
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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
> >
> >
>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com