--- Stefan Bodewig <[EMAIL PROTECTED]> wrote:

> On Wed, 2 Nov 2005, Matt Benson
> <[EMAIL PROTECTED]> wrote:
> > --- Stefan Bodewig <[EMAIL PROTECTED]> wrote:
> 
> >> Hmm, I'd prefer (ab?)using PropertyHelpers for
> this
> >> instead of adding
> >> new helpers.
> >> 
> >> <copy resource="${resource:url:someurl}"/> or
> >> something similar.
> > 
> > Hmm... this appears doable... it will require that
> the
> > properties be resolved by IntrospectionHelper
> instead
> > of RuntimeConfigurable though, which could require
> the
> > usual backwards-compatibility acrobatics.
> 
> Do we really need to resolve that in
> IntrospectionHelper?  Why?

What's the alternative?  setResource(String) (after
which every implementor has to call resolution code)? 
How else other than monkeying with IH can we keep our
API pretty and still get the Resources resolved?

[SNIP]
> 
> >> You have no idea what type of odd ideas I have
> for resource
> >> collections 8-)
> > 
> > Please, go ahead.  Scare me!
> 
> Something I've been meaning to propose for two years
> but never had the
> time to fully think through.  Allow each task to
> take input in form of
> a ResourceCollection and to declare its output as a
> ResourceCollection
> as well.
> 
> Using this, provide a <pipe> task that chains the
> output of task n to
> the input of task n+1, something like
> 
> <pipe>
>   <javac .../>
>   <jar .../>
> </pipe>
> 
> where jar would update an archive with the output of
> the javac task
> (no idea whether this is useful).
> 
> More interesting, make targets have input and output
> - the input is
> passed to the first task, the output provided by the
> last task in the
> target.  Extend this to a whole project as well.
> 
> With this, <ant buildfile="projectA.xml"/> would
> provide the build
> artifacts of projectA as outputs.  Let's say
> projectA creates a jar
> that my current project depends on, then I can add
> the <ant> task's
> output to a path to use it in <classpath> settings,
> or I can copy it
> around.
> 
> My main goal here is to make projects less strongly
> coupled, I only
> need to know that I need the jar created by
> projectA, I don't need to
> know where it ends up or how it is called.

pipes...! did I mention that I had pipes working using
<redirector> but windows JDKs had some threading issue
so that my pipes worked on Unix systems but deadlocked
on Windows all the time?  I'm still mad about that...
>:(

-Matt

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



                
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

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

Reply via email to