E
Eric McIntyre
I'm trying to create a Jar file that contains not only my classes but
also the 3rd-party dependency Jars. The problem is that I can't quite
figure out suitable Class-Path entries to pick them up.
Given the Jar structure of my.jar:
com/package/path/to/My.class
lib/lib1.jar
lib/lib2.jar
META-INF/MANIFEST.MF
The closest I've been able to get is
Class-Path: jar:file:my.jar!/lib/lib1.jar
jar:file:my.jar!/lib/lib2.jar
Is it possible to remove the hardcoded Jar filename? Or is this the
best there is?
Thanks,
Eric
also the 3rd-party dependency Jars. The problem is that I can't quite
figure out suitable Class-Path entries to pick them up.
Given the Jar structure of my.jar:
com/package/path/to/My.class
lib/lib1.jar
lib/lib2.jar
META-INF/MANIFEST.MF
The closest I've been able to get is
Class-Path: jar:file:my.jar!/lib/lib1.jar
jar:file:my.jar!/lib/lib2.jar
Is it possible to remove the hardcoded Jar filename? Or is this the
best there is?
Thanks,
Eric