Is there a method to find a file(by filename) in the current classpath?
Fantom doesn't really know (or care about classpath), and typically uses sys::Pod.files for bundling resources with a pod.
sys::Pod.files
But you can use Java FFI to access a Java API if you really need it to be classpath.
Thanks, this is what I was looking for
Login or Signup to reply.
kaushik Thu 14 Jan 2010
Is there a method to find a file(by filename) in the current classpath?
brian Thu 14 Jan 2010
Fantom doesn't really know (or care about classpath), and typically uses
sys::Pod.files
for bundling resources with a pod.But you can use Java FFI to access a Java API if you really need it to be classpath.
kaushik Fri 15 Jan 2010
Thanks, this is what I was looking for