Hello,
I am having several EJBs in an application and I am trying to create an
application jar.
I am trying to create a single jar that has 3 packages(beans and non
beaans)
bundled in it. But I am not able to succeed.
The scenario is I have packages of 3 projects like
org.abc.proj1.... - stored in /java/proj/proj1/classes
(the package org.abc.proj1 is stored like
/java/proj/proj1/org/abc/proj1/..... )
org.abc.proj2.... - stored in /java/proj/proj2/classes
org.abc.proj3.... - stored in /java/proj/proj3/classes
now when i m trying to bundle all these packages in one jar, i m getting
the
following exception, after it adds all those classes in the first proj1
directory...
adding :org/ java.util.zip. ZipException : duplicate entry org/ at
java.util.zip.zipoutputstream.putnextentry....
however it adds the first projects classes successfully, but then it
fails while
adding the second projects classes which also has the pkg name beginign
with
org/abc
the jar command that i gave is
jar -cvmf mymanifest bundle.jar -C /java/proj/proj1/classes . -C
/java/proj/proj2/classes . -C /java/proj/proj3/classes .
can any one pls help me its very urgent.
Also is there a Jar-Interest group.?
thanks
sriram
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".