Hi Gert, Thanks for that.
It seems that it is relative to the included build file (the one that has the target which runs the style task), and not the build file that includes this, i.e., not the directory in which I am running the build. Is this correct? Nick. -----Original Message----- From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: Thursday, 18 March 2004 6:36 PM To: Zigomanis, Nick; [EMAIL PROTECTED] Subject: Re: [Nant-users] Question about style task in latest nightly build Hi Nick, The basedir attribute in indeed no longer supported, you should specify the path to the the source/stylesheet/output file in the attributes themselves. All non rooted paths are indeed considered to be relative to the project (build file). Gert ----- Original Message ----- From: "Zigomanis, Nick" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 18, 2004 7:38 AM Subject: [Nant-users] Question about style task in latest nightly build Hi all, In 0.84, the style task had a basedir attribute which specified where to find a XML file. It seems that in 0.85, support for basedir no longer exists. All my style tasks (a few) no longer work. It seems that the source xml file is being searched for in the directory where my build file (this is an included file) and/or stylesheet is. My target looks something like this (basedir has been removed): <target name="generatefile"> <style style="${stylesheet}" in="${file.src}" out="${file.dest}" destdir="${dir.dest}"> </style> </target> It's running from a directory that looks something like: L:\Ais\Subsystems\Configuration\Subsystems\ComponentCatalogue\Source and I get the error: Unable to find source XML file 'L:\vob010\nBuild\lib\Ais.Configuration.Component.Catalogue.xml L:\vob010\nBuild\lib is the directory which contains the stylesheet and the included build file, which has the target above in it. I've tried changing the "in" attribute to include the directory (ie, effectively ${basedir}/${file.src}, but still the same error. What am I missing here? Nick. Sorry for the rush, hope it makes sense. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=ick _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users