ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Danny Yates <>
Subject [Proposal] Capture attributes in unknown namespaces
Date Thu, 24 Jun 2010 19:50:13 GMT
Hi guys,

Me again!

I have some more functionality that I'm interested in, but I fear it may be
quite specific to my requirements, so I thought I'd run it past you all
before getting to work on it.

I'm developing a custom executor which can execute targets in parallel, and
as an extension of that, it would be kind of cool to be able to mark
individual targets as CPU-bound or IO-bound so that the executor can be a
bit smarter about scheduling them. However, I can't find any sensible way to
communicate this information to the executor.

What would be kind of cool would be that if the parser encounters attributes
in a namespace that it doesn't recognise, then instead of ignoring them (as
it does now), it records them and makes them available through an API on the
Project and Target objects. This would allow the executor to inspect them.

I realise this is very specific to my parallel executor project, but I think
adding it would be a non-breaking change that wouldn't have any impact on
existing consumers of the API.

What do you folks think?



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message