3 Replies Latest reply on Aug 6, 2003 12:54 AM by frito

    incorporating third-party jars

    nposka

      I know the preferred way of incorporating third-party jars into EJBs is adding them to the ear file, but I haven't found an easy way of doing this. I would hate to have to rebuild everything by hand every time my code changes. Is there an ant task that will help me out with this? Or is there any other way to do this?

        • 1. Re: incorporating third-party jars
          frito

          This is not really a JBoss related question. There are several ANT tasks to build some archives. Take the one you prefer. You can use the JAR task or even the EAR task. But ANT won't help you much with deployment descriptors.

          Greetings,
          Frito

          • 2. Re: incorporating third-party jars
            nposka

            > This is not really a JBoss related question.

            Ok... I will rephrase it slightly. I am trying to deploy this EJB into JBoss and am curious if anyone has had a similar issue deploying to JBoss and might have come up with some way to automate the process of incorporating third-party jar files into their EJB deployment into JBoss.

            You're right. That makes it way more clear. :)

            • 3. Re: incorporating third-party jars
              frito

              Well, same answer again ;-)
              What is so bad using the ant tasks instead of "doing it by hand"?
              What would you expect to use? There is no easy and generic way of doing the assembly, since the deployment is very specific and depends on your special needs for your special application.

              Greetings,
              Frito