After reading up regarding licensing a bit more, I'm going to consider
switching to an ASF or BSD license.  Shouldn't matter much right now because
I don't think anyone is planning to redistribute this :)

I'll add something about what goes in the context to the docs.

For those who can't wait, VPP inserts the ant project's properties into the
context with the key of 'ant', so that you can reference your project's
properties in the source:

#if( $ant.anImportantPropertySetInYourBuildScript )
        ...
#end

where anImportantPropertySetInYourBuildScript is exactly what it says.  You
can also get hold of all of your current enviroment variables in your
template if you load them in ant:

<!-- in your build script -->
        <property environment="env"/>

## in the template
#if( $ant.env.anImportantEnvironmentVariable )
        ...
#end

I'm not sure what else you would want or even could put in the context.

didge

> -----Original Message-----
> From: Jon Scott Stevens [mailto:[EMAIL PROTECTED]]
> Sent: Friday, December 20, 2002 5:04 PM
> To: [EMAIL PROTECTED]
> Subject: Re: New Preprocessing tool
>
>
> on 2002/12/20 4:00 PM, "didge" <[EMAIL PROTECTED]> wrote:
>
> > Folks,
> >
> > Ever needed cross platform file preprocessing integrated with Ant?
> >
> > Then please check out VPP, the Velocity Preprocessor, at
> > http://vpp.sourceforge.net.  VPP provides three useful tools
> that integrate
> > Velocity and Ant:
> > * VPPFilter - a FilterReader implementation of Velocity
> > * VPP - an extension of Ant's copy task with an integrated
> VPPFilter, useful
> > as a short cut when all you want to do is preprocess files.
> > * VPPJavac - an extension of Ant's javac task that integrates
> VPPFilter so
> > that all source files are preprocessed before compilation.
> >
> > Enjoy and Happy Holidays!
>
> Great! This shows *exactly* how Velocity is more than just a web tool. One
> thing that isn't clear with your tool documentation is what is
> available in
> the context and how to put objects into the context.
>
> Also, too bad it is LGPL. You should consider a license similar to the ASF
> license.
>
> -jon
>
> --
> StudioZ.tv /\ Bar/Nightclub/Entertainment
> 314 11th Street @ Folsom /\ San Francisco
>         http://studioz.tv/
>
>
> --
> 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]>

Reply via email to