public inbox for rhug-rhats@sourceware.org
 help / color / mirror / Atom feed
* Fluorine
       [not found] <20031114153923.29057.qmail@sources.redhat.com>
@ 2003-11-14 15:48 ` Gary Benson
  2003-11-14 15:56   ` Fluorine Gary Benson
  0 siblings, 1 reply; 2+ messages in thread
From: Gary Benson @ 2003-11-14 15:48 UTC (permalink / raw)
  To: rhug-rhats

gary@sources.redhat.com wrote:
> Log message:
> 	Initial revision (good enough for commons-logging)

This is something I've been working on these past couple of days.  I
just got fed up of the complete pain in the arse that maintaining RHUG
packages is: it's just too easy to lose resources from libraries or
jars, get confused over $(srcdir) != $(builddir), link the libraries
incorrectly so they don't dlopen(), etc, etc.  So I'm writing a
templater to generate the awkward files, starting with Makefile.am and
configure.in, but later to include the spec and rml files too.  The
input files to the templater are tiny -- ant's one is less than a
screenful.  Attached is commons-logging's one, if you want to see what
they look like.

And yes, I'm aware of the irony of writing something to generate files
for other programs that generate files :)

Gary

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Fluorine
  2003-11-14 15:48 ` Fluorine Gary Benson
@ 2003-11-14 15:56   ` Gary Benson
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Benson @ 2003-11-14 15:56 UTC (permalink / raw)
  To: rhug-rhats

[-- Attachment #1: Type: text/plain, Size: 84 bytes --]

> Attached is commons-logging's one, if you want to see what they look
> like.

Doh!

[-- Attachment #2: fluorine.xml --]
[-- Type: text/xml, Size: 601 bytes --]

<project name="commons-logging" version="1.0.2">

  <sources>
    <source path="upstream/src/java"/>
  </sources>

  <targets>
    <jarfile name="commons-logging">
      <package name="org.apache.commons.logging">
        <exclude reason="requires JDK >= 1.4">
          <match pattern="impl/Jdk14*.java"/>
        </exclude>
        <exclude reason="requires Log4j">
          <match pattern="impl/Log4[jJ]*.java"/>
        </exclude>
        <exclude reason="requires LogKit">
          <match pattern="impl/LogKit*.java"/>
        </exclude>
      </package>
    </jarfile>
  </targets>

</project>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-14 15:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20031114153923.29057.qmail@sources.redhat.com>
2003-11-14 15:48 ` Fluorine Gary Benson
2003-11-14 15:56   ` Fluorine Gary Benson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).