Commit b1616ace authored by Florian Fittkau's avatar Florian Fittkau

added build xml

parent 95f38a6a
/bin
/build
/dist
/xtend-gen
Thumbs.db
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project name="Monitoring" default="build-all-monitoring" basedir=".">
<property name="src.dir" value="src"/>
<property name="src-common.dir" value="../common-monitoring/src"/>
<property name="build.dir" value="build"/>
<property name="jar.dir" value="dist"/>
<property name="lib.dir" value="lib"/>
<property name="classes.java" value="classes/java"/>
<path id="classpath">
<fileset dir=".">
<include name="${lib.dir}/*.jar"/>
</fileset>
</path>
<path id="classpath-test">
<pathelement location="${build.dir}/${classes.java}" />
<fileset dir=".">
<include name="${lib.dir}/*.jar"/>
</fileset>
</path>
<target name="build-all-systemmonitoring" depends="clean,compile,sysmonitoringjar" description="Compiles and packages the Jar">
</target>
<target name="build-all-monitoring" depends="clean,compile,monitoringjar" description="Compiles and packages the Jar">
</target>
<target name="clean" description="Removes artifacts from previous builds">
<delete dir="${build.dir}" includeemptydirs="true" />
<delete dir="${jar.dir}" includeemptydirs="true" />
<delete dir="${reports.dir}" includeemptydirs="true" />
</target>
<target name="compile">
<mkdir dir="${build.dir}"/>
<mkdir dir="${build.dir}/${classes.java}"/>
<javac srcdir="${src-common.dir}" destdir="${build.dir}/${classes.java}" classpathref="classpath" debug="true"/>
<javac srcdir="${src.dir}" destdir="${build.dir}/${classes.java}" classpathref="classpath" debug="true"/>
</target>
<target name="sysmonitoringjar" depends="compile">
<mkdir dir="${jar.dir}"/>
<jar destfile="${jar.dir}/explorviz-system-monitoring.jar">
<manifest>
<attribute name="Main-Class" value="slastic.lite.main.Main"/>
<attribute name="Class-Path" value="."/>
</manifest>
<fileset dir="${build.dir}/${classes.java}"/>
<zipfileset excludes="META-INF/*.SF" src="${lib.dir}/disruptor-3.2.0.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${lib.dir}/aspectjweaver-1.7.4.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${lib.dir}/knowledge-api-5.2.0.M2.jar"/>
</jar>
<mkdir dir="${jar.dir}/META-INF"/>
<copy todir="${jar.dir}/META-INF">
<fileset dir="src/META-INF" includes="**"/>
</copy>
</target>
<target name="monitoringjar" depends="compile">
<mkdir dir="${jar.dir}"/>
<jar destfile="${jar.dir}/explorviz-monitoring.jar">
<manifest>
<attribute name="Main-Class" value="slastic.lite.main.Main"/>
<attribute name="Class-Path" value="."/>
</manifest>
<fileset dir="${build.dir}/${classes.java}"/>
<zipfileset excludes="META-INF/*.SF" src="${lib.dir}/disruptor-3.2.0.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${lib.dir}/aspectjweaver-1.7.4.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${lib.dir}/knowledge-api-5.2.0.M2.jar"/>
</jar>
<mkdir dir="${jar.dir}/META-INF"/>
<copy todir="${jar.dir}/META-INF">
<fileset dir="src/META-INF" includes="**"/>
</copy>
</target>
</project>
\ No newline at end of file
<!DOCTYPE aspectj PUBLIC "-//AspectJ//DTD//EN" "http://www.aspectj.org/dtd/aspectj_1_5_0.dtd">
<aspectj>
<weaver options=""> <!-- options="-verbose -showWeaveInfo -Xjoinpoints:synchronization" -->
<include within="*"/>
</weaver>
<aspects>
<concrete-aspect name="kieker.monitoring.probe.aspectj.flow.operationExecutionFlat.TargetedAspect" extends="kieker.monitoring.probe.aspectj.flow.operationExecutionFlat.AbstractAspect">
<pointcut name="monitoredOperation" expression="execution(* testpackage.TestClass*.*(..))" />
</concrete-aspect>
</aspects>
</aspectj>
<!DOCTYPE aspectj PUBLIC "-//AspectJ//DTD//EN" "http://www.aspectj.org/dtd/aspectj_1_5_0.dtd">
<aspectj>
<weaver options="">
<include within="kieker.evaluation.monitoredApplication.MonitoredClass"/>
</weaver>
<aspects>
<concrete-aspect name="explorviz.hpc_monitoring.probe.TargetedAspect" extends="explorviz.hpc_monitoring.probe.AbstractAspect">
<pointcut name="monitoredOperation" expression="execution(* *.*(..))" />
</concrete-aspect>
</aspects>
</aspectj>
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