ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Richardson <e...@milagrosoft.com>
Subject Re: style path / classpath problems
Date Mon, 30 Jul 2001 20:58:38 GMT
Hi Stefan,

Thank you very much. I thought perhaps I was missing something. I tried
the in out options with <style> but still had problems with the path for
the xsl file. I'll wait until the next release before switching as I
have it working fine with <java> and I'm translating one file at a time
so the options of <style> don't help much for this project.

Thanks again,
Eric

Stefan Bodewig wrote:
> 
> On Fri, 27 Jul 2001, Eric Richardson <eric.richardson@milagrosoft.com>
> wrote:
> 
> >     <style destdir="${output.dir}"
> >          extension=".html"
> >          style="${xhtml.driver}" >
> >       <include name="${input.dir}/${input.file}"/>
> >     </style>
> 
> Should probably be
> 
>     <style basedir="${input.dir}"
>            destdir="${output.dir}"
>            extension=".html"
>            style="${xhtml.driver}" >
>       <include name="${input.file}"/>
>     </style>
> 
> You also may want to look at the in/out attributes if you only want to
> transform a single file at a time.
> 
> >     Loading stylesheet
> >     /home/maxwell/jdocbook2/docroot/src/example/home/maxwell/jdocbook2/drivers/xhtmldriver.xsl
> 
> should be fixed if you use a recent nightly build.  In Ant 1.3 the
> style attribute has been interpreted as a path relative to the basedir
> attribute, no matter how it looked like.
> 
> > I could use help with how to get the classpath to the style
> > task.
> 
> Again, use a recent nightly build, the <style> task supports custom
> classpath settings now.  We are quite close to a beta release, so
> nightly builds should be reasonably stable at this point.
> 
> Stefan

Mime
View raw message