GNU bug report logs - #9088
Better java support with new JARS primary

Previous Next

Package: automake;

Reported by: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Date: Fri, 15 Jul 2011 08:59:02 UTC

Severity: wishlist

Full log


Message #48 received at 9088 <at> debbugs.gnu.org (full text, mbox):

From: tsuna <tsunanet <at> gmail.com>
To: NightStrike <nightstrike <at> gmail.com>
Cc: Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>, 9088 <at> debbugs.gnu.org,
	automake <at> gnu.org
Subject: Re: bug#9088: Java support
Date: Tue, 2 Aug 2011 09:05:32 -0700
On Wed, Jul 27, 2011 at 9:00 AM, NightStrike <nightstrike <at> gmail.com> wrote:
> On Wed, Jul 20, 2011 at 1:04 AM, tsuna <tsunanet <at> gmail.com> 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.

Haha, I had forgotten about $?
http://www.gnu.org/software/make/manual/make.html#index-g_t_0024_003f-944

Seems like $? is portable, I wonder why I never used it much.  Thanks
for the pointer.

-- 
Benoit "tsuna" Sigoure
Software Engineer @ www.StumbleUpon.com




This bug report was last modified 11 years and 174 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.