#Dbay.java
25 messages · Page 1 of 1 (latest)
might make sense to post it here :)
DbayDOM.parse(System.getProperty("user.dir") + "/src/example", "App.dbay");
you might wanna use resource URLs instead
typically /path/to/your.jar!/example/App.dbay
you get it using getClass().getClassLoader().getResource("example/App.dbay")
because resource URLs work inside JARs
?
you don't work with files, you work with resource URLs
getResource("example/Test.component.dbay")
because it doesn't exist
do you want to list all files in example?
getResource("example/")
what do you mean with removing the resource name?
why?
What do you want to do?
you can list the files in example using getResourceAsStream("example/") and then creating a new resource URL
you could also try that
I think they called their project dbay
and it uses dbay files
(their custom format)