On Wed, 29 Oct 2008, Matt Benson <[EMAIL PROTECTED]> wrote:

> I am thinking a less invasive approach would be:

Sounds good to me.

> 1.  Allow arbitrary properties of a Target object to
> be set using IntrospectionHelper.
> 2.  Delegate Target instantiation to Project.

Why?

I have a toy project that I hope to be pushing into the sandbox sooner
or later which contains a custom ProjectHelper.  It heavly relies on
the ProjectHelper to be able to create its own subclass of target.

> 3.  Define an ant.project.class magic property to
> easily allow the user to specify an extended Project
> class to use.
> 4.  EasyAnt has its own Project, Target, and Executor
> implementations that know about phases.

If EasyAnt used a ProjectHelper of its own, it probably could get away
without a custom Project.  A custom Executor may be a good idea,
though.

EasyAnt would need its own wrapper script or an invocation would
become cumbersome, though.

Stefan

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

Reply via email to