Where is the build.xml?  Your command prompt should be working in the
directory where the build.xml file is for ant to find it.  So, after
you unzipped the velocity-tools distribution, go to the root directory
of it and then type the ant command(s).

On 9/25/06, Brenton Strine <[EMAIL PROTECTED]> wrote:
Yes, I've looked through that tutorial, but I can't get
through it.

It says "Build the Velocity Tools jar and the "simple"
example by typing: ant example.simple" and in the readme
file it says "To build the project, start ant in the root
directory of the project: > ant".

However, when I do either of these, all I ever get is
"Buildfile: build.xml does not exist! Build failed".

I'm typing these commands in cmd.exe and I've tried it in
the directory velocity-tools-1.2,
velocity-tools-1.2\examples, and a few other things.

My velocity-tools-1.2 directory is inside the velocity
directory. Is that bad? What's the problem?

Brenton

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Will
Glass-Husain
Sent: Saturday, September 23, 2006 8:37 PM
To: Velocity Users List
Subject: Re: Installing velocity

Have you read the tutorial on webapps I linked to in the
previous email?

Download the subproject "Velocity Tools".  Look for the
tutorial on using ""VelocityViewServlet" and follow that.

WILL

On 9/23/06, Brenton Strine <[EMAIL PROTECTED]>
wrote:
> Perhaps actually, what I mean to ask is what I need to
do to *use*
> Velocity. Because I'm pretty sure I have Velocity
installed. I did the
> whole ant thing, and I also did ant test, and
everything seems fine.
> But if it's installed, then why aren't .vm files
executed as velocity?
> What do I have to do so that I can write some velocity
code and see
> the output?
>
> Brenton
>
> -----Original Message-----
> From: Brenton Strine [mailto:[EMAIL PROTECTED]
> Sent: Saturday, September 23, 2006 5:43 PM
> To: Velocity Users List
> Subject: Installing velocity
>
> I've downloaded the tomcat windows exectutable (5.5.17)
and ran it. It
> seems to have installed perfectly, and furthermore, is
somehow
> integrated with apache!
>
> I have velocity downloaded (not to mention jdk and ant
installed)...
> But I don't know how to install velocity. I assume I've
got everything
> I need. So how do I install Velocity now?
>
> Thanks everyone,
>
> Brenton
>
>
---------------------------------------------------------
> ------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
---------------------------------------------------------
------------
> To unsubscribe, e-mail:
[EMAIL PROTECTED]
> For additional commands, e-mail:
[EMAIL PROTECTED]
>
>


--
Forio Business Simulations

Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com

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

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



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

Reply via email to