You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Rademacher Tobias <To...@grob.de> on 2003/01/29 15:21:00 UTC
xdoc:generate-from-pom and xml encoding
Hi Folks,
just a question about this tool. The velocity templates contain no encoding
in xml declaration set.
This works fine if you use English but different languages will fail when
jsl starts to generates the web site.
As far as I see you pass some information from the plugin script to velocity
but I guess you submit only ${pom}.
It would be nice if you could pass maven.docs.outputencoding :-).
BTW do you think that JSL can replace this velocity stuff here?
Thx
Toby
Re: xdoc:generate-from-pom and xml encoding
Posted by Jason van Zyl <ja...@zenplex.com>.
On Wed, 2003-01-29 at 09:21, Rademacher Tobias wrote:
> Hi Folks,
>
> just a question about this tool. The velocity templates contain no encoding
> in xml declaration set.
> This works fine if you use English but different languages will fail when
> jsl starts to generates the web site.
>
> As far as I see you pass some information from the plugin script to velocity
> but I guess you submit only ${pom}.
> It would be nice if you could pass maven.docs.outputencoding :-).
>
> BTW do you think that JSL can replace this velocity stuff here?
No, I love using Velocity for any type of generation. If XML
transformations are needed then JSL is the tool. But whenever it's
straight generation then Velocity will be used.
> Thx
> Toby
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-maven-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-maven-user-help@jakarta.apache.org
--
jvz.
Jason van Zyl
jason@zenplex.com
http://tambora.zenplex.org
In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
-- Jacques Ellul, The Technological Society
RE: xdoc:generate-from-pom and xml encoding
Posted by Alexei Barantsev <ba...@kazbek.ispras.ru>.
> just a question about this tool. The velocity templates
> contain no encoding in xml declaration set. This works fine
> if you use English but different languages will fail when
> jsl starts to generates the web site.
I use it to generate documentation in Russian.
Works fine with maven.docs.outputencoding=UTF-8
> As far as I see you pass some information from the plugin
> script to velocity but I guess you submit only ${pom}. It
> would be nice if you could pass maven.docs.outputencoding :-).
>
> BTW do you think that JSL can replace this velocity stuff here?
>
> Thx
> Toby
>
> ------------------------------------------------------------
> ---------
> To unsubscribe, e-mail:
> turbine-maven-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> turbine-maven-user-help@jakarta.apache.org
>
>
>