compression Compression.GZIP
- from jalviewDir
into project.name
-
-
- exclude (".*")
- exclude ("**/.*")
- exclude ("*.class")
- exclude ("**/*.class")
- include (eclipse_extra_jdt_prefs_file)
- include ("AUTHORS")
- include ("CITATION")
- include ("FEATURETODO")
- include ("JAVA-11-README")
- include ("FEATURETODO")
- include ("LICENSE")
- include ("README")
- include ("RELEASE")
- include ("THIRDPARTYLIBS")
- include ("build.gradle")
- include ("gradle.properties")
- include ("$sourceDir/*.java")
- include ("$sourceDir/**/*.java")
- include ("$sourceDir/**/*.cdr")
- include ("$j8libDir/**/*.jar")
- include ("$j11libDir/**/*.jar")
- include ("$resourceDir/**/*")
- include ("$helpDir/**/*")
- include ("$schemaDir/**/*")
- include ("$utilsDir/**/*")
- include ("$docDir/**/*")
- include ("$examplesDir/**/*")
- include ("getdown/**/*")
- //include ("jalview-jalopy.xml")
- //include ("JalviewApplet.jpx")
- //include ("JalviewX.jpx")
- //include ("nbbuild.xml")
- //include ("nbproject/genfiles.properties")
- //include ("nbproject/project.properties")
- //include ("nbproject/project.xml")
-
+
+ def EXCLUDE_FILES=["build/*","bin/*","test-output/","test-reports","tests","clover*/*"
+ ,".*"
+ ,"benchmarking/*"
+ ,"**/.*"
+ ,"*.class"
+ ,"**/*.class","$j11modDir/**/*.jar","appletlib","**/*locales"
+ ,"*locales/**",
+ ,"utils/InstallAnywhere"]
+ def PROCESS_FILES=[ "AUTHORS",
+ "CITATION",
+ "FEATURETODO",
+ "JAVA-11-README",
+ "FEATURETODO",
+ "LICENSE",
+ "**/README",
+ "RELEASE",
+ "THIRDPARTYLIBS","TESTNG",
+ "build.gradle",
+ "gradle.properties",
+ "**/*.java",
+ "**/*.html",
+ "**/*.xml",
+ "**/*.gradle",
+ "**/*.groovy",
+ "**/*.properties",
+ "**/*.perl",
+ "**/*.sh"]
+
+ from(jalviewDir) {
+ exclude (EXCLUDE_FILES)
+ include (PROCESS_FILES)
+ filter(ReplaceTokens, beginToken: '$$', endToken: '$$', tokens: ['Version-Rel': JALVIEW_VERSION,'Year-Rel': getDate("yyyy")])
+ }
+ from(jalviewDir) {
+ exclude (EXCLUDE_FILES)
+ exclude (PROCESS_FILES)
exclude ("appletlib")
exclude ("**/*locales")
exclude ("*locales/**")
exclude ("utils/InstallAnywhere")
- exclude (libDir)
- exclude (getdown_files_dir)
+
+ exclude (getdown_files_dir)
exclude (getdown_website_dir)
// exluding these as not using jars as modules yet
exclude ("$j11modDir/**/*.jar")
-
+}
+// from (jalviewDir) {
+// // explicit includes for stuff that seemed to not get included
+// include(fileTree("test/**/*."))
+// exclude(EXCLUDE_FILES)
+// exclude(PROCESS_FILES)
+// }
}
task helppages {
+++ /dev/null
-NOBACK
-XmlSchema-SNAPSHOT.jar
-annogen-0.1.0.jar
-axiom-api-1.0-RC2.jar
-axiom-dom-1.0-RC2.jar
-axiom-impl-1.0-RC2.jar
-axis-wsdl4j-1.2.jar
-axis.jar.bak
-axis.jar.commons
-axis2-adb-1.0-RC2.jar
-axis2-kernel-1.0-RC2.jar
-backport-util-concurrent-2.0_01_pd.jar
-backport-util-concurrent-2.1.jar
-castor.zip
-commons-codec-1.2.jar
-commons-codec-1.3.jar
-commons-fileupload-1.0.jar
-commons-httpclient-3.0.jar
-commons-logging-1.0.4.jar
-geronimo-spec-activation-1.0.2-rc4.jar
-geronimo-spec-javamail-1.3.1-rc5.jar
-geronimo-spec-jms-1.1-rc4.jar
-jaxen-1.1-beta-7.jar
-jhall.jar.bak
-log4j-1.2.13.jar
-maven-itest-plugin-1.0.jar
-phylip-client-axis-1.3.jar
-policy-1.0.1-RC.jar
-policy-1.0.jar
-servletapi-2.3.jar
-stax-api-1.0.jar
-wstx-asl-2.8.2.jar
-wstx-asl-2.9.2.jar
-xercesImpl.jar.bak
-xml-apis.jar.bak