On Tue, 8 Aug 2006, Ben <[EMAIL PROTECTED]> wrote:
> On 8/8/06, Stefan Bodewig <[EMAIL PROTECTED]> wrote:
>
>> So technically modifying the java task to allow your subclass to
>> control the CommandlineJava instance that's being used (in the same
>> way the JUnit task does) should work.  Correct?
>>
>
> Looks not that easy. JUnit task exclusively uses getCommandLine()
> method to get the CommandlineJava object, which gives me an
> extension point (well, based upon the impl detail though).
> 
> Java task uses "cmdl" variable directly, there's no way I can sneak
> anything in there. So, I'm still stuck. :-<

Note that I talked about modifying the Java task.  It would be doable
(and in fact I'll just do it in a few minutes) to modify the task so
that it behaves the same way as the JUnit task does WRT the
CommandlineJava instance.  I was just checking whether this would be
enough for the extensions you have in mind.

Stefan

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

Reply via email to