From 43322abdad4fa08645f925bbb265ba3f41989bac Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 9 Dec 2009 17:54:10 +0000 Subject: [PATCH 1/5] Initialize branch F-11 for gant --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..25c7708 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-11 From acc165761d82a45b4679d0340ed594d863c89459 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Wed, 9 Dec 2009 18:20:04 +0000 Subject: [PATCH 2/5] Import gant --- 0001-Fix-tests.patch | 48 +++++++++++ 0001-Make-it-build-against-our-jars.patch | 61 ++++++++++++++ gant.spec | 99 +++++++++++++++++++++++ 3 files changed, 208 insertions(+) create mode 100644 0001-Fix-tests.patch create mode 100644 0001-Make-it-build-against-our-jars.patch create mode 100644 gant.spec diff --git a/0001-Fix-tests.patch b/0001-Fix-tests.patch new file mode 100644 index 0000000..f25d153 --- /dev/null +++ b/0001-Fix-tests.patch @@ -0,0 +1,48 @@ +From 256fc691f79ac3086d72b95504c39993fe10b87c Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Tue, 24 Nov 2009 00:46:35 +0100 +Subject: [PATCH] Fix tests + +Disable a test that needs internet connection, make other test not need +a home directory. +--- + .../codehaus/gant/tests/bugs/Assorted_Test.groovy | 2 ++ + .../codehaus/gant/tests/bugs/GANT_33_Test.groovy | 2 +- + 2 files changed, 3 insertions(+), 1 deletions(-) + +diff --git a/src/test/groovy/org/codehaus/gant/tests/bugs/Assorted_Test.groovy b/src/test/groovy/org/codehaus/gant/tests/bugs/Assorted_Test.groovy +index 0e9ab9b..f79b831 100644 +--- a/src/test/groovy/org/codehaus/gant/tests/bugs/Assorted_Test.groovy ++++ b/src/test/groovy/org/codehaus/gant/tests/bugs/Assorted_Test.groovy +@@ -74,6 +74,7 @@ def foo { badvariable } + ''' ) ) + } + ++/* + void test_GANT_34_originalIvycachePathProblemFixed ( ) { + script = ''' + includeTool << gant.tools.Ivy +@@ -90,6 +91,7 @@ target ( 'default' : '' ) { + // same on all platforms: it contains the Ivy jar version number and some timings. + assertEquals ( '' , error ) + } ++*/ + + void test_GANT_49_builderBug ( ) { + // +diff --git a/src/test/groovy/org/codehaus/gant/tests/bugs/GANT_33_Test.groovy b/src/test/groovy/org/codehaus/gant/tests/bugs/GANT_33_Test.groovy +index 9cc4e69..4a3d317 100644 +--- a/src/test/groovy/org/codehaus/gant/tests/bugs/GANT_33_Test.groovy ++++ b/src/test/groovy/org/codehaus/gant/tests/bugs/GANT_33_Test.groovy +@@ -77,7 +77,7 @@ private fileNameSuffix = '_GANT_33_Test' + buildScriptFile.delete ( ) + // Need to ensure that this cache directory actually is the real cache directory as listed in gant.Gant. + ( new AntBuilder ( ) ).delete { +- fileset ( dir : [ System.properties.'user.home' , '.gant' , 'cache' ].join ( System.properties.'file.separator' ) , includes : fileNamePrefix + '*' + fileNameSuffix + '*' ) ++ fileset ( dir : [ System.properties.'user.dir' , '.gant' , 'cache' ].join ( System.properties.'file.separator' ) , includes : fileNamePrefix + '*' + fileNameSuffix + '*' ) + } + } + ////////////////////////////////////////////////////////////////////////////////////////////// +-- +1.6.5.2 + diff --git a/0001-Make-it-build-against-our-jars.patch b/0001-Make-it-build-against-our-jars.patch new file mode 100644 index 0000000..1250d1e --- /dev/null +++ b/0001-Make-it-build-against-our-jars.patch @@ -0,0 +1,61 @@ +From 3e388bc9d05e19029b673e5b9f8a91034cc830c9 Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Mon, 23 Nov 2009 06:11:11 +0100 +Subject: [PATCH] Make it build against our jars + +--- + build.xml | 26 +++++++++++++++++++++++--- + 1 files changed, 23 insertions(+), 3 deletions(-) + +diff -up gant-1.8.1/build.xml.build gant-1.8.1/build.xml +--- gant-1.8.1/build.xml.build 2009-10-02 13:19:13.000000000 +0200 ++++ gant-1.8.1/build.xml 2009-11-23 23:41:25.896457653 +0100 +@@ -105,6 +105,27 @@ Author : Russel Winder + + ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ + + + +@@ -190,9 +211,9 @@ Author : Russel Winder + + +- ++ + + + +@@ -275,7 +296,7 @@ Author : Russel Winder + + +- ++ + +