diff options
author | Petr Mladek <pmladek@suse.cz> | 2011-04-08 16:54:49 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2011-04-28 12:37:51 +0200 |
commit | 65ffc45d37306dbb48058fb6cec70567d41a9208 (patch) | |
tree | 9f89e6a4fdb6c85fa05aca30196b12b7ad7a9a72 | |
parent | d933b2a6f56f450f4b21c3a6a0d083258b3a7d1d (diff) |
fix jfreereport build with ant-1.6.5
-rwxr-xr-x | jfreereport/patches/common_build.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/jfreereport/patches/common_build.patch b/jfreereport/patches/common_build.patch index 3d5330b..7cdc7f8 100755 --- a/jfreereport/patches/common_build.patch +++ b/jfreereport/patches/common_build.patch @@ -1,5 +1,23 @@ --- misc/libloader-1.1.3/common_build.xml 2009-11-16 10:25:34.000000000 +0100 +++ misc/build/libloader-1.1.3/common_build.xml 2009-12-04 10:22:24.277647200 +0100 +@@ -261,7 +261,7 @@ TYPICAL TARGET SEQUENCE + <property name="project.revision" value="${Implementation-Version}" description="Sets the version number of the project based on the Implementation-Version found in the manifest file (if one is supplied and nothing is specified in the build.properties)" /> + <fail message="A project revision number has not been determined!"> + <condition> +- <matches string="${project.revision}" pattern="\$\{.*\}" /> ++ <contains string="${project.revision}" substring="\$\{" /> + </condition> + </fail> + +@@ -270,7 +270,7 @@ TYPICAL TARGET SEQUENCE + <property name="impl.title" value="${Implementation-Title}" description="Sets the title of the project based on the Implementation-Title found in the manifest file (if one is supplied and nothing is specified in the build.properties)" /> + <fail message="A project title has not been determined!"> + <condition> +- <matches string="${impl.title}" pattern="\$\{.*\}" /> ++ <contains string="${impl.title}" substring="\$\{" /> + </condition> + </fail> + @@ -497,7 +497,7 @@ Sets a property build.id to the either "development" or the svn revision if in release mode |