Hello, I have this EAR:
|--service.war
|--service.sar
|--sql
|--1.31
| |--update.sql
|
|--1.30
| |--update.sql
|
|--1.29
|--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