Re: What is the difference between a nested element and a nested type?

2005-07-12 Thread Eric Tchepannou
"my.loaderref"/> > > Havent followed the thread deeply, but an idea here. > Would bundling the stuff into an AntLib help with the ClassLoader? > > > > > > > > Jan > > -----

Re: What is the difference between a nested element and a nested type?

2005-06-10 Thread Eric Tchepannou
/05, Peter Reilly <[EMAIL PROTECTED]> wrote: > Eric Tchepannou wrote: > > > Hi Peter, > > > >As my base class is an abstract class, I have no interest to use a > >My hope is to do the following: > > > > Reflect.java -- >

Re: valid characters for target names

2005-06-10 Thread Eric Tchepannou
------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Best Regards, Eric Tchepannou - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Launching ant programatically from a Servlet Application...

2005-06-10 Thread Eric Tchepannou
. -- Best Regards, Eric Tchepannou - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Fwd: Launching ant programatically from a Servlet Application...

2005-06-10 Thread Eric Tchepannou
I checked in the list's archives and it appears this post has not been delivered in my first attempt to post it, so I send it again. my apologies for the inconvenience caused, if you receive it twice. Eric -- Forwarded message -- From: Eric Tchepannou <[EMAIL PROTECTED]>

Re: What is the difference between a nested element and a nested type?

2005-06-09 Thread Eric Tchepannou
On 6/9/05, Peter Reilly <[EMAIL PROTECTED]> wrote: > Antoine Levy-Lambert wrote: > > >>--- Ursprüngliche Nachricht --- > >>Von: Eric Tchepannou <[EMAIL PROTECTED]> > >>An: user@ant.apache.org > >>Betreff: Re: What is the difference between a n

Re: What is the difference between a nested element and a nested type?

2005-06-09 Thread Eric Tchepannou
On 6/9/05, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: > > --- Ursprüngliche Nachricht --- > > Von: Eric Tchepannou <[EMAIL PROTECTED]> > > An: user@ant.apache.org > > Betreff: Re: What is the difference between a nested element and a nested > > type?

Re: What is the difference between a nested element and a nested type?

2005-06-09 Thread Eric Tchepannou
nvocation, ant will call add(MyTypeBase c). > Not sure though if the syntax public void add(MyTypeBase c) is supported by > Ant 1.5 > > What works in Ant 1.5 is > > public void addSomething(MyTypeBase c) > > which will then instantiate MyTypeBase if you nest > > and

Re: type not supported by task?

2005-06-09 Thread Eric Tchepannou
spath="classes" /> > classpath="classes"/> > > > > > > > > -- Task.java -- > > package my; > > public class Task extends org.apache.tools.ant.Task { > public void a

Re: type not supported by task?

2005-06-09 Thread Eric Tchepannou
I have checked http://www.oracle.com/technology/pub/articles/bodewig_taskwriters.html I think I should rather use addMyBaseType(MyBaseType t) instead of addConfigured(...) ? Could it be that this new syntax is now only valid with Ant 1.6 + ? On 6/9/05, Eric Tchepannou <[EMAIL PROTECTED]>

Re: type not supported by task?

2005-06-09 Thread Eric Tchepannou
Beyond that I do wonder why you need > to cast your subtypes... OO would dictate that you > call a designated method and they would simply behave > accordingly, but whatever floats your boat I suppose. > > HTH, > Matt > > --- Eric Tchepannou <[EMAIL PROTECTED]> wro

What is the difference between a nested element and a nested type?

2005-06-09 Thread Eric Tchepannou
and not an element, because with an element, I would have to write for each concrete type the corresponding createXXX() method. -- Best Regards, Eric Tchepannou - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

type not supported by task?

2005-06-08 Thread Eric Tchepannou
(TypeSubclass o)? ...or do you think the the problem somewhere else? My next step will be to test this, but as this might be a time consuming typing job, I thought I could count on your previous experiences. Many thanks for your contributions. -- Best Regards, Eric Tchepannou