buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sakari Isoniemi <sakari.isoni...@gmail.com>
Subject Re: Omit version number from jar-file
Date Fri, 10 Apr 2009 18:17:34 GMT
Thanks

Both solutions work.

2009/4/10 Alex Boisvert <boisvert@intalio.com>

> Try,
>
>  package(:jar, :file => _("target/xyz.jar")).include
> "properties/xyz.properties"
>
> or the more readable,
>
>  package(:jar, :file => _("target/xyz.jar")).tap do |jar|
>     jar.include "properties/xyz.properties"
>     # other includes
>  end
>
> alex
>
> On Fri, Apr 10, 2009 at 3:56 AM, Sakari Isoniemi
> <sakari.isoniemi@gmail.com>wrote:
>
> > How to omit version number from from .jar file in packaging with other
> > definitions like 'include' ?
> >
> > The following won't work
> >
> > package :jar, :file=>_('target/xyz.jar'),
> > include('properties/xyz.properties')
> >
> > So how include must be defined when .jar filename is spesified explicitly
> >  ?
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message