GNU bug report logs - #8434
java: cannot use JAVA with both dist_ and nodist_ prefixes

Previous Next

Package: automake;

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

Date: Wed, 6 Apr 2011 19:07:02 UTC

Severity: normal

Tags: patch

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
Cc: automake-patches <at> gnu.org, 8434 <at> debbugs.gnu.org
Subject: New public branch "java-work" (was: Re: [PATCH] java: allow both
	dist_JAVA and nodist_JAVA in the same Makefile.am)
Date: Sat, 23 Apr 2011 10:15:03 +0200
On Monday 18 April 2011, Stefano Lattarini wrote:
> On Saturday 09 April 2011, Ralf Wildenhues wrote:
> > Hi Stefano,
> > 
> > * Stefano Lattarini wrote on Wed, Apr 06, 2011 at 09:00:32PM CEST:
> > > Currently, limitations in the Automake support for java enforce the
> > > restriction that only one `_JAVA' primary can be used in a given
> > > Makefile.am.
> > 
> > > This bug is particularly annoying because *.java files listed with
> > > the `JAVA' primary are not included by default in the distribution.
> > > 
> > > Ganted, one can always use EXTRA_DIST to work around this issue,
> > > but it would be nice if things Just Worked.
> > 
> > Agreed on all accounts.  Do you see a way to fix this, for arbitrary
> > dependency structure between the java classes?
> > 
> > Thanks for the bug report,
> > Ralf
> > 
> Attached is a patch that fixes the problem.  OK for a new 'java-work'
> branch based off of the right maint-based commits (as to make new
> tests like 'java-extra.test' and `java-noinst.test' available)?  We
> can decide at a later date whether this branch has to be merged into
> maint or into master only.
> 
> I'll push in 72 hours if there is no objection.
> 
> Regards,
>    Stefano
> 
I've pushed this patch to a new public branch "java-work".  This new
branch is meant to be merged into either master or maint eventually
(which one exactly is still to be decided).  So, merging maint into
java-work should be ok at any moment, but master shouldn't be merged
into it.

Regards,
  Stefano




This bug report was last modified 13 years and 341 days ago.

Previous Next


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