Anthony,

The patched ant build file I posted on this list a couple of weeks ago may 
help - this allows Velocity to work on JDK 1.1 by using the Sun Infobus 
collection classes.

Check the list archive to get a copy - I'm sending this mail from another 
machine, so I dont have it with me.

Regards, Andy
----------------------------------------------------------------
Andy Carlson



>From: Anthony Mutiso <[EMAIL PROTECTED]>
>Reply-To: "Velocity Developers List" <[EMAIL PROTECTED]>
>To: Velocity Developers List <[EMAIL PROTECTED]>
>Subject: RE: developing context objects in Java 1.1.8
>Date: Fri, 23 Nov 2001 16:18:57 -0700
>
>Incze,
>
>Let me elaborate further.
>
>The "$mytool.doSometing( [ $arg1, $arg2 ] )" template fragment results in a
>method lookup for a method
>doSomething(ar ArraryList) in what ever class $mytool is connected to. If
>you try to add
>doSomething(ar ArrayList) to your tool class and compile with Java 1.1, you
>get no where.
>
>On Thu, Nov 22, 2001 at 09:51:48AM -0700, Anthony Mutiso wrote:
> > Hi Folks,
> >
> > I am developing a velocity application that is developed in a Java 1.1.8
>environment. The user of the application,
> > (another group), runs the application in a Java2 environment, (of 
>course).
> >
> > Up until presently this has worked fine, until I developed a method that
>accepts velocity "[ $arg1, $arg2 ]" arguments.
> > This results in the method being called with an ArrayList argument and
>ArrayList is not in Java 1.1.8.
> >
> > I was wondering what the opposition is to adding a new collection syntax
>ala "{ $arg1, $arg2}" or "%[ $arg1, $arg2 ]"
> > that resulted in Vector rather then an ArrayList, making 1.1.8 code work
>with Velocity even for collections?
> >
> > The "[ $arg1... ]" notation is the only context issue that is 
>non-portable
>to Java 1.1.8 code, is it not?
> >
> > [Please do not ask why I am hung up on building Java 1.1.8 base context
>code, lets just say I have little choice.]
> >
> > Thanks
> >
> > Anthony
> >
>There is a collections package to the 1.1 java. Why don't you use that?
>
>incze
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


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

Reply via email to