ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Glick <>
Subject Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs
Date Mon, 12 Mar 2001 14:36:04 GMT
Stefan Bodewig wrote:
> Jesse Glick <> wrote:
> > (it's build-script-incompatible though, isn't it?)
> Is it?
> The old implementation would assume that the stylesheet is always
> relative to the project's basedir - this still is the case, except
> when the stylesheet specified happens to be an absolute file name.

Fine if so--but I thought that the old implementation resolved the style file
relative to the *task*'s basedir (which need not be related to the project's
basedir). E.g.:

<project basedir=".">
  <style basedir="xmlfiles" style="foo.xsl">
    <include name="*.xml"/>

I think it loaded xmlfiles/foo.xsl. Which was extremely counterintuitive, but
now you would have to write:

<project basedir=".">
  <style basedir="xmlfiles" style="xmlfiles/foo.xsl">
    <include name="*.xml"/>

Am I confused?


Jesse Glick   <>
NetBeans, Open APIs  <>
tel (+4202) 3300-9161 Sun Micro x49161 Praha CR

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message