Changeset 868 for xmlTools/trunk


Ignore:
Timestamp:
May 10, 2013, 4:42:11 PM (12 years ago)
Author:
s10k
Message:

XmlTools: 0.8g fixed a bug added by the previous versions in patch files, which made them fail. fixed another bug when putting -filename as last parameter in patch file.

Location:
xmlTools/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • xmlTools/trunk/posUpdate.sln

    r714 r868  
    2828                HideSolutionNode = FALSE
    2929        EndGlobalSection
    30         GlobalSection(Performance) = preSolution
    31                 HasPerformanceSessions = true
    32         EndGlobalSection
    3330        GlobalSection(MonoDevelopProperties) = preSolution
    3431                StartupItem = src\demo\CommandLine.Demo.csproj
  • xmlTools/trunk/posUpdate/Program.cs

    r867 r868  
    1111    class Program
    1212    {
    13         public static readonly string toolsVersion = "0.8f";
     13        public static readonly string toolsVersion = "0.8g";
    1414        private static appErrors lastError = appErrors.NO_ERROR;
    1515
     
    4444                Environment.Exit(1);
    4545            }
    46 
    4746            lastError = error;
    4847        }
  • xmlTools/trunk/posUpdate/XmlPatch.cs

    r867 r868  
    280280            try
    281281            {
    282                 if (forceFiles != null)
     282                if (!String.IsNullOrEmpty(forceFiles))
    283283                {
    284284                    string paramType = "";
     
    306306                        {
    307307                            endIdx = command.IndexOf("\n", startIdx); // or with endline
     308                            if(endIdx==-1){ // Filename parameters is the last one in the file (file ends with this parameter)
     309                                endIdx=command.Length-1;
     310                            }
    308311                        }
    309312                        string currFilename = command.Substring(startIdx, endIdx - startIdx);
  • xmlTools/trunk/posUpdate/xmlTools.csproj.user

    r861 r868  
    22<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    33  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
    4     <StartArguments>updatechainvalues -filename:OBANheli_body_center.xml -newvalue:"20 10 30" -element:Translation -parelement:OBANKeyFrameversions</StartArguments>
    5     <StartWorkingDirectory>C:\games\Oni\AE\Tools</StartWorkingDirectory>
     4    <StartArguments>patchfile -filename:"C:\games\Oni\AE\AEInstaller\packages\05000Unlock_All_Moves\patches\common\level0_Final\TRAMKONCOMbk_fw_kick.oni-patch"</StartArguments>
     5    <StartWorkingDirectory>
     6    </StartWorkingDirectory>
    67  </PropertyGroup>
    78  <PropertyGroup>
Note: See TracChangeset for help on using the changeset viewer.