Re: SVN Not building?

Cory Foy <[email protected]> Wed, 27 Aug 2008 23:29:09 -0400
Newsgroups gmane.comp.windows.dotnet.nunit.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------090403000501050309080203
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Ok, found it. ITestCaseData isn't listed in the nunit.framework.build 
file. The updated file is attached.

Got all the way to PNUnit this time. I'm going to keep playing with 
this. I'm building it on OSX with the latest Mono version. Should be fun. ;)

Cory

Cory Foy wrote:
> Hi All,
> 
> Just checked out the latest version of NUnit from SVN. I'm seeing the 
> following. This was with an "nant build-all". Looks like ITestCaseData 
> was added on 8/16?
> 
> build:
> 
>       [echo] *
>       [echo] * Starting mono-1.0 debug build
>       [echo] *
>       [nant] 
> /Users/foyc/Workspace/nunit/nunit20/src/NUnitFramework/framework/nunit.framework.build 
> build
>              Buildfile: 
> file:///Users/foyc/Workspace/nunit/nunit20/src/NUnitFramework/framework/nunit.framework.build
>              Target framework: Mono 1.0 Profile
>              Target(s) specified: build
> 
> 
>              build:
> 
>                    [csc] Compiling 70 files to 
> '/Users/foyc/Workspace/nunit/nunit20/build/mono/1.0/debug/lib/nunit.framework.dll'.
>                    [csc] 
> /Users/foyc/Workspace/nunit/nunit20/src/NUnitFramework/framework/TestCaseAttribute.cs(15,49): 
> error CS0246: The type or namespace name `ITestCaseData' could not be 
> found. Are you missing a using directive or an assembly reference?
>                    [csc] 
> /Users/foyc/Workspace/nunit/nunit20/src/NUnitFramework/framework/TestCaseData.cs(14,33): 
> error CS0246: The type or namespace name `ITestCaseData' could not be 
> found. Are you missing a using directive or an assembly reference?
>                    [csc] Compilation failed: 2 error(s), 0 warnings
> 
>              BUILD FAILED - 0 non-fatal error(s), 2 warning(s)
> 
>  
> /Users/foyc/Workspace/nunit/nunit20/src/NUnitFramework/framework/nunit.framework.build(78,6):
>              External Program Failed: 
> /Library/Frameworks/Mono.framework/Versions/1.9.1/lib/mono/1.0/mcs.exe 
> (return code was 1)
> 
>              Total time: 0.6 seconds.
> 
> 
> BUILD FAILED
> 
> 

-- 
Cory Foy
http://www.cornetdesign.com
http://www.agileflorida.com

--------------090403000501050309080203
Content-Type: text/xml; x-mac-type="0"; x-mac-creator="0";
	name="nunit.framework.build"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="nunit.framework.build"

