ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "plim" <>
Subject RE: How to put Class-Path into
Date Tue, 29 Apr 2003 23:33:36 GMT
Thanks, it worked. Shoulda RTFM.
We're not using any pb? I'm just starting a new project and
cannibalizing parts from
Other department's projects to build mine.
Thanks again

-----Original Message-----
From: Sebastien Blanc [] 
Sent: Tuesday, April 29, 2003 3:54 PM
To: Ant Users List
Subject: Re: How to put Class-Path into

Hi !
u can use the jar task to create your ear and then the manifest task to
setup the Class-Path attribute:

      <manifest file="${thispkg.dir}/META-INF/MANIFEST.MF"
        <attribute name="Class-Path" value="global-jar-tl1-types.jar
ejb-jar-event-ps.jar ejb-jar-dao-types.jar ejb-jar-dao-base.jar
 <jar jarfile="${ear.path}"
    <fileset dir="${thispkg.dir}" includes="**/**"/>

not sure it's your pb though. how come u end up with a corrupted
manifest ? which task are u using for ur ear ?


plim wrote:

> Can somebody tell me how to put a "Class-Path" entry into my ejb jar 
> files. Ant keeps complaining that...
>       [jar] Manifest is invalid: Manifest sections should start with a
> "Name" attribute and not "Class-Path"
> thks
> pemgster

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message