Sorry, and any ideas on dealing with manifest.mf overwrite?
On Apr 15, 2013 6:27 PM, "Peter Donald" <[email protected]> wrote:

> On Mon, Apr 15, 2013 at 6:41 PM, Jason Hoogland <[email protected]>
> 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 <[email protected]
> > >wrote:
> >
> > > On Sun, Apr 14, 2013 at 12:19 AM, Jason Hoogland <[email protected]>
> > > 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
>

Reply via email to