Skip to content

Instantly share code, notes, and snippets.

@dscho dscho/gist:3829022

Created Oct 3, 2012
Embed
What would you like to do?
c = ij.IJ.class;
c = imagej.util.AppUtils.class;
path = "/" + c.getName().replace('.', '/') + ".class";
url = c.getResource(path).toString();
manifestURL = url.substring(0, url.length() - path.length()) + "/META-INF/MANIFEST.MF";
print(manifestURL);
import fiji.build.minimaven.BuildEnvironment;
BuildEnvironment.copy(new URL(manifestURL).openStream(), System.err, false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.