1 Reply Latest reply on May 22, 2013 12:59 PM by Bartosz Majsak

    How to see a file content in shrinkWrap

    yashar bizhanzadeh Newbie

      After creating the ShrinkWrap I am able to see the file structure by using this line of code

      System.out.println(webArchive.toString(true)); 

      I wonder if is it possible to see the content of a specific file inside shrinkWrap, for example I want too see the content of my persistence.xml after creating the shrinkWrap.

      is there any specific piece of code to print the content of files inside shrinkWrap? or is there any place in file system to look for the temporary shrinkWrap file and explore it's files and contents

       

      Cheers

      //Yashar