Changeset 4741

Show
Ignore:
Timestamp:
07/21/08 22:54:32 (4 months ago)
Author:
xmlhacker
Message:

continues if patching the file throws an error

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/nuxleus/Source/CodeSamples/Protobuf_Serialization_Comparison_Test/Protobuf_Serialization_Comparison_Test.build

    r4740 r4741  
    1616  <target name="patch"> 
    1717    <if test="${platform::is-unix()}"> 
    18       <exec program="patch" commandline="-p0 -i ProtoContractAttribute.cs.patch "/> 
     18      <exec program="patch" commandline="-p0 -i ProtoContractAttribute.cs.patch " failonerror="false"/> 
    1919    </if> 
    2020  </target> 
     
    3333    </csc> 
    3434  </target> 
     35 
     36  <!-- This doesn't work quite yet. 
     37  <target name="ProtoBuf.Silverlight" depends="init patch"> 
     38    <property name="nant.settings.currentframework" value="moonlight-2.0" /> 
     39    <csc target="library" output="${build.dir}/${target::get-current-target()}.dll" debug="${not build.release}" optimize="${build.release}" doc="${doc.dir}/${target::get-current-target()}.xml"> 
     40      <sources> 
     41        <include name="${source.dir}/protobuf-net/protobuf-net/**/*.cs"/> 
     42      </sources> 
     43      <references> 
     44        <include name="System.Core.dll"/> 
     45        <include name="System.Runtime.Serialization.dll"/> 
     46        <include name="System.Xml.dll"/> 
     47        <include name="System.Xml.Core.dll"/> 
     48        <include name="System.Xml.Serialization.dll"/> 
     49        <include name="System.ServiceModel.dll"/> 
     50      </references> 
     51    </csc> 
     52  </target> --> 
    3553 
    3654  <target name="ProtoBuf_Serialization_Comparison_Test" depends="init">