bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9088: Java support


From: Stefano Lattarini
Subject: bug#9088: Java support
Date: Wed, 27 Jul 2011 18:18:01 +0200
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

On Wednesday 27 July 2011, NightStrike  wrote:
> On Wed, Jul 20, 2011 at 1:04 AM, tsuna <address@hidden> wrote:
> > What would be nice would be to have the ability to recompile only the
> > .java that changed.  So when you edit 2/3 files, then we'd build just
> > that, but in one command.
> 
> make can handle this pretty well.  If all the source files are listed
> as prerequisites, $? will list all the ones newer than the target.
> So, automake could easily write a rule to run the compiler against
> only the .java files that have changed.
> 
Good idea.  In fact, this is how recompilation is currently handled by
the JAVA primary (with few small complications to support VPATH builds).
And in the 'java-work' branch, there is also a test `java-rebuild.test'
checking these semantics.

Thanks,
  Stefano





reply via email to

[Prev in Thread] Current Thread [Next in Thread]