buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Hoogland <hoogl...@gmail.com>
Subject Re: stand-alone jar
Date Mon, 15 Apr 2013 10:49:37 GMT
Sorry, and any ideas on dealing with manifest.mf overwrite?
On Apr 15, 2013 6:27 PM, "Peter Donald" <peter@realityforge.org> wrote:

> On Mon, Apr 15, 2013 at 6:41 PM, Jason Hoogland <hoogland@gmail.com>
> wrote:
>
> > Peter,
> >
> > Going back to your original suggestion (the second option) e.g.
> > https://github.com/realityforge/spydle/blob/master/buildfile#L19, how
> > would
> > you merge the contents of a local jar file?
> >
>
> Add a line such as
>
> jar.merge('../some/local/library.jar')
>
>
> >
> > hoogs
> >
> >
> > On Sun, Apr 14, 2013 at 9:58 AM, Peter Donald <peter@realityforge.org
> > >wrote:
> >
> > > On Sun, Apr 14, 2013 at 12:19 AM, Jason Hoogland <hoogland@gmail.com>
> > > wrote:
> > >
> > > > I'm trying to do what my old ant build.xml does, namely:
> > > > 1. compile my src code into classes
> > > > 2. packages them into a jar
> > > > 3. adds the dependency jars to this jar
> > > > 4. includes "Main-Class" and "Class-Path" attributes to
> > > > META-INF/MANIFEST.MF, the latter properly formatted, e.g.:
> > > >
> > >
> > > I am not sure I exactly follow. Do you want to include the jars as
> nested
> > > jars or just include the files form the jar in the final jar?
> > >
> > > I usually attempt the second option and use code that looks similar to
> > >
> > > https://github.com/realityforge/spydle/blob/master/buildfile#L19
> > >
> > > to achieve this goal.
> > >
> > >  HTH (And sorry if I am missing what you are trying to do),
> > >
> > > Peter Donald
> > >
> >
>
>
>
> --
> Cheers,
>
> Peter Donald
>

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