We are currently facing a problem. We are building an ear in which there are several war files, two warships There is only one jar in these two wars, these jars are required during the deployment. Is there no way in ANNT that I created it so that these jars are in one place and during the ear deployment it does not cause any problems.
OK, you can do this portable way:
.ear Keep the library jar in the root of the file.
Example:
Library jar - & gt; Lib1.jar, lib2.jar [EAR structure] your.ear | --yourfirst.war | --yoursecond.war | --lib1.jar | --lib2.jar Update Manifest.mf files both .war files point to these jars:
Class path: Lib1.jar lib2.jar
(If this is the last entry in the manifest, do not forget to add a space and a new letter at the end of the line above)
Comments
Post a Comment