0 Replies Latest reply on Jul 21, 2014 2:41 PM by Karthik Shantaraman

    Changing Shrinkwrap Deployment Directory

    Karthik Shantaraman Newbie



      I am trying to deploy using shrinkwrap on an Apache-Tomcat Container.


      My Shinkwrap.create reads a war file and deploys it.
      The problem with this is the Shrinkwrap deploys it to the following directory


      <<TomcatDirectoryDeploymentPath>>/WarFileBeingDeployed/<<Deployment files>>


      I need the deployment to happen in




      arc=ShrinkWrap.createFromZipFile(WebArchive.class, new File("src/test/resources/ROOT.war"));


      This deploys the file in



      I want the file to be deployed in




      How can I achieve that?