ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "G.L. Grobe" <g...@grobe.org>
Subject Re: adding class-path to manifest
Date Wed, 11 Apr 2001 22:59:01 GMT
So if NameofJartoCreate.jar is the jar i'm creating and it depends on an
external jar called struts.jar, where is the file struts.jar or it's path to
struts.jar being added? All I can see from here is that I'd know what
manifest to use.

<jar
    jarfile="NameofJartoCreate.jar"
    basedir="wheretojarfrom"
    manifest="nameofManifestfile"
/>

Thnxs for replying

----- Original Message -----
From: "Isaac Sparrow (Staff Engineer)" <isaac.sparrow@visicomp.com>
To: <ant-user@jakarta.apache.org>
Sent: Wednesday, April 11, 2001 5:53 PM
Subject: Re: adding class-path to manifest


> "G.L. Grobe" wrote:
> >
> > Reposting for some help here.
> >
> > How do you tell Ant to add an external jar file to the MANIFEST.MF that
> > my-ejb.jar file depends on? If I manually add the MANIFEST.MF, it get's
> > ignored and Ant creates an empty one.
> >
> > I need this in the file (I think) as my ejb's are not finding the
correct
> > paths to this jar.
> >
> > Class-Path: ../struts.jar
> >
> > Any help much appreciated.
>
> I have ant add a manifest I have created like this:
>
> <jar
>    jarfile="NameofJartoCreate.jar"
>    basedir="wheretojarfrom"
>    manifest="nameofManifestfile"
> />
>
>
> Hope this helps!
>
> --
> --Isaac Sparrow
> --------------------------
> Staff Engineer
> VisiComp, Inc.
>
> http://www.visicomp.com
>


Mime
View raw message