"alesj" wrote : "jeff.yuchang" wrote : Also, in this test, I ran the 
DU::getClasspath, I showed the idm.jar, but couldn't find the idm.cfg.xml file, 
I was putting it in the idm.jar/META-INF/.
  |   | 
  | Only metadata files should be in META-INF.
  | Configuration should be in the root.
  | 
  | Or you need to add META-INF infront if you wanna look for that resource via 
CL.

My bad.. ;-(.. OK, using the DU::getClassloader can get this resource.. Thanks 
for your help. 

Is the jar package the only way to get this kind of resource?? I mean, do we 
have other approaches, or can we use a custom package suffix?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232446#4232446

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232446
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to