2 Replies Latest reply on Aug 10, 2009 12:22 PM by Stan Silvert

    Adding a new jar to common/lib in AS5.2

    Stan Silvert Master

      This is simply a thirdparty jar that needs to be in <JBOSS_HOME>/common/lib. I've followed the instructions in http://www.jboss.org/community/wiki/jbossasbuild to get it into component-matrix and thirdparty/libraries.ent.

      So now where do I add the Ant stuff to copy this jar over to <JBOSS_HOME>/common/lib? I see some different places I could hack it in, but I want to update the Ant script correctly.

      Opinions/guidance please?

      Thanks,

      Stan

        • 1. Re: Adding a new jar to common/lib in AS5.2
          Paul Gier Master

          Probably the best place would be in the thirdparty target in build-distr.xml. You can copy the jar directly to ${install.common.lib} with a new copy task, or use the existing copy to ${install.all.lib}. It's pretty confusing in 5_x because a bunch of jars are copied to install.all.lib, and then later moved to install.common.lib in the partition-build target in build.xml.

          I've changed this in trunk so it's more straightforward, and the jars are copied directly to install.common.lib in the thirdparty target in build.xml.

          • 2. Re: Adding a new jar to common/lib in AS5.2
            Stan Silvert Master

             

            "pgier" wrote:
            It's pretty confusing in 5_x because a bunch of jars are copied to install.all.lib, and then later moved to install.common.lib in the partition-build target in build.xml.

            Yep, that's exactly what was confusing me.

            Now it works. Thanks Paul.