Let me even further rephrase the question What should be the structure of bundled jar
It feels like it should be classes of the main jar + lib folder with additional jars - it can not be main jar + lib folder with jars, as in this case main jar is not really loaded since it loads parent jar (one that is defined as "bundled") Thanks On Tue, Feb 14, 2017 at 6:54 PM, Yuliya Feldman <yul...@dremio.com> wrote: > Sorry, > > I probably was not clear. I understand that TwillContainer launcher will > take classpath into consideration. > I was more wondering about bundledjar loading - we load it in a separate > classloader, so everything has to be included into bundled jar, otherwise > it does not seem to work, as it will be missing dependencies - nothing is > loaded outside of the jar itself. > > Thanks > > On Tue, Feb 14, 2017 at 6:39 PM, Terence Yim <cht...@gmail.com> wrote: > >> Hi, >> >> If a jar is already available on the node, you can use >> TwillPreparer.withClasspath to include those to the container classpath. >> >> Terence >> >> Sent from my iPhone >> >> > On Feb 14, 2017, at 6:32 PM, Yuliya Feldman <yul...@dremio.com> wrote: >> > >> > Hello there, >> > >> > I have a question regarding Bundled jar. >> > >> > Is there is anyway I could pick up some jar/config form the node where >> it >> > is running so it is not prepackaged within bundled jar itself. >> > >> > Thanks >> > >