I'm trying to centralise some of my build rules using entity declarations
and including within a Nant build file.  Something like:

<!DOCTYPE project [
<!ENTITY common-build-rules SYSTEM "file:build\common-build-rules.xml">]>

and then including the entity declaration within the project section:

<project name="whatever" default="help" basedir=".">
  
  &common-build-rules;


I receive:

INTERNAL ERROR
System.NullReferenceException: Object reference not set to an instance of an
object.
   at SourceForge.NAnt.LocationMap.GetXPathFromNode(XmlNode node)
   at SourceForge.NAnt.LocationMap.GetLocation(XmlNode node)
   at SourceForge.NAnt.TaskFactory.CreateTask(XmlNode taskNode, Project
proj)
   at SourceForge.NAnt.Project.InitializeProjectDocument(XmlDocument doc)
   at SourceForge.NAnt.Project.Execute()
   at SourceForge.NAnt.Project.Run()
Please send bug report to [EMAIL PROTECTED]
Try 'nant -help' for more information


Anyone else experienced problems with this?



Darren



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to