1 Reply Latest reply on Feb 1, 2011 9:41 AM by jaikiran

    Point the DeploymentScanner at my project (without copying project to the JBoss deploy folder)

    kevinsheedy

      My understanding of the DeploymentScanner is that it scans the JBoss deploy folder for any folders or archives that end in .war or .ear etc. Depending on the file extension of the archive / folder, it picks a deployer to use eg WARDeployer or EARDeployer.

       

      I'm working on a web project under CVS. We're using an exploded archive so that we can do hot-deploys to a local jBoss. Whenever we want to deploy anything, we use Ant to build and copy files from this folder:

      C:\cvs\MyWebProject\

      to this folder:

      C:\JBoss_4.2.3.GA\.......\deploy\MyWebProject.war\

       

      This copy step seems like a waste of time seeing as both folders are (practically) identical.

      Is there any way to tell JBoss to treat "C:\cvs\MyWebProject\" as an exploded war?

       

      (Using symlinks / junction points to keep the folders synched seems to work but I'd prefer a simpler solution that the whole team can share ie with config files that can be added to source control)