You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by mc...@apache.org on 2009/01/29 12:05:32 UTC

svn commit: r738817 - /felix/trunk/bundleplugin/src/main/java/aQute/lib/osgi/Builder.java

Author: mcculls
Date: Thu Jan 29 11:05:31 2009
New Revision: 738817

URL: http://svn.apache.org/viewvc?rev=738817&view=rev
Log:
FELIX-907: patch local copy of Bnd code to fix regression

Modified:
    felix/trunk/bundleplugin/src/main/java/aQute/lib/osgi/Builder.java

Modified: felix/trunk/bundleplugin/src/main/java/aQute/lib/osgi/Builder.java
URL: http://svn.apache.org/viewvc/felix/trunk/bundleplugin/src/main/java/aQute/lib/osgi/Builder.java?rev=738817&r1=738816&r2=738817&view=diff
==============================================================================
--- felix/trunk/bundleplugin/src/main/java/aQute/lib/osgi/Builder.java (original)
+++ felix/trunk/bundleplugin/src/main/java/aQute/lib/osgi/Builder.java Thu Jan 29 11:05:31 2009
@@ -425,12 +425,12 @@
 
         Map<Instruction, Map<String, String>> all = newMap();
 
-        all.putAll(replaceWitInstruction(getHeader(EXPORT_PACKAGE),
-                EXPORT_PACKAGE));
-
         all.putAll(replaceWitInstruction(getHeader(PRIVATE_PACKAGE),
                 PRIVATE_PACKAGE));
 
+        all.putAll(replaceWitInstruction(getHeader(EXPORT_PACKAGE),
+                EXPORT_PACKAGE));
+
         if (isTrue(getProperty(Constants.UNDERTEST))) {
             all.putAll(replaceWitInstruction(parseHeader(getProperty(
                     Constants.TESTPACKAGES, "test;presence:=optional")),