I wasn't able to get your zip/zipfileset suggestion to work. What is the process for 
adding an enhancement request?

Rob

-----Original Message-----
From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, September 10, 2002 1:49 AM
To: [EMAIL PROTECTED]
Subject: Re: BatchTest task, filesets and jars


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]>


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

Reply via email to