db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren" <m.v.lunte...@gmail.com>
Subject Re: [jira] Commented: (DERBY-2006) Add JUnit and JUnitReport task as a target in Ant script
Date Fri, 03 Nov 2006 01:17:35 GMT
On 11/2/06, Daniel John Debrunner (JIRA) <jira@apache.org> wrote:
>    [ http://issues.apache.org/jira/browse/DERBY-2006?page=comments#action_12446788 ]
>
> Daniel John Debrunner commented on DERBY-2006:
> ----------------------------------------------
>
> Thanks Andrew for setting this up, just ran my first report and it looks good!
>
> I can see how to add other test cases in general but it's not obvious to me how it would
be done for JDK 1.6 tests.
> Is it possible to add jdbc4/AutoloadTest as an example?
>
> > Add JUnit and JUnitReport task as a target in Ant script
> > --------------------------------------------------------
> >
> >                 Key: DERBY-2006
> >                 URL: http://issues.apache.org/jira/browse/DERBY-2006
> >             Project: Derby
> >          Issue Type: Test
> >          Components: Test
> >    Affects Versions: 10.3.0.0
> >         Environment: Any
> >            Reporter: Yip Ng
> >         Assigned To: Andrew McIntyre
> >             Fix For: 10.3.0.0
> >
> >         Attachments: derby_2006_v1.diff, derby_2006_v2.diff, derby_2006_v3.diff,
derby_2006_v4.diff, derby_2006_v5.diff, derby_2006_v6.diff, example_output.zip
> >
> >
> > Ant has an optional tasks called JUnit and JUnitReport that runs JUnit tests and
produces JUnit report respectively.  It will be nice to have these mechanism incorporated
into the Ant script so one can easily kick off a JUnit test and view the result.
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>
I found another irritating problem - this task apparently assumes your
executable is java.exe. At least, I tried to run it with just j9 and
it comes back with:
     java: eval: ant 302: not found
Any suggestions?

Myrna

Mime
View raw message