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

    Changing Shrinkwrap Deployment Directory

    kshantaraman

      Hi,

       

      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

       

      <<TomcatDeploymentPath>>/<<DeploymentFiles>>

       

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

       

      This deploys the file in

      /Users/kshantaraman/Documents/workspace/arquillian-tutorial/target/tomcat-embedded-7/webapps/ROOT/<<files>>
      

       

      I want the file to be deployed in

       

      /Users/kshantaraman/Documents/workspace/arquillian-tutorial/target/tomcat-embedded-7/webapps/<<files>>
      

       

      How can I achieve that?

       

      Thanks,

      Karthik