summaryrefslogtreecommitdiffstats
path: root/Monitoring/MonitoringTool/PacketTracking/netview/launcher
diff options
context:
space:
mode:
Diffstat (limited to 'Monitoring/MonitoringTool/PacketTracking/netview/launcher')
-rw-r--r--Monitoring/MonitoringTool/PacketTracking/netview/launcher/MainController.launch14
-rw-r--r--Monitoring/MonitoringTool/PacketTracking/netview/launcher/netview.sh19
2 files changed, 33 insertions, 0 deletions
diff --git a/Monitoring/MonitoringTool/PacketTracking/netview/launcher/MainController.launch b/Monitoring/MonitoringTool/PacketTracking/netview/launcher/MainController.launch
new file mode 100644
index 0000000..c8e8f5b
--- /dev/null
+++ b/Monitoring/MonitoringTool/PacketTracking/netview/launcher/MainController.launch
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/netview/src/main/java/de/fhg/fokus/net/netview/control/MainController.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.maven.ide.eclipse.launchconfig.classpathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="de.fhg.fokus.net.netview.control.MainController"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="netview"/>
+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.maven.ide.eclipse.launchconfig.sourcepathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="${workspace_loc:netview}/nvhome"/>
+</launchConfiguration>
diff --git a/Monitoring/MonitoringTool/PacketTracking/netview/launcher/netview.sh b/Monitoring/MonitoringTool/PacketTracking/netview/launcher/netview.sh
new file mode 100644
index 0000000..f7c95ac
--- /dev/null
+++ b/Monitoring/MonitoringTool/PacketTracking/netview/launcher/netview.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+set -e
+
+NVHOME="./nvhome"
+
+SCRIPT=`readlink -f $0`
+JARDIR=`dirname $SCRIPT`
+
+if [ ! -z $1 ]; then
+ NVHOME="$1"
+fi
+
+if [ ! -e $NVHOME ]; then
+ mkdir -p $NVHOME
+fi
+
+cd $NVHOME
+java -jar $JARDIR/netview.jar
+