I had some problems getting the docs task working when I used Velocity and
Ant separately downloaded and installed as you describe.  I had to go back a
couple versions of Velocity for it to work correctly.

However, if you checkout the jakarta-site2 module from cvs alongside
jakarta-jmeter, it works much more easily.

so, have a directory structure like so:

development/
        |
        jakarta-jmeter
        |
        jakarta-site2
        |
        ...

and then run "build.sh docs".  This works for me, and the results go to
/jakarta-jmeter/docs/....

Hope that makes sense.

-Mike

-----Original Message-----
From: Martin Ramshaw [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 3:14 PM
To: JMeter Developers
Subject: Velocity (Anakia) problem


I'm writing the "Help, my boss want me to ..." section, and have been
wrestling with the conversion from XML to HTML. After downloading
Velocity (would it be worthwhile to include the required documention
jars in CVS?) I found I needed ANT to build Velocity (actually I used
the 'build.sh' script from JMeter first, which probably was sufficient).

So I downloaded and built ANT (worked like a charm; things have
improved greatly since the last time I tried this). Then I rebuilt Velocity
(not as straightforward as ANT), which did not resolve the following:

Is there something wrong with the Velocity setup in JMeter ? When
I run:

        .../jakarta-jmeter/build.sh docs

the generated documentation does not include the non-Velocity
part (i.e. the various boiler-plate is all there, but not the content).

There seems to be a requirement to check out 

        jakarta-site2/xdocs/stylesheets/site.vsl

but this didn't fix the problem. Eventually, I just dropped my XML
into the Velocity /xdocs directory, and generated a Velocity version.
This allows me to view my XML content, but I should really get
everything set up correctly so that I can proof the real JMeter one.

        Thanks for any help


--
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