0 Replies Latest reply on Jan 7, 2013 3:53 PM by stephen ZAMBAUx

    How to scan all files in EAR folder

    stephen ZAMBAUx Newbie

      Hello, I have this EAR:






           |    |--update.sql


           |     |--update.sql




      I get stream from sql with sql= this.getClass.getClassLoader.getRessource("sql");

      But that I want to do is to scan sql folder to like

      String[] list=sql.list();

      for (.........;i++){

         open  list[i]



      but when I try to get path of sql I get D:/.......tmp/deploy/MyEAR.ear!/sql

      How can I list file in an ear file?


      thank you