buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rp.andrew.moore" <>
Subject Re: Using Include/Exclude when Packaging Jars
Date Tue, 09 Sep 2008 20:37:44 GMT

rp.andrew.moore wrote:
> Hi, I'm relatively new to ruby and buildr, but I'm running into some
> trouble when including or excluding class files for a jar.
> I'm building two jars from the same sub project... one jar has all but a
> couple class files, while the other jar needs to exclude all but a couple
> class files.
> It seems like this does what I expect when excluding a few files:
>     package(:jar).exclude('**/Foo*.class')

I forgot to mention that the result of running the exclude like this is that
I get a jar with all the class files that don't start with "Foo". Which is
what I expect. It is the "include" part that doesn't behave as I expected. 

Thanks again for your help.

~ Andrew
View this message in context:
Sent from the Apache Buildr - User mailing list archive at

View raw message