You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by do...@apache.org on 2007/03/14 00:26:21 UTC

svn commit: r517935 - in /incubator/felix/sandbox/donsez/wireadmin.cmd: doc/ doc/index.html pom.xml

Author: donsez
Date: Tue Mar 13 16:26:21 2007
New Revision: 517935

URL: http://svn.apache.org/viewvc?view=rev&rev=517935
Log:
update pom.xml and add doc/index.html

Added:
    incubator/felix/sandbox/donsez/wireadmin.cmd/doc/
    incubator/felix/sandbox/donsez/wireadmin.cmd/doc/index.html
Modified:
    incubator/felix/sandbox/donsez/wireadmin.cmd/pom.xml

Added: incubator/felix/sandbox/donsez/wireadmin.cmd/doc/index.html
URL: http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/wireadmin.cmd/doc/index.html?view=auto&rev=517935
==============================================================================
--- incubator/felix/sandbox/donsez/wireadmin.cmd/doc/index.html (added)
+++ incubator/felix/sandbox/donsez/wireadmin.cmd/doc/index.html Tue Mar 13 16:26:21 2007
@@ -0,0 +1,51 @@
+<!DOCTYPE doctype PUBLIC "-//w3c//dtd html 4.0 transitional//en">
+<html>
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <title>Wire Admin Command</title>
+</head>
+<body>
+<h1>Wire Admin Command</h1>
+
+<h2>Description</h2>
+This bundle adds a command to the Felix shell to enable interaction with the Wire Admin Service.</p>
+
+<h2>Command </h2>
+<table cellpadding="2" cellspacing="2" border="1" width="100%">
+  <tbody>
+    <tr>
+      <td valign="top" bgcolor="#0000aa"> <font color="#ffffff">Syntax</font>
+      </td>
+    </tr>
+    <tr>
+      <td valign="top">
+      <pre><big>
+		wa help	display this help<br>
+		wa consumers [filter]	list Consumers<br>
+		wa producers [filter]	list Producers<br>
+		wa wires [filter]	    list Wires<br>
+		wa wires valid          list valid Wires<br>
+		wa wires unvalid        list unvalid Wires<br>
+		wa wires connected      list connected Wires<br>
+		wa wires disconnected   list disconnected Wires<br>
+		wa create pidproducer pidconsumer [name=value;...]	  create a new Wire with a set of optional properties<br>
+		wa update pidwire [name=value;...]	                  update the properties of a wire<br>
+		wa delete pidwire	    delete a Wire in the current wire admin service<br>
+		wa deleteall	        delete all Wires in the current wire admin service<br>
+	  </big></pre>
+      </td>
+    </tr>
+  </tbody>
+</table>
+</p>
+</font>
+
+<p><b>Demonstration<br>
+Run the commands listed in this <a href="wa.txt">script file</a>.
+</p>	
+	
+<p><b>Requirements<br>
+</b><tt>org.osgi.service.wireadmin</tt></p>
+
+</body>
+</html>

Modified: incubator/felix/sandbox/donsez/wireadmin.cmd/pom.xml
URL: http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/wireadmin.cmd/pom.xml?view=diff&rev=517935&r1=517934&r2=517935
==============================================================================
--- incubator/felix/sandbox/donsez/wireadmin.cmd/pom.xml (original)
+++ incubator/felix/sandbox/donsez/wireadmin.cmd/pom.xml Tue Mar 13 16:26:21 2007
@@ -17,6 +17,12 @@
  under the License.
 -->
 <project>
+
+	<properties>
+		<repositoryLocation>http://www-adele.imag.fr/users/Didier.Donsez/dev/felix/sandbox/</repositoryLocation>
+	</properties>  
+
+
   <parent>
     <groupId>org.apache.felix</groupId>
     <artifactId>felix</artifactId>
@@ -27,32 +33,40 @@
   <name>Apache Felix WireAdmin Command</name>
   <description>shell command to use the WireAdmin service.</description>
   <artifactId>org.apache.felix.wireadmin.cmd</artifactId>
+  
+  
   <dependencies>
+
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.core</artifactId>
       <version>${pom.version}</version>
       <scope>provided</scope>
     </dependency>
+
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.osgi.compendium</artifactId>
       <version>${pom.version}</version>
       <scope>provided</scope>
     </dependency>
+
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.shell</artifactId>
       <version>${pom.version}</version>
       <scope>provided</scope>
     </dependency>
+
     <dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>org.apache.felix.scr</artifactId>
       <version>${pom.version}</version>
       <scope>provided</scope>
     </dependency>    
+
   </dependencies>
+
   <build>
     <plugins>
        <plugin>
@@ -65,16 +79,17 @@
             <Import-Service>org.osgi.service.wireadmin.WireAdmin</Import-Service>
             <Private-Package>org.apache.felix.wireadmin.cmd.*</Private-Package>
             <Import-Package>*</Import-Package>
-	    <Bundle-Activator>${pom.artifactId}.WireAdminCmdImpl</Bundle-Activator>
-            <Bundle-DocUrl>http://www-adele.imag.fr/users/Didier.Donsez/dev/felix/sandbox/${pom.artifactId}/</Bundle-DocUrl>
-            <Bundle-Url>http://www-adele.imag.fr/users/Didier.Donsez/dev/felix/sandbox/${pom.artifactId}/${pom.artifactId}-${pom.version}.jar</Bundle-Url>
-            <Bundle-Source>http://www-adele.imag.fr/users/Didier.Donsez/dev/felix/sandbox/${pom.artifactId}/${pom.artifactId}-${pom.version}-src.jar</Bundle-Source>
+	    	<Bundle-Activator>${pom.artifactId}.WireAdminCmdImpl</Bundle-Activator>
+            <Bundle-DocUrl>${repositoryLocation}${pom.artifactId}/index.html</Bundle-DocUrl>
+            <Bundle-Url>${repositoryLocation}${pom.artifactId}/${pom.artifactId}-${pom.version}.jar</Bundle-Url>
+            <Bundle-Source>${repositoryLocation}${pom.artifactId}/${pom.artifactId}-${pom.version}-src.jar</Bundle-Source>
             <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
             <Bundle-Description>shell command to use the WireAdminBinder.</Bundle-Description>
-	    <Service-Component>OSGI-INF/component.xml</Service-Component>
+	    	<Service-Component>OSGI-INF/component.xml</Service-Component>
            </instructions>
         </configuration>
       </plugin>
     </plugins>
   </build>
+  
 </project>