maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukewpatterson <>
Subject Re: Inline Ant tasks not working - Namespace problem?
Date Mon, 27 Dec 2010 18:35:43 GMT

I was fighting the same issue trying to get eclemma reports integrated via
antrun.  Here's a snippet dump that "works":

      <target xmlns:jacoco="antlib:org.jacoco.ant">
        <taskdef uri="antlib:org.jacoco.ant"
            path="/home/lukewpatterson/Desktop/jacocoant.jar" />
            <file file="jacoco.exec" />
          <structure name="Example Project">
              <fileset dir="target/classes" />
              <fileset dir="target/test-classes" />
            <sourcefiles encoding="UTF-8">
              <fileset dir="src/main/groovy" />
              <fileset dir="src/test/groovy" />
          <html destdir="target/report" />

obviously I don't have my jacocoant.jar properly GAV'd yet, and have too may
hardcoded references, but the important part there is:

"<target xmlns:jacoco="antlib:org.jacoco.ant">"
View this message in context:
Sent from the Maven - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message