update shell script with javaagent
<arg value="${build.dir}/conf"/>
</exec>
+ // TODO put IF statement and only add if datadog is present
+ <exec executable="sed">
+ <arg value="-i"/>
+ <arg value="s/JAVA_OPTS/JAVA_OPTS -javaagent:build.dir\/monitor\/dd-java-agent.jar -Ddd.agent.host=${CELLBASE.MONITOR.AGENT} -Ddd.agent.port=${CELLBASE.MONITOR.PORT} /"/>
+ <arg value="${project.basedir}/target/appassembler/bin/cellbase-admin.sh"/>
+ </exec>
+
<echo>Copying to ${build.dir}</echo>
<exec executable="cp">
<arg value="-r"/>
