I am running ant 1.8.0 in detail mode. I created a manifest containing the Implementation-Title, -Version, and -Vendor, and as a result, the JAR contains a manifest with those in it. The JAR class works great. However, the conclusion from ant says
[jar] There is no set of implementation elements. Not. Implementation-version set.No Implementation-A set of suppliers.
Is this just a bug in ant or am I missing something here?
thanks
Here is my ant code:
<?xml version="1.0" encoding="UTF-8"?> <project name="helloworld.makejar" default="makejar" basedir="."> <target name ="makejar" description="Create a JAR for the HelloWorld project"> <delete file="helloworld.jar" /> <delete file="MANIFEST.MF" /> <manifest file="MANIFEST.MF"> <attribute name="Built-By" value="${user.name}" /> <attribute name="Main-Class" value="project.builder.example.HelloWorld" /> <section name="common"> <attribute name="Specification-Title" value="Example" /> <attribute name="Specification-Version" value="1.0.0" /> <attribute name="Specification-Vendor" value="Example Organization" /> <attribute name="Implementation-Title" value="common" /> <attribute name="Implementation-Version" value="1.0.0 today" /> <attribute name="Implementation-Vendor" value="Acme Corp." /> </section> </manifest> <jar jarfile="helloworld.jar" includes="**/*.class" basedir="bin" manifest="MANIFEST.MF" /> </target> <javac srcdir="src" destdir="bin" /> </project>
source share