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 2008/02/05 05:11:11 UTC

svn commit: r618533 - /felix/trunk/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrUpdate.java

Author: mcculls
Date: Mon Feb  4 20:11:10 2008
New Revision: 618533

URL: http://svn.apache.org/viewvc?rev=618533&view=rev
Log:
FELIX-475: log if we add customized obr.xml details to the repository

Modified:
    felix/trunk/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrUpdate.java

Modified: felix/trunk/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrUpdate.java
URL: http://svn.apache.org/viewvc/felix/trunk/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrUpdate.java?rev=618533&r1=618532&r2=618533&view=diff
==============================================================================
--- felix/trunk/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrUpdate.java (original)
+++ felix/trunk/maven-obr-plugin/src/main/java/org/apache/felix/obr/plugin/ObrUpdate.java Mon Feb  4 20:11:10 2008
@@ -191,6 +191,8 @@
         // parse the obr.xml file
         if ( m_obrXml != null )
         {
+            m_logger.info( "Adding " + m_obrXml );
+
             // URL url = getClass().getResource("/SchemaObr.xsd");
             // TODO validate obr.xml file
 
@@ -199,8 +201,10 @@
             {
                 return;
             }
+
             Node obrXmlRoot = obrXmlDoc.getDocumentElement();
-            // sort the obr file
+
+            // add contents to resource bundle
             sortObrXml( obrXmlRoot );
         }
 
@@ -214,6 +218,7 @@
         {
             m_logger.error( "unable to build Bindex informations" );
             e.printStackTrace();
+
             throw new MojoExecutionException( "MojoFailureException" );
         }