Changeset 743 for xmlTools/trunk/posUpdate
- Timestamp:
- Mar 26, 2013, 11:39:19 AM (12 years ago)
- Location:
- xmlTools/trunk/posUpdate
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
xmlTools/trunk/posUpdate/Program.cs
r742 r743 11 11 class Program 12 12 { 13 public static readonly string toolsVersion = "0.8 ";13 public static readonly string toolsVersion = "0.8a"; 14 14 15 15 public enum appErrors -
xmlTools/trunk/posUpdate/Util.cs
r742 r743 87 87 { 88 88 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 90 97 91 98 foreach (String file in files) 92 99 { 93 Regex wildcardRegex = new Regex(Util.WildcardToRegex( filewildcard), RegexOptions.IgnoreCase); //case insensitivity100 Regex wildcardRegex = new Regex(Util.WildcardToRegex(wildcard), RegexOptions.IgnoreCase); //case insensitivity 94 101 if (wildcardRegex.IsMatch(Path.GetFileName(file))) 95 102 { -
xmlTools/trunk/posUpdate/xmlTools.csproj.user
r742 r743 2 2 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 3 3 <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> 5 5 </PropertyGroup> 6 6 <PropertyGroup>
Note:
See TracChangeset
for help on using the changeset viewer.