Corrected code to delete INF files. These contain invalid Index paths
Added TextBox and Property to Skip Procedures and speed-up debugging Added TextBox and Property to Skip Processing Procedures and speed-up debugging Removed duplicate entry Added Code to Skip Processing Procedures and speed-up debugging Changed code to use entire (16 Character) ROID to get the Multiple Return Values
This commit is contained in:
@@ -43,8 +43,7 @@ namespace DataLoader
|
||||
{
|
||||
// JSJ 02/10/2010 - Remove all the .INF files before proceeding to convert.
|
||||
// The INF files contain a path to a corresponding NDX file - had data with bat NDX path
|
||||
if (File.Exists(pth + @"\*.inf"))
|
||||
File.Delete(pth + @"\*.inf");
|
||||
DeleteINFFiles(pth);
|
||||
_OutTran = new OutsideTransition(cn);
|
||||
MigrateROFST(pth, docver);
|
||||
// Migrate library documents
|
||||
@@ -90,6 +89,13 @@ namespace DataLoader
|
||||
}
|
||||
return TimeSpan.FromTicks(lTime);
|
||||
}
|
||||
private void DeleteINFFiles(string pth)
|
||||
{
|
||||
DirectoryInfo di = new DirectoryInfo(pth);
|
||||
FileInfo [] myFiles = di.GetFiles("*.INF");
|
||||
foreach (FileInfo myFile in myFiles)
|
||||
myFile.Delete();
|
||||
}
|
||||
private VEPROMS.CSLA.Library.VersionTypeEnum DocVersionType(string s)
|
||||
{
|
||||
if (s.EndsWith("approved")) return VEPROMS.CSLA.Library.VersionTypeEnum.Approved;
|
||||
|
Reference in New Issue
Block a user