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=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to