7 Replies Latest reply on Oct 10, 2012 7:22 AM by peter craddock

    adding local file to classpath

    peter craddock Novice

      I have a few apps I'm trying to port to as7


      In 4.2.3the /conf directory is part of the classpath, I have a few post deployment config files that are written to this directory.


      I have added a a jboss-deployment-structure.xml file to my webinf directory to try and add a local directory to my classpath but this does not seem to work. Is it possible to add a local directory to the classpath in as7 or shalll I look to alter my code to address this problem. PLacing the file in the web-inf/classes is not realy an option since this will be overwritten with every deployment.


      <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">



                     <resource-root path="/conf" />