Skip to content
Snippets Groups Projects
Commit 155ab0a1 authored by Florian Fittkau's avatar Florian Fittkau
Browse files

now working as a jar

parent f1dd3474
No related branches found
No related tags found
No related merge requests found
......@@ -20,15 +20,18 @@
<target name="jar" depends="compile">
<mkdir dir="${jar.dir}"/>
<copy todir="${build.dir}/META-INF">
<fileset dir="config" />
</copy>
<jar destfile="${jar.dir}/light-RPC-application.jar">
<manifest>
<attribute name="Main-Class" value="lightrpc.LightRPCMainStarter"/>
<attribute name="Class-Path" value="."/>
</manifest>
<fileset dir="${build.dir}"/>
<fileset dir="." includes="*LICENSE*" />
<fileset dir="${build.dir}" />
<zipfileset excludes="META-INF/*" src="lib/explorviz-monitoring.jar"/>
</jar>
<copy file="${jar.dir}/light-RPC-application.jar" tofile="release/light-RPC-application.jar"/>
</target>
<target name="compile">
......
<!DOCTYPE aspectj PUBLIC "-//AspectJ//DTD//EN" "http://www.aspectj.org/dtd/aspectj_1_5_0.dtd">
<aspectj>
<weaver options="-Xset:weaveJavaPackages=true,weaveJavaxPackages=true -verbose -showWeaveInfo"> <!-- options="-verbose -showWeaveInfo -Xjoinpoints:synchronization" -->
<weaver options="-Xset:weaveJavaPackages=true,weaveJavaxPackages=true"> <!-- options="-verbose -showWeaveInfo -Xjoinpoints:synchronization" -->
<include within="*"/>
</weaver>
......@@ -13,7 +13,7 @@
<pointcut name="monitoredConstructor" expression="execution(*..*.new(..))" />
</concrete-aspect>
<!-- Aspects for monitoring send and receive methods -->
<aspect name="explorviz.live_trace_processing.probe.distributed.concrete.ActiveMQProbe"/>
<!-- <aspect name="explorviz.live_trace_processing.probe.distributed.concrete.ActiveMQProbe"/> -->
<!-- <aspect name="explorviz.live_trace_processing.probe.distributed.concrete.HSQLDBProbe"/> -->
<aspect name="explorviz.live_trace_processing.probe.distributed.concrete.JAXWSProbeAdder"/>
<!-- <aspect name="explorviz.live_trace_processing.probe.distributed.concrete.ServletProbe"/> -->
......
No preview for this file type
No preview for this file type
"C:\Program Files\Java\jdk1.7.0_75\jre\bin\java" -javaagent:aspectjweaver-1.8.5.jar -Xmx4G -Dexplorviz.live_trace_processing.system_name="testsystem" -Dexplorviz.live_trace_processing.ip_address=10.20.0.1 -Dexplorviz.live_trace_processing.host_name="testhost2" -Dexplorviz.live_trace_processing.application_name="testapp" -jar light-RPC-application.jar
\ No newline at end of file
......@@ -8,23 +8,13 @@ public class LightRPCMainStarter {
public static void main(String[] args) {
MonitoringController.isMonitoringEnabled();
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
}
JAXWSServer.startServer(9999);
JAXWSClient.accessServer(9999);
JAXWSServer.endServer();
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
}
MonitoringController.shutdown();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment