This content has been marked as final.
Show 2 replies
-
1. Re: How to reference custom files in an ESB deployment?
dbuttery Jan 5, 2012 10:57 AM (in response to dbuttery)Update...
I think I figured this out.
1) I am placing my custom file directly in the esbcontent folder.
2) I then use getClass().getResource("/filename").getFile() to obtain the File reference. The "/" in the filename allows for the path to be relative to the esbcontent folder.
Voila!
Any better examples/methods out there?
Thanks,
-Dennis
-
2. Re: How to reference custom files in an ESB deployment?
tcunning Jan 6, 2012 1:32 PM (in response to dbuttery)Here's two examples of how it's done within ESB (look for scriptPath) :