felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clem...@apache.org
Subject svn commit: r574621 - in /felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix: obr/ sandbox/ sandbox/obr/ sandbox/obr/plugin/
Date Tue, 11 Sep 2007 15:09:22 GMT
Author: clement
Date: Tue Sep 11 08:09:21 2007
New Revision: 574621

URL: http://svn.apache.org/viewvc?rev=574621&view=rev
Log:
Change the package name to org.apache.felix.sandbox.obr.plugin
Fix an issue when computing empty source, documentation and licence (the obr bundle does not
support empty tags as <source/>).

Added:
    felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/
    felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/
    felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/
      - copied from r572766, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/
    felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/Capability.java
      - copied, changed from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/Capability.java
    felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/Category.java
      - copied, changed from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/Category.java
    felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/Config.java
      - copied, changed from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/Config.java
    felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ExtractBindexInfo.java
      - copied, changed from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ExtractBindexInfo.java
    felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrDeploy.java
      - copied, changed from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrDeploy.java
    felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrDeployFile.java
      - copied, changed from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrDeployFile.java
    felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrInstall.java
      - copied, changed from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrInstall.java
    felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrInstallFile.java
      - copied, changed from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrInstallFile.java
    felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrUpdate.java
      - copied, changed from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrUpdate.java
    felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/PElement.java
      - copied, changed from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/PElement.java
    felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/PathFile.java
      - copied, changed from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/PathFile.java
    felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/RemoteFileManager.java
      - copied, changed from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/RemoteFileManager.java
    felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/Require.java
      - copied, changed from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/Require.java
    felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ResourcesBundle.java
      - copied, changed from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ResourcesBundle.java
Removed:
    felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/

Copied: felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/Capability.java
(from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/Capability.java)
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/Capability.java?p2=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/Capability.java&p1=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/Capability.java&r1=574620&r2=574621&rev=574621&view=diff
==============================================================================
--- felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/Capability.java
(original)
+++ felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/Capability.java
Tue Sep 11 08:09:21 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.felix.obr.plugin;
+package org.apache.felix.sandbox.obr.plugin;
 
 import java.util.ArrayList;
 import java.util.List;

Copied: felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/Category.java
(from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/Category.java)
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/Category.java?p2=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/Category.java&p1=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/Category.java&r1=574620&r2=574621&rev=574621&view=diff
==============================================================================
--- felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/Category.java
(original)
+++ felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/Category.java
Tue Sep 11 08:09:21 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.felix.obr.plugin;
+package org.apache.felix.sandbox.obr.plugin;
 
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;

