Closed xni closed 10 years ago
Do you mean to make it a input-parameter or just to adjust it to my project? I did the latter.
May be it's possible to determine it in runtime
Yes, it is
AppClient.class.getProtectionDomain().getCodeSource().getLocation().getFile()
https://github.com/anaderi/openlab_ship_proto/blob/master/YARN/src/main/java/ru/yandex/cern/yarntest/AppClient.java#L43