Commit 5f6c07b6 authored by Christian Wulf's avatar Christian Wulf

fixed: kieker was not added to vmargs

parent 62378142
......@@ -19,6 +19,8 @@ import kieker.tools.eclipse.monitoring.helper.Dependencies;
public class KiekerMonitoringLaunchConfigurationDelegate extends AbstractJavaLaunchConfigurationDelegate {
private static final String DEFAULT_KIEKER_VERSION = "1.13";
/*
* (non-Javadoc)
*
......@@ -63,11 +65,9 @@ public class KiekerMonitoringLaunchConfigurationDelegate extends AbstractJavaLau
String pgmArgs = getProgramArguments(configuration);
String vmArgs = getVMArguments(configuration);
if (kiekerEnabled) {
String kiekerVersion = configuration.getAttribute(ATTR_KIEKER_VERSION, "1.12");
String kiekerVersion = configuration.getAttribute(ATTR_KIEKER_VERSION, DEFAULT_KIEKER_VERSION);
String javaagentArgument = "−javaagent:libs/kieker-" + kiekerVersion + "-aspectj.jar";
if (!vmArgs.isEmpty()) {
vmArgs = System.lineSeparator() + javaagentArgument;
}
vmArgs += System.lineSeparator() + javaagentArgument;
}
ExecutionArguments execArgs = new ExecutionArguments(vmArgs, pgmArgs);
......
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="features/kieker.tools.eclipse.feature_1.0.0.201801101412.jar" id="kieker.tools.eclipse.feature" version="1.0.0.201801101412">
<feature url="features/kieker.tools.eclipse.feature_1.0.0.201801101431.jar" id="kieker.tools.eclipse.feature" version="1.0.0.201801101431">
<category name="net.kieker-monitoring"/>
</feature>
<category-def name="net.kieker-monitoring" label="Kieker - the monitoring and dynamic analysis framework"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment