I am using a modified version of Mike Gold's XSLTTransformer app. to create build files. These files are fine most of the time but after some edits they become unstable and I get the following error- "This is an unexpected token. The expected token is 'NAME'. Line 1, position 2." I have to delete the file and create a new one just to get nant to run on that build file. This is the build file: <project default="debug" name="Columbia.Utils.Common"> <property name="target.type" value="library"> </property> <target name="init" description="Initialize properties for the build"> <tstamp /> <property name="project.FormalName" value="Columbia.Utils.Common" /> <property name="dir.output" value="${output.dir}" /> <property name="dir.lib" value="..\lib" /> <property name="dir.dist" value="..\dist" /> <property name="work.dir" value="${work.basedir}\AppServices\${project.FormalName}"> </property> <mkdir dir="${dir.output}" /> <mkdir dir="${dir.lib}" /> <mkdir dir="${dir.dist}" /> <property name="project.output" value="${project.FormalName}.dll" /> <property name="dist.name" value="${dir.dist}\${project.FormalName}" /> <property name="vbc.optionCompare" value="" /> <property name="vbc.optionExplicit" value="false"> </property> <property name="vbc.optionStrict" value="false"> </property> <property name="rootNamespace" value="Columbia.Utils.Common" /> </target> <target name="Debug" depends="init"> <property name="define" value="DEBUG;TRACE" /> <property name="optimize" value="false" /> <property name="incremental" value="true" /> <property name="unsafe" value="/unsafe-"> </property> <property name="debug" value="true" /> <property name="doc" value="${doc.dir}\" /> <property name="removeintchecks" value="false" /> <call target="compile" /> </target> <target name="Release" depends="init"> <property name="define" value="TRACE" /> <property name="optimize" value="true" /> <property name="incremental" value="false" /> <property name="unsafe" value="/unsafe-"> </property> <property name="debug" value="false" /> <property name="doc" value="${doc.dir}\Columbia.Utils.Common.xml" /> <property name="removeintchecks" value="false" /> <call target="compile" /> </target> <target name="compile" description="Compile project" depends="init"> <assemblyinfo filename="${work.dir}\AssemblyInfo.cs" buildversion="${new.Label}"> </assemblyinfo> <csc target="${target.type}" output="${dir.output}\${project.output}" debug="${debug}" define="${define}" doc="${doc}"> <arg value="${unsafe}"> </arg> <sources> <includes name="${work.dir}\AppMessages.cs" /> <includes name="${work.dir}\AssemblyInfo.cs" /> <includes name="${work.dir}\LocalEventLog.cs" /> <includes name="${work.dir}\StringCrypto.cs" /> <includes name="${work.dir}\StringUtils.cs" /> <includes name="${work.dir}\TableUtils.cs" /> </sources> <references> <includes name="System.dll" /> <includes name="System.Data.dll" /> <includes name="System.Xml.dll" /> <includes name="System.Security.dll" /> </references> </csc> </target> <target name="build" description="Do an incremental build" depends="init,compile,test"> <copy file="${dir.output}\${project.output}" todir="${dir.lib}" /> </target> <target name="test" depends="init,compile"> </target> <target name="clean" depends="init" description="Delete output of a build"> <delete file="${dir.output}\${project.output}" verbose="true" failonerror="false" /> <delete file="${dir.output}\${project.FormalName}.pdb" verbose="true" failonerror="false" /> <delete file="${doc}" verbose="true" failonerror="false" /> </target> </project>
===== Michael Rudge ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users