1 Reply Latest reply on May 12, 2009 5:23 PM by Peter Johnson

    Include library files into deploy.

    Ernesto Olivo Newbie

      Can I include library files inside the deploy directory?.

      For instance:

      $jboss_home/server/default/deploy/myapp/lib, in which all the JAR files that I'm going to use will be located.

      Is there anything wrong with this approach?.


        • 1. Re: Include library files into deploy.
          Peter Johnson Master

          Unless the JAR files contain deployable artifacts, such as EJBs, I don't think that they will appear in the classpath. You could, however, rename myapp to myapp.ear, provide a application.xml file (mostly empty) and then the JARs would be in the classpath.

          Caveat: I have not tried the above so I cannot guarantee that it will work. Also, it depends on the version of JBoss AS (which you did not mention).