## In replies all text above this line is added to the ticket ##

Request received: Re: Inline Ant tasks not working - Namespace problem? (ticket 
#21965)

Your request (#21965) has been received, and is being reviewed by our support 
staff. 

To review the status of the request and add additional comments, follow the 
link below:
http://support.boxee.tv/tickets/21965

----------------------------------------------
Maven Users List, Dec-27 01:36 pm (EST):

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


<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<executions>
  <execution>
    <phase>test</phase>
    <configuration>
      <target xmlns:jacoco="antlib:org.jacoco.ant">
        <taskdef uri="antlib:org.jacoco.ant"
resource="org/jacoco/ant/antlib.xml">
          <classpath
            path="/home/lukewpatterson/Desktop/jacocoant.jar" />
        </taskdef>
        <jacoco:report>
          <executiondata>
            <file file="jacoco.exec" />
          </executiondata>
          <structure name="Example Project">
            <classfiles>
              <fileset dir="target/classes" />
              <fileset dir="target/test-classes" />
            </classfiles>
            <sourcefiles encoding="UTF-8">
              <fileset dir="src/main/groovy" />
              <fileset dir="src/test/groovy" />
            </sourcefiles>
          </structure>
          <html destdir="target/report" />
        </jacoco:report>
      </target>
    </configuration>
    <goals>
      <goal>run</goal>
    </goals>
  </execution>
</executions>
</plugin>

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: 
http://maven.40175.n5.nabble.com/Inline-Ant-tasks-not-working-Namespace-problem-tp3246437p3319602.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



--------------------------------
This email is a service from Boxee Support

Reply via email to