Not sure what I did, but I typed the following command:
 
nant -verbose -buildfile:csdpublish.build buildpublisher
 
and received the following error:
 
INTERNAL ERROR
System.UriFormatException: Invalid URI: The format of the URI could not be determined.
   at System.Uri.Parse()
   at System.Uri..ctor(String uriString, Boolean dontEscape)
   at System.Uri..ctor(String uriString)
   at SourceForge.NAnt.Project..ctor(String source)
   at SourceForge.NAnt.NAnt.Main(String[] args)
 
Please send bug report to [EMAIL PROTECTED]
 
 
My build file follows:
 
<?xml version="1.0"?>
<project name="CSDPublish" default="buildall" basedir=".">
 <property name="basename" value="CSD"/>
 <property name="debug" value="true"/>
 
 <target name="clean">
  <delete>
   <fileset>
    <includes name=".\bin\${basename}*.dll" />
   </fileset>
  </delete>
 </target>
 
 <target name="buildpublisher">
  <csc target="library" output=".\bin\${basename}Publisher.dll" debug="${debug}">
   <sources>
    <includes name="${basename}Publisher.cs" />
   </sources>
            <resources>
                <includes name=".\bin\${basename}Document.dll" />
            </resources>
  </csc>
 </target>
 
 <target name="builddocument">
  <csc target="library" output=".\bin\${basename}Document.dll" debug="${debug}">
   <sources>
    <includes name="${basename}Document.cs" />
   </sources>
  </csc>
 </target>
 
 <target name="buildall" depends="builddocument,buildpublisher" />
</project>

Reply via email to