|
|
b2eb5a |
From aff3baf83b795f99494b2d5bead1a6ee0c654fc5 Mon Sep 17 00:00:00 2001
|
|
|
b2eb5a |
From: Mikolaj Izdebski <mizdebsk@redhat.com>
|
|
|
b2eb5a |
Date: Thu, 19 Sep 2013 13:49:07 +0200
|
|
|
b2eb5a |
Subject: [PATCH] Port to Ant 1.9
|
|
|
b2eb5a |
|
|
|
b2eb5a |
---
|
|
|
b2eb5a |
OSGI-OPT/src/aQute/bnd/main/bnd.java | 2 +-
|
|
|
b2eb5a |
OSGI-OPT/src/aQute/lib/osgi/Analyzer.java | 6 +++---
|
|
|
b2eb5a |
2 files changed, 4 insertions(+), 4 deletions(-)
|
|
|
b2eb5a |
|
|
|
b2eb5a |
diff --git a/OSGI-OPT/src/aQute/bnd/main/bnd.java b/OSGI-OPT/src/aQute/bnd/main/bnd.java
|
|
|
b2eb5a |
index 71e4483..3ec33bc 100644
|
|
|
b2eb5a |
--- a/OSGI-OPT/src/aQute/bnd/main/bnd.java
|
|
|
b2eb5a |
+++ b/OSGI-OPT/src/aQute/bnd/main/bnd.java
|
|
|
b2eb5a |
@@ -1020,7 +1020,7 @@ public class bnd extends Processor {
|
|
|
b2eb5a |
}
|
|
|
b2eb5a |
|
|
|
b2eb5a |
public boolean doWrap(File properties, File bundle, File output,
|
|
|
b2eb5a |
- File classpath[], int options, Map<String, String> additional)
|
|
|
b2eb5a |
+ File classpath[], int options, Map<String, Object> additional)
|
|
|
b2eb5a |
throws Exception {
|
|
|
b2eb5a |
if (!bundle.exists()) {
|
|
|
b2eb5a |
error("No such file: " + bundle.getAbsolutePath());
|
|
|
b2eb5a |
diff --git a/OSGI-OPT/src/aQute/lib/osgi/Analyzer.java b/OSGI-OPT/src/aQute/lib/osgi/Analyzer.java
|
|
|
b2eb5a |
index 0a10d42..c6591fd 100644
|
|
|
b2eb5a |
--- a/OSGI-OPT/src/aQute/lib/osgi/Analyzer.java
|
|
|
b2eb5a |
+++ b/OSGI-OPT/src/aQute/lib/osgi/Analyzer.java
|
|
|
b2eb5a |
@@ -1216,10 +1216,10 @@ public class Analyzer extends Processor {
|
|
|
b2eb5a |
return sb.toString();
|
|
|
b2eb5a |
}
|
|
|
b2eb5a |
|
|
|
b2eb5a |
- public void putAll(Map<String, String> additional, boolean force) {
|
|
|
b2eb5a |
- for (Iterator<Map.Entry<String, String>> i = additional.entrySet()
|
|
|
b2eb5a |
+ public void putAll(Map<String, Object> additional, boolean force) {
|
|
|
b2eb5a |
+ for (Iterator<Map.Entry<String, Object>> i = additional.entrySet()
|
|
|
b2eb5a |
.iterator(); i.hasNext();) {
|
|
|
b2eb5a |
- Map.Entry<String, String> entry = i.next();
|
|
|
b2eb5a |
+ Map.Entry<String, Object> entry = i.next();
|
|
|
b2eb5a |
if (force || getProperties().get(entry.getKey()) == null)
|
|
|
b2eb5a |
setProperty((String) entry.getKey(), (String) entry.getValue());
|
|
|
b2eb5a |
}
|
|
|
b2eb5a |
--
|
|
|
b2eb5a |
1.8.1.4
|
|
|
b2eb5a |
|