You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ki...@apache.org on 2018/12/11 07:29:28 UTC

svn commit: r1848655 - /poi/trunk/build.xml

Author: kiwiwings
Date: Tue Dec 11 07:29:28 2018
New Revision: 1848655

URL: http://svn.apache.org/viewvc?rev=1848655&view=rev
Log:
add ooxml lite agent again ...

Modified:
    poi/trunk/build.xml

Modified: poi/trunk/build.xml
URL: http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=1848655&r1=1848654&r2=1848655&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Tue Dec 11 07:29:28 2018
@@ -1192,6 +1192,9 @@ under the License.
                 project.setProperty("no.jit.sherlock", before.trim().replace(/ *(\S+) */g,"exclude={$1}").replace(/\s/g,","));
             </script>
 
+            <local name="ooxml.lite.agent.exists"/>
+            <available property="ooxml.lite.agent.exists" file="${ooxml.lite.agent}"/>
+
             <jacoco:coverage enabled="${coverage.enabled}" excludes="${coverage.excludes}" destfile="@{jacocodest}">
                 <junit printsummary="yes" fork="yes" forkmode="once" haltonfailure="${halt.on.test.failure}"
                        failureproperty="@{failureproperty}" showoutput="@{showoutput}">
@@ -1209,6 +1212,9 @@ under the License.
                     <jvmarg value="${java9addopens4}" if:set="${java9addopens4}" />
                     <jvmarg value="${java9addopens5}" if:set="${java9addopens5}" />
                     <jvmarg value="${java9addopens6}" if:set="${java9addopens6}" />
+
+                    <jvmarg value="-javaagent:${ooxml.lite.agent}=${ooxml.lite.report}|${ooxml.lite.includes}" if:true="${ooxml.lite.agent.exists}"/>
+
                     <!-- jvmarg value="-Duser.timezone=UTC"/ -->
                     <jvmarg value="${file.leak.detector}" />
                     <jvmarg value="-Xjit:verbose={compileStart|compileEnd},vlog=build/jit.log,${no.jit.sherlock}" if:true="${isIBMVM}"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org