<?xml version="1.0"?>
<project name="NUnitFramework" default="build" basedir=".">

  <patternset id="source-files">
        <include name="Constraints/BinaryOperations.cs"/>
        <include name="Constraints/CollectionConstraints.cs"/>
        <include name="Constraints/ComparisonConstraints.cs"/>
        <include name="Constraints/Constraint.cs"/>
        <include name="Constraints/ConstraintBuilder.cs"/>
        <include name="Constraints/ConstraintFactory.cs"/>
        <include name="Constraints/ConstraintModifier.cs"/>
        <include name="Constraints/ConstraintOperators.cs"/>
        <include name="Constraints/ContainsConstraint.cs"/>
        <include name="Constraints/DirectoryConstraints.cs"/>
        <include name="Constraints/EmptyConstraint.cs"/>
        <include name="Constraints/EqualConstraint.cs"/>
        <include name="Constraints/IConstraint.cs"/>
        <include name="Constraints/MessageWriter.cs"/>
        <include name="Constraints/MsgUtils.cs"/>
        <include name="Constraints/Numerics.cs"/>
        <include name="Constraints/PathConstraints.cs"/>
        <include name="Constraints/PrefixConstraints.cs"/>
        <include name="Constraints/PropertyConstraint.cs"/>
        <include name="Constraints/RangeConstraint.cs"/>
        <include name="Constraints/SameAsConstraint.cs"/>
        <include name="Constraints/StringConstraints.cs"/>
        <include name="Constraints/ThrowsConstraint.cs"/>
        <include name="Constraints/TypeConstraints.cs"/>
        <include name="AssemblyInfo.cs"/>
        <include name="Assert.cs"/>
        <include name="AssertionException.cs"/>
        <include name="AssertionHelper.cs"/>
        <include name="CategoryAttribute.cs"/>
        <include name="Catch.cs"/>
        <include name="CollectionAssert.cs"/>
        <include name="DataSourceAttribute.cs"/>
        <include name="DescriptionAttribute.cs"/>
        <include name="DirectoryAssert.cs"/>
        <include name="ExpectedExceptionAttribute.cs"/>
        <include name="ExplicitAttribute.cs"/>
        <include name="FactoriesAttribute.cs"/>
        <include name="FileAssert.cs"/>
        <include name="GlobalSettings.cs"/>
        <include name="Has.cs"/>
        <include name="IExpectException.cs"/>
        <include name="IgnoreAttribute.cs"/>
        <include name="IgnoreException.cs"/>
        <include name="IncludeExcludeAttributes.cs"/>
        <include name="InconclusiveException.cs"/>
        <include name="Is.cs"/>
	<include name="ITestCaseData.cs"/>
        <include name="JoinTypeAttributes.cs"/>
        <include name="List.cs"/>
        <include name="ListMapper.cs"/>
        <include name="PropertyAttribute.cs"/>
        <include name="RandomAttribute.cs"/>
        <include name="RangeAttribute.cs"/>
        <include name="RequiredAddinAttribute.cs"/>
        <include name="SetCultureAttribute.cs"/>
        <include name="SetUpAttribute.cs"/>
        <include name="SetUpFixtureAttribute.cs"/>
        <include name="StringAssert.cs"/>
        <include name="SuccessException.cs"/>
        <include name="SuiteAttribute.cs"/>
        <include name="TearDownAttribute.cs"/>
        <include name="TestAttribute.cs"/>
        <include name="TestCaseAttribute.cs"/>
        <include name="TestCaseData.cs"/>
        <include name="TestFixtureAttribute.cs"/>
        <include name="TestFixtureSetUpAttribute.cs"/>
        <include name="TestFixtureTearDownAttribute.cs"/>
        <include name="Text.cs"/>
        <include name="TextMessageWriter.cs"/>
        <include name="Throws.cs"/>
        <include name="ValuesAttribute.cs"/>
  </patternset>

  <target name="build">
    <csc target="library"
        output="${current.lib.dir}/nunit.framework.dll"
        doc="${current.lib.dir}/nunit.framework.xml"
        debug="${build.debug}" 
        define="${build.defines}">
      <nowarn>
        <warning number="618,672"/>
        <warning number="1699" if="${runtime.version=='2.0'}"/>
      </nowarn>
      <sources basedir=".">
        <patternset refid="source-files"/>
        <include name="../../GeneratedAssemblyInfo.cs" />
      </sources>
    </csc>

    <!-- Needed locally by some NUnit tests -->
    <copy file="${current.lib.dir}/nunit.framework.dll"
      todir="${current.test.dir}"/>
  </target>

  <target name="package">
    <copy todir="${package.src.dir}/NUnitFramework/framework">
      <fileset>
        <patternset refid="source-files"/>
        <include name="nunit.framework.build"/>
      </fileset>
    </copy>
  </target>

</project>

--------------090403000501050309080203
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
--------------090403000501050309080203
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
nunit-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nunit-developer

--------------090403000501050309080203--