ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: xslt param - file dependancy
Date Thu, 04 Dec 2003 12:07:23 GMT
Params are passed "as-is". No dependency checking here.
Dependency checking is done in <xslt> for:
- sourcefile (in, basedir, includes, ...)
- stylesheet (style)

What you can do is 
- check the dependency for yourself with <uptodate>
- pass the filename if dependency is ok: <param ... if=""/>

Or
- check the dependency for yourself with <uptodate>
- delete the result file before transformation (conditional target,
AntContrib if)


Jan



> -----Original Message-----
> From: NF [mailto:niki@cornerpub.com]
> Sent: Thursday, December 04, 2003 12:06 PM
> To: user@ant.apache.org
> Cc: dev@ant.apache.org
> Subject: xslt param - file dependancy
> 
> 
> hi,
> i'm using xmlt param tag (expression field) to pass a file name to
> transformation engine.
> unfortunately if the file is changed ant doesn't recognize it.
> 
> do i have any option to get xslt-param-espression dependacy working?
> 
> or could someone give a patch for it?
> 
> -- niki
> 
> _____________________________________________
> Free email with personality! Over 200 domains!
> http://www.MyOwnEmail.com
> Looking for friendships,romance and more?
> http://www.MyOwnFriends.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message