RE: [Nant-users] using document function in Nant

2002-10-31 Thread Scott Hernandez
A quick (2 minute) look at the XSLTProcess.java file (implementation for style/XSLT task) doesn't answer this question. However, reading through the Ant style docs does indicate that there probably should be support provided for direct param passing into the NAnt style task. It would work somethi

RE: [Nant-users] using document function in Nant

2002-10-31 Thread Scott Hernandez
Yeah, that feature is just not supported by the style task. It would require supplying all the NAnt properties as XSL transformation parameters or something like that. The other option would be to do something like a filter on the input XSL and do substitution. I'll look into the Ant style task t

RE: [Nant-users] using document function in Nant

2002-10-31 Thread QChang
Just to clarify, I am using the style task in the build. The style attribute of the style task is the xsl file which includes the document function. For example, I have the following line in my build. and the next line is in contents.xsl. Thanks a lot. Regards, Qing Chang

RE: [Nant-users] using document function in Nant

2002-10-31 Thread Scott Hernandez
Is this something you are trying to do with a style task (I assume so based on your previous posts)? Or are you doing something to the build file? Please clarify what you are trying to do so we can better help you. > -Original Message- > From: [EMAIL PROTECTED] [mailto:nant-users- > [EMAI

[Nant-users] using document function in Nant

2002-10-31 Thread QChang
Hi, I want to use the document function as the following line. It works with Ant, but does not with Nant. I tried relative and absolute paths with the file name with no luck. Does anyone know how to make it work with Nant? Thanks a lot. (file and name are two predefined variables) Regards, Qing

Re: [Nant-users] Environment

2002-10-31 Thread Ian MacLean
Sounds like a good idea for new task. Unfortunately the .Net framework has no facilites for setting env vars ( believe it or not ) so this would have to use PInvoke or managed C++. Ian -Original Message- From: [EMAIL PROTECTED] [mailto:nant-users-admin@;lists.sourceforge.net]On Beh

RE: [Nant-users] Environment

2002-10-31 Thread Patrick Näf
> What about embedding the external program call in a batch file > and start the > batch file with the setting of the environment variables? I thought of it myself but would have preferred an attribute to the exec task (or any other method built in to nant) so I wouldn't have to "pollute" the pro