dragome-sdk
dragome-sdk copied to clipboard
Getting the path to the Jar file that is being converted
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()));