velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Kong <anthony.k...@ufjia.com>
Subject RE: Running velocity in command line
Date Mon, 31 Mar 2003 08:28:54 GMT
Hi, 

Fist of all, thanks for the fast response. I think you have understood me
perfectly :-) Actually a commandline wrapper is what  i am looking after. 

The link you provided is essentially the files in the examples directory.
However, what I would like beyound this is the ability to initiate
VelocityContext via xml files, much like what an AnaikaTask is doing now.
Therefore, if based on the information provided form the link, how can I
transfer a xml to a context? If I need this feature, is it better off if I
try to work out a command line wrapper over an AnaikaTask?

At the end what I wanna achive is a sql store procedure generator using some
custom-made xml based information.

Since i am new to this project, I may not fully understand the relationships
between these components (vel, anakia, texen...), so any comment/suggestion
are really welcome.

Regards,

Anthony

-----Original Message-----
From: Dave Newton [mailto:dave@solaraccess.com]
Sent: Monday, March 31, 2003 4:08 PM
To: Anthony Kong
Subject: Re: Running velocity in command line


Hi,

Why not just put a command-line wrapper around the Velocity stuff; see 
http://jakarta.apache.org/velocity/developer-guide.html#Using%20Velocity%20I
n%20General%20Applications for the section that tells how to do this.

Unless I'm misunderstanding you, what you want to do is really, really
easy.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message