ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Nemer <>
Subject Ant and Java Forking
Date Mon, 12 Oct 2009 00:24:47 GMT

I'm invoking Ant through Java to run the target (as shown bellow)
"test-javalanche", apparently it doesn't run the target... this target I'm
trying to run also runs with the Java Virtual Machine. So I was wondering if
the fact that I can't run Ant (programmatically) and call this target
(test-javalanche) is because they both use JVM. If it is, does anyone
suggest a solution?

<target name="test-javalanche">
        <mkdir dir="mutation-files/junit-reports"></mkdir>
        <junit dir="." printSummary="yes" fork="true" forkmode="once"
                <path refid="javalanche.classpath.add" />
                <pathelement path="${cp}"></pathelement>

            <jvmarg line="${javalanche.arg.line}" />

            <formatter type="xml"/>
            <formatter usefile="true" type="plain"/>
            <test todir="mutation-files/junit-reports" name="${testsuite}"

David Nemer

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message