Copied: felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/Config.java
(from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/Config.java)
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/Config.java?p2=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/Config.java&p1=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/Config.java&r1=574620&r2=574621&rev=574621&view=diff
==============================================================================
--- felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/Config.java
(original)
+++ felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/Config.java
Tue Sep 11 08:09:21 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.felix.obr.plugin;
+package org.apache.felix.sandbox.obr.plugin;
 
 /**
  * this class is used to store some user information about configuration of the plugin.

Copied: felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ExtractBindexInfo.java
(from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ExtractBindexInfo.java)
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ExtractBindexInfo.java?p2=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ExtractBindexInfo.java&p1=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ExtractBindexInfo.java&r1=574620&r2=574621&rev=574621&view=diff
==============================================================================
--- felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ExtractBindexInfo.java
(original)
+++ felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ExtractBindexInfo.java
Tue Sep 11 08:09:21 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.felix.obr.plugin;
+package org.apache.felix.sandbox.obr.plugin;
 
 import java.io.File;
 import java.net.MalformedURLException;

Copied: felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrDeploy.java
(from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrDeploy.java)
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrDeploy.java?p2=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrDeploy.java&p1=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrDeploy.java&r1=574620&r2=574621&rev=574621&view=diff
==============================================================================
--- felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrDeploy.java
(original)
+++ felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrDeploy.java
Tue Sep 11 08:09:21 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.felix.obr.plugin;
+package org.apache.felix.sandbox.obr.plugin;
 
 import java.io.BufferedWriter;
 import java.io.File;
@@ -106,7 +106,6 @@
      */
     public void execute() throws MojoExecutionException, MojoFailureException {
         getLog().info("Obr-deploy start:");
-        System.err.println(m_repositoryName);
 
         ArtifactRepository ar = m_project.getDistributionManagementArtifactRepository();
 

Copied: felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrDeployFile.java
(from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrDeployFile.java)
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrDeployFile.java?p2=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrDeployFile.java&p1=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrDeployFile.java&r1=574620&r2=574621&rev=574621&view=diff
==============================================================================
--- felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrDeployFile.java
(original)
+++ felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrDeployFile.java
Tue Sep 11 08:09:21 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.felix.obr.plugin;
+package org.apache.felix.sandbox.obr.plugin;
 
 import java.io.BufferedWriter;
 import java.io.File;

Copied: felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrInstall.java
(from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrInstall.java)
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrInstall.java?p2=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrInstall.java&p1=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrInstall.java&r1=574620&r2=574621&rev=574621&view=diff
==============================================================================
--- felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrInstall.java
(original)
+++ felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrInstall.java
Tue Sep 11 08:09:21 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.felix.obr.plugin;
+package org.apache.felix.sandbox.obr.plugin;
 
 import java.io.File;
 import java.util.List;

Copied: felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrInstallFile.java
(from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrInstallFile.java)
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrInstallFile.java?p2=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrInstallFile.java&p1=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrInstallFile.java&r1=574620&r2=574621&rev=574621&view=diff
==============================================================================
--- felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrInstallFile.java
(original)
+++ felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrInstallFile.java
Tue Sep 11 08:09:21 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.felix.obr.plugin;
+package org.apache.felix.sandbox.obr.plugin;
 
 import java.io.File;
 

Copied: felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrUpdate.java
(from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrUpdate.java)
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrUpdate.java?p2=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrUpdate.java&p1=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrUpdate.java&r1=574620&r2=574621&rev=574621&view=diff
==============================================================================
--- felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrUpdate.java
(original)
+++ felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ObrUpdate.java
Tue Sep 11 08:09:21 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.felix.obr.plugin;
+package org.apache.felix.sandbox.obr.plugin;
 
 import java.io.File;
 import java.io.FileNotFoundException;

Copied: felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/PElement.java
(from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/PElement.java)
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/PElement.java?p2=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/PElement.java&p1=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/PElement.java&r1=574620&r2=574621&rev=574621&view=diff
==============================================================================
--- felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/PElement.java
(original)
+++ felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/PElement.java
Tue Sep 11 08:09:21 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.felix.obr.plugin;
+package org.apache.felix.sandbox.obr.plugin;
 
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;

Copied: felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/PathFile.java
(from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/PathFile.java)
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/PathFile.java?p2=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/PathFile.java&p1=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/PathFile.java&r1=574620&r2=574621&rev=574621&view=diff
==============================================================================
--- felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/PathFile.java
(original)
+++ felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/PathFile.java
Tue Sep 11 08:09:21 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.felix.obr.plugin;
+package org.apache.felix.sandbox.obr.plugin;
 
 import java.io.File;
 import java.io.FileInputStream;

Copied: felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/RemoteFileManager.java
(from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/RemoteFileManager.java)
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/RemoteFileManager.java?p2=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/RemoteFileManager.java&p1=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/RemoteFileManager.java&r1=574620&r2=574621&rev=574621&view=diff
==============================================================================
--- felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/RemoteFileManager.java
(original)
+++ felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/RemoteFileManager.java
Tue Sep 11 08:09:21 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.felix.obr.plugin;
+package org.apache.felix.sandbox.obr.plugin;
 
 import java.io.File;
 import java.io.IOException;

Copied: felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/Require.java
(from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/Require.java)
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/Require.java?p2=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/Require.java&p1=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/Require.java&r1=574620&r2=574621&rev=574621&view=diff
==============================================================================
--- felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/Require.java
(original)
+++ felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/Require.java
Tue Sep 11 08:09:21 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.felix.obr.plugin;
+package org.apache.felix.sandbox.obr.plugin;
 
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;

Copied: felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ResourcesBundle.java
(from r574620, felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ResourcesBundle.java)
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ResourcesBundle.java?p2=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ResourcesBundle.java&p1=felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ResourcesBundle.java&r1=574620&r2=574621&rev=574621&view=diff
==============================================================================
--- felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ResourcesBundle.java
(original)
+++ felix/sandbox/clement/maven-obr-plugin/src/main/java/org/apache/felix/sandbox/obr/plugin/ResourcesBundle.java
Tue Sep 11 08:09:21 2007
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.felix.obr.plugin;
+package org.apache.felix.sandbox.obr.plugin;
 
 import java.util.ArrayList;
 import java.util.Iterator;
@@ -271,14 +271,20 @@
         size.setTextContent(this.getSize());
         resource.appendChild(size);
 
-        documentation.setTextContent(this.getDocumentation());
-        resource.appendChild(documentation);
+        if (this.getDocumentation() != null) {
+            documentation.setTextContent(this.getDocumentation());
+            resource.appendChild(documentation);
+        }
 
-        source.setTextContent(this.getSource());
-        resource.appendChild(source);
+        if (this.getSource() != null) {
+            source.setTextContent(this.getSource());
+            resource.appendChild(source);
+        }
 
-        license.setTextContent(this.getLicense());
-        resource.appendChild(license);
+        if (this.getLicense() != null) {
+            license.setTextContent(this.getLicense());
+            resource.appendChild(license);
+        }
 
         List list = (ArrayList) this.getNodeCategories(father);
         for (int i = 0; i < list.size(); i++) {



Mime
View raw message