ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Chambery" <>
Subject WebSphere Deployment Tool for ejbjar
Date Sat, 29 Dec 2001 16:06:03 GMT
Hey all,

I've gotten a Websphere deploy task written and running (borrowing very
from the WeblogicDeploymentTool class), with one major hurdle remaining:  I
can't figure out how to
    a) put my own manifest into the generic ejb jar created by the
GenericDeploymentTool, or
    b) overwrite the default manifest added by the GDT.

To solve a), I tried overriding the GDT method writeJar (this is where the
manifest is added) but the GDT instance var addedFiles is used by another
GDT method, addFileToJar, and is not accessible to the subclass, so this
comes up as :


The problem with overwriting as in b), is this:

   [ejbjar] adding file 'META-INF/MANIFEST.MF'
   [ejbjar] WARNING: IOException while adding entry META-INF/MANIFEST.MF to
jarfile from
ion-MANIFEST.MF entry:

If I may be so bold, I think there's a flaw in the design of the
GeneralDeploymentTool.  You're only allowed to specify a single absolute
path to the manifest file for _all_ descriptors, when, at least in my
current project, each of the ejbjars has its own manifest containing the
classpath for that jar.

Also, what is involved in submitting my WebsphereDeploymentTool class for
inclusion in the ant distro?  I can't really use it on my work projects if
it's not "supported" by the Ant people (which is about the only place anyone
would use WAS).



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

View raw message