File dom4j-jarjar-build.xml of Package dom4j

<project name="Jarjar dom4j" default="patchdom4j">
   <!--
   A jarjar ant build script to create the jarjard dom4j jar. 
   -->
   <target name="patchdom4j">
      <taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpath="jarjar-0.7.jar"/>
        <mkdir dir="output" />
        <jarjar jarfile="output/dom4j-jarjar.jar">
            <manifest>
               <attribute name="Created-by"               value="${java.vm.version} ${java.vm.vendor}"/>
               <attribute name="Specification-Title"      value="Dom4j JarJar(org.jboss.dom4j)"/>
               <attribute name="Specification-Version"    value="1.6.1"/>
               <attribute name="Specification-Vendor"     value="http://dom4j.org/"/>
               <attribute name="Implementation-Title"     value="JarJar Dom4j"/>
               <attribute name="Implementation-URL"       value="http://repository.jboss.com/jboss/dom4j-jarjar"/>
               <attribute name="Implementation-Version"   value="1.6.1"/>
               <attribute name="Implementation-Vendor"    value="JBoss, a division of Red Hat"/>
               <attribute name="Implementation-Vendor-Id" value="http://www.jboss.org"/>
            </manifest>
            <zipfileset src="dom4j-1.6.1.jar"/>
            <rule pattern="org.dom4j.**" result="org.jboss.dom4j.@1"/>
            <zap pattern="org.dom4j.jaxb.**"/>
            <zap pattern="org.dom4j.swing.**"/>
            <zap pattern="org.dom4j.xpath.**"/>
            <zap pattern="org.dom4j.xpp.**"/>
        </jarjar>
    </target>
</project>
openSUSE Build Service is sponsored by