maven2 has a way to pull in the dependency jars. So you if use maven2 and you need to generate ADB based code then just adding axis2-adb-codegen to the list of dependencies will pull in all the other jars that are needed. That will ease the pain a bit. I do recommend the procedure below before you put anything into production. It's worth the pain as it avoids future pain.
thanks, dims On 5/22/07, Rich Adili <[EMAIL PROTECTED]> wrote:
Anin, I recently went through this exercise. I agree that the jar set is rather large for deploying a product. My prototype deployment resulted in a ZIP file of 25 Mbytes. I went through a rather painful trimming process and only got it down by about half. Below is the advice I received when I asked this question. It's a painful process to say the least and requires testing to ensure you haven't missed something. If you use Ant for your compilation/builds, you specify the precise classpath (JAR's needed) when building your app. If you are missing any JARs, compilation errors will occur. You can keep pulling out JARs and testing their use by recompiling the application each time. This will not work, however, for JARs needed by the JARs that you include in your classpath. After doing the above, you'll need to test the application and check for ClassNotFoundExceptions, and then add in the needed JARs accordingly. Rich Adili -----Original Message----- From: Anin Mathen [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 22, 2007 2:24 PM To: [email protected] Subject: Axis2 Dependency List Guys, I am trying to find a wiki or document that lays out the mandatory and the optional jars in the Axis2 Standard or War distribution. I know that I am only interested in certain features of the Axis2 implementation and would like to only bundle jars that aid in that feature. Just to cite an example, I am only interested in plain webservices with say HTTP as the transport mechanism. Can I take out the huge set of jars in the standard distro and package only relevant ones. Some advice would be appreciated. Thanks, Karmayogi ________________________________________________________________________ ____________Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. http://tv.yahoo.com/collections/222 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Davanum Srinivas :: http://davanum.wordpress.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
