summaryrefslogtreecommitdiffstats
path: root/Monitoring/MonitoringTool/PacketTracking/netview/launcher
diff options
context:
space:
mode:
authorpikusa <pikusa@man.poznan.pl>2013-04-03 13:18:17 (GMT)
committer pikusa <pikusa@man.poznan.pl>2013-04-03 13:18:17 (GMT)
commit2f2a3a129c91de540e66c3bfbe30b0df1942cd4b (patch)
tree2d313cdf0068af368d4de6067d676be16f6a6464 /Monitoring/MonitoringTool/PacketTracking/netview/launcher
parentff8aa232b071a9b54dff833714a870fd0aec0b30 (diff)
downloadnovi-public-2f2a3a129c91de540e66c3bfbe30b0df1942cd4b.zip
novi-public-2f2a3a129c91de540e66c3bfbe30b0df1942cd4b.tar.gz
novi-public-2f2a3a129c91de540e66c3bfbe30b0df1942cd4b.tar.bz2
project commit and dir tree change
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
+