On Mon, 9 Sep 2002, Robert Girardin <[EMAIL PROTECTED]> wrote:

> Is it possible to run test classes that are inside a jar file using
> the 'batchtest' task?

I don't think so, want to add an enhancement request?

Maybe something like this works:

<target name="dummy-used-to-set-up-id">
  <zip destfile="foo">
    <zipfileset id="my-tests" src="path/to/my/tests.jar"/>
  </zip>
</target>

<target name="junit">
  <junit ...>
    <batchtest ...>
      <fileset refid="my-tests"/>
    </batchtest>
  </junit>
</target>

But I haven't tested it.

Stefan

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to