Author: mehdi
Date: Wed Sep 26 07:59:01 2012
New Revision: 1390310

URL: http://svn.apache.org/viewvc?rev=1390310&view=rev
Log:
Added hyphenation JAR task

Modified:
    xmlgraphics/fop/branches/Temp_Gradle_Build/build.gradle

Modified: xmlgraphics/fop/branches/Temp_Gradle_Build/build.gradle
URL: 
http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_Gradle_Build/build.gradle?rev=1390310&r1=1390309&r2=1390310&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_Gradle_Build/build.gradle (original)
+++ xmlgraphics/fop/branches/Temp_Gradle_Build/build.gradle Wed Sep 26 07:59:01 
2012
@@ -268,3 +268,15 @@ task uptodateJarHyphenation(dependsOn: c
     }
 }
 
+task jarHyphenation(dependsOn: uptodateJarHyphenation) << {
+    ant.jar(jarfile: "$buildDir/fop-hyph.jar", basedir: buildClassesDir, 
includes: "hyph/*.hyph") {
+        delegate.manifest {
+            attribute(name: 'Implementation-Title', value: project.ext.name)
+            attribute(name: 'Implementation-Version', value: 
project.ext.version)
+            attribute(name: 'Implementation-Vendor', value: "The Apache 
Software Foundation (http://xmlgraphics.apache.org/fop/)")
+            // TODO: the Java version is a global property in the Ant version
+            attribute(name: 'Build-Id', value: "${new Date()} 
(${getProperty('user.name')} [${getProperty('os.name')} 
${getProperty('os.version')} ${getProperty('os.arch')}, Java 
${getProperty('java.runtime.version')}, Target Java 1.5])")
+        }
+    }
+}
+



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to