Changeset 743


Ignore:
Timestamp:
Mar 26, 2013, 11:39:19 AM (12 years ago)
Author:
s10k
Message:

0.8a

Location:
xmlTools/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • xmlTools/trunk/posUpdate/Program.cs

    r742 r743  
    1111    class Program
    1212    {
    13         public static readonly string toolsVersion = "0.8";
     13        public static readonly string toolsVersion = "0.8a";
    1414
    1515        public enum appErrors
  • xmlTools/trunk/posUpdate/Util.cs

    r742 r743  
    8787        {
    8888            List<String> xmlFiles = new List<String>();
    89             String[] files = System.IO.Directory.GetFiles(getExePath()); //Get all files in executable directory
     89
     90            String dir = Path.GetDirectoryName(filewildcard); // Get the specified directory
     91            if (dir == "")
     92            {
     93                dir = Util.getExePath();
     94            }
     95            String wildcard = Path.GetFileName(filewildcard); // Get files/wildcard
     96            String[] files = System.IO.Directory.GetFiles(dir); //Get all files in specified directory
    9097
    9198            foreach (String file in files)
    9299            {
    93                 Regex wildcardRegex = new Regex(Util.WildcardToRegex(filewildcard), RegexOptions.IgnoreCase); //case insensitivity
     100                Regex wildcardRegex = new Regex(Util.WildcardToRegex(wildcard), RegexOptions.IgnoreCase); //case insensitivity
    94101                if (wildcardRegex.IsMatch(Path.GetFileName(file)))
    95102                {
  • xmlTools/trunk/posUpdate/xmlTools.csproj.user

    r742 r743  
    22<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    33  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
    4     <StartArguments>replaceall -element:FirstLevel -value:0 -nobackups -filename:"C:\Users\home\Documents\Visual Studio 2012\Projects\posUpdate\posUpdate\bin\Debug\%2a.xml"</StartArguments>
     4    <StartArguments>replaceall -element:FirstLevel -value:0 -nobackups -filename:C:\Users\home\AppData\Local\Temp\oni_aei\installrun_temp-2013_03_26-01_55_52\level0_final\xml\%2a.xml</StartArguments>
    55  </PropertyGroup>
    66  <PropertyGroup>
Note: See TracChangeset for help on using the changeset viewer.