Like org.apache.tools.ant.Dynamic*NS?

-Matt

On Jun 24, 2010, at 2:50 PM, Danny Yates wrote:

> 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?
> 
> Cheers,
> 
> Danny.


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

Reply via email to