Users List
Subject: RE: Accessing manifest information from
within an ant build
Dominique Devienne [EMAIL PROTECTED] said:
I don't think so. Not directly. I'd define a
fileset of your JARs, and
write
a small JavaScript to look over it, and use JDK's
import java.util.jar.*;
new
[mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 23, 2002 2:47 AM
To: Ant Users List
Subject: RE: Accessing manifest information from within an ant build
Dominique Devienne [EMAIL PROTECTED] said:
I don't think so. Not directly. I'd define a fileset of your JARs, and
write
a small JavaScript
Dominique Devienne [EMAIL PROTECTED] said:
I don't think so. Not directly. I'd define a fileset of your JARs, and write
a small JavaScript to look over it, and use JDK's
import java.util.jar.*;
new JarFile(filename).getManifest().getMainAttributes().getValue(
I don't think so. Not directly. I'd define a fileset of your JARs, and write
a small JavaScript to look over it, and use JDK's
import java.util.jar.*;
new JarFile(filename).getManifest().getMainAttributes().getValue(
Attributes.Name.IMPLEMENTATATION_VERSION);
Almost a one liner ;-) --DD