felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickh...@apache.org
Subject svn commit: r384549 - /incubator/felix/trunk/tools/maven2/maven-osgi-plugin/src/main/java/org/apache/felix/tools/maven/plugin/OsgiManifest.java
Date Thu, 09 Mar 2006 16:43:01 GMT
Author: rickhall
Date: Thu Mar  9 08:42:58 2006
New Revision: 384549

URL: http://svn.apache.org/viewcvs?rev=384549&view=rev
Log:
Included support for DynamicImport-Package manifest header.

Modified:
    incubator/felix/trunk/tools/maven2/maven-osgi-plugin/src/main/java/org/apache/felix/tools/maven/plugin/OsgiManifest.java

Modified: incubator/felix/trunk/tools/maven2/maven-osgi-plugin/src/main/java/org/apache/felix/tools/maven/plugin/OsgiManifest.java
URL: http://svn.apache.org/viewcvs/incubator/felix/trunk/tools/maven2/maven-osgi-plugin/src/main/java/org/apache/felix/tools/maven/plugin/OsgiManifest.java?rev=384549&r1=384548&r2=384549&view=diff
==============================================================================
--- incubator/felix/trunk/tools/maven2/maven-osgi-plugin/src/main/java/org/apache/felix/tools/maven/plugin/OsgiManifest.java
(original)
+++ incubator/felix/trunk/tools/maven2/maven-osgi-plugin/src/main/java/org/apache/felix/tools/maven/plugin/OsgiManifest.java
Thu Mar  9 08:42:58 2006
@@ -43,6 +43,7 @@
     private String exportService;
     private String exportPackage;
     private String importPackage;
+    private String dynamicImportPackage;
     private String metadataLocation;
 
     // private String bundleClasspath;
@@ -91,6 +92,11 @@
             entries.put( "Import-Package", getImportPackage() );
         }
 
+        if ( getDynamicImportPackage() != null )
+        {
+            entries.put( "DynamicImport-Package", getDynamicImportPackage() );
+        }
+
         /*
          if (getBundleClassPath() != null) {
          entries.put("Bundle-Classpath", getBundleClassPath());
@@ -223,6 +229,16 @@
     public void setImportPackage( String importPackage )
     {
         this.importPackage = importPackage;
+    }
+
+    public String getDynamicImportPackage()
+    {
+        return dynamicImportPackage;
+    }
+
+    public void setDynamicImportPackage( String importPackage )
+    {
+        dynamicImportPackage = importPackage;
     }
 
     /*



Mime
View raw message