User implementations of custom interfaces can have access to Task instance?

2018-03-12 Thread Jaikiran Pai
I'm looking for some suggestion on whether it's a good/bad idea to 
expose a method to custom user defined classes which takes a "Task" 
object. This is in context of the JUnitLauncher task that I recently 
added. It allows custom report formatters/listeners to be implemented 
and the expectation is that such classes will implement the 
TestResultFormatter interface that is (newly) part of Ant. This 
interface exposes:


void setTask(Task currentExecutingTask)

so the implementations of this class have access to the current task 
that's running. Right now, the only reason I exposed that Task instance 
was to allow such implementation to issue log messages from within the 
implementation like:


task.getProject().log(, level);

I have been looking into other such cases where we allow custom 
implementations and documentation, but haven't found a guideline or 
anything that says whether it's good idea to give access to the Task 
instance to such custom implementations.


For now, I would like to avoid it if possible (logging is the only 
reason I use this instance for now). However, if there are no real 
concerns of letting custom implementations of the interface have access 
to this, then I will just go ahead and expose it without worrying about it.


P.S: I realize in fork mode, the Task instance won't be available and 
I'll be taking that into account, but this question is more a general 
guideline I'm looking for.


-Jaikiran




-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



[GitHub] ant-ivy issue #61: Use japicmp to check binary compatibility

2018-03-12 Thread twogee
Github user twogee commented on the issue:

https://github.com/apache/ant-ivy/pull/61
  
japicmp 0.11.1 is out...


---

-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



Re: When is Ant 1.10.3 release expected?

2018-03-12 Thread Stefan Bodewig
On 2018-03-12, Sarika Sinha wrote:

> After 1.10.2 release and the regression bug, do we see 1.10.3 getting
> released early?

Whatever early means :-)

https://lists.apache.org/thread.html/169de63328f60269e88a37446f27549733f9f57e8de6778276c581a1@%3Cdev.ant.apache.org%3E

We informally decided to cut two new releases (1.10.3 and 1.9.11)
soon. To me it looks we are currently waiting for the initial JUnit5
support to get merged. No firm date for the release but it could happen
within a few days/weeks.

Stefan

-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



When is Ant 1.10.3 release expected?

2018-03-12 Thread Sarika Sinha

Hi,
After 1.10.2 release and the regression bug, do we see 1.10.3 getting
released early?

This information is required for adopting the new Ant version to Eclipse
IDE.

Thanks & Regards,
Sarika
Eclipse Developer and JDT Lead