> -----Original Message-----
> From: Peter Donald [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 29, 2001 8:46 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: RE: Info about Antidote
>

> Consider the case
>
> <task name="javac" ... >
>   <param name="compiler" value="..." />
>   <param name="classpath">
>     <param name="dir" value="..." />
>   </param>
> </task>
>
> VS
>
> <javac compiler="..." >
>   <classpath dir="..." />
> </javac>
>
> The first is much easier for computers and programmers while the second is
> easier for mere mortals. We discussed the idea of using XSLT to transform
> from approach 2 to approach 1 which was interesting but nothing
> ever really
> happened with it.
>

Thanks for the update. Maybe internally Ant 2.0 could use the more type-safe
approach (the first one), but allow the second scripy-way through such an
XSLT transformation. Then again this may be overly complicated. It will be
interesting 3 years from now if we will regret going one way or another....


sim

Reply via email to