dragome-sdk icon indicating copy to clipboard operation
dragome-sdk copied to clipboard

Getting the path to the Jar file that is being converted

Open ghost opened this issue 8 years ago • 0 comments

The following code should be able to return the path to the jar file being compiled by dragome so that we can process some extra stuff such as resources inside a dragome configurator.

URL path = cls.getProtectionDomain().getCodeSource().getLocation(); File jarFile=new File(path.toURI()));

ghost avatar Jul 06 '16 09:07 ghost