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 2008/11/13 15:29:14 UTC

svn commit: r713735 - /felix/sandbox/donsez/script/monitor.txt

Author: donsez
Date: Thu Nov 13 06:29:14 2008
New Revision: 713735

URL: http://svn.apache.org/viewvc?rev=713735&view=rev
Log:
change the script to test the last version of mointor admin.

Modified:
    felix/sandbox/donsez/script/monitor.txt

Modified: felix/sandbox/donsez/script/monitor.txt
URL: http://svn.apache.org/viewvc/felix/sandbox/donsez/script/monitor.txt?rev=713735&r1=713734&r2=713735&view=diff
==============================================================================
--- felix/sandbox/donsez/script/monitor.txt (original)
+++ felix/sandbox/donsez/script/monitor.txt Thu Nov 13 06:29:14 2008
@@ -1,45 +1,35 @@
 rem This script illustrates the Monitor Admin service v1.0 (R4 chapter 109)
-rem (c) Apache Felix Project Team, 2006-2007
+rem (c) Apache Felix Project Team, 2006-2008
 rem start the "run" command shell.scriptcmd.jar to run this script
 
-rem script variable
-rem set username=Donsez
-rem set artifactVersion=0.9.0-incubator-SNAPSHOT
-
+obr list-url
+obr remove-url file:///C:/Docume~1/Donsez/.m2/repository/repository.xml
+obr add-url file:///C:/Docume~1/Donsez/.m2/repository/repository.xml
 
 rem change the username in the following command line
 rem cd file:///C:/Docume~1/${username}/.m2/repository/org/apache/felix/
 cd file:///C:/Docume~1/Donsez/.m2/repository/org/apache/felix/
 
-rem install javax.servlet\${artifactVersion}\javax.servlet-${artifactVersion}.jar
-install javax.servlet\0.9.0-incubator-SNAPSHOT\javax.servlet-0.9.0-incubator-SNAPSHOT.jar
-install org.osgi.core\0.9.0-incubator-SNAPSHOT\org.osgi.core-0.9.0-incubator-SNAPSHOT.jar
-install org.osgi.compendium\0.9.0-incubator-SNAPSHOT\org.osgi.compendium-0.9.0-incubator-SNAPSHOT.jar
-
-rem obr start org.apache.felix.eventadmin
-start org.apache.felix.eventadmin\0.9.0-incubator-SNAPSHOT\org.apache.felix.eventadmin-0.9.0-incubator-SNAPSHOT.jar
 
-rem obr start org.apache.felix.eventadmin.cmd
-start org.apache.felix.eventadmin.cmd\0.9.0-incubator-SNAPSHOT\org.apache.felix.eventadmin.cmd-0.9.0-incubator-SNAPSHOT.jar
+obr list Monitor
 
-rem handlers for standard events
-eventadmin subscribe org/osgi/service/monitor
+obr start "Apache Felix MonitorAdmin"
 
+rem obr start "Apache Felix EventAdmin"
+start org.apache.felix.eventadmin\1.0.1-SNAPSHOT\org.apache.felix.eventadmin-1.0.1-SNAPSHOT.jar
 
+obr start "Apache Felix EventAdmin Command"
 
-rem obr start org.apache.felix.sandbox.monitor
-start org.apache.felix.sandbox.monitor\0.9.0-incubator-SNAPSHOT\org.apache.felix.sandbox.monitor-0.9.0-incubator-SNAPSHOT.jar
+rem handlers for standard events
+eventadmin subscribe org/osgi/service/monitor
 
-rem obr start org.apache.felix.sandbox.monitor.jobcmd
-start org.apache.felix.sandbox.monitor.jobcmd\0.9.0-incubator-SNAPSHOT\org.apache.felix.sandbox.monitor.jobcmd-0.9.0-incubator-SNAPSHOT.jar
 
-rem obr start org.apache.felix.sandbox.monitor.sample.memorymonitor
-start org.apache.felix.sandbox.monitor.sample.memorymonitor\0.9.0-incubator-SNAPSHOT\org.apache.felix.sandbox.monitor.sample.memorymonitor-0.9.0-incubator-SNAPSHOT.jar
+obr start "Apache Felix Monitor Admin Command"
 
-rem obr start org.apache.felix.sandbox.monitor.sample.memorymonitorjob
-start org.apache.felix.sandbox.monitor.sample.memorymonitorjob\0.9.0-incubator-SNAPSHOT\org.apache.felix.sandbox.monitor.sample.memorymonitorjob-0.9.0-incubator-SNAPSHOT.jar
+obr start "Apache Felix Monitor Admin Sample : Memory Monitor"
+obr start "Apache Felix Monitor Admin Sample : Memory Monitor Job"
+obr start "Apache Felix Monitor Admin Sample : OS Memory and CPU Monitors"
 
-start org.apache.felix.sandbox.monitor.sample.usagemonitor.jar
 
 monitorjob help
 monitorjob variables