public override void SyncOut (IProgressMonitor monitor, XcodeSyncContext context) { monitor.Log.WriteLine ("Exporting Objective-C source code for the {0} class to Xcode.", Type.CliName); Type.GenerateObjcType (context.ProjectDir, Frameworks); DateTime mtime = File.GetLastWriteTime (GetObjCHeaderPath (context)); context.SetSyncTime (Type.ObjCName + ".h", mtime); }
public override void SyncOut(IProgressMonitor monitor, XcodeSyncContext context) { monitor.Log.WriteLine("Exporting Objective-C source code for the {0} class to Xcode.", Type.CliName); Type.GenerateObjcType(context.ProjectDir, Frameworks); DateTime mtime = File.GetLastWriteTime(GetObjCHeaderPath(context)); context.SetSyncTime(Type.ObjCName + ".h", mtime); }
public override void SyncOut (IProgressMonitor monitor, XcodeSyncContext context) { monitor.Log.WriteLine ("Exporting '{0}' to Xcode.", targetRelative); var target = context.ProjectDir.Combine (targetRelative); var dir = target.ParentDirectory; if (!Directory.Exists (dir)) Directory.CreateDirectory (dir); if (File.Exists (target)) File.Delete (target); File.Copy (source, target); DateTime mtime = File.GetLastWriteTime (target); context.SetSyncTime (targetRelative, mtime); }
public override void SyncOut(IProgressMonitor monitor, XcodeSyncContext context) { monitor.Log.WriteLine("Exporting '{0}' to Xcode.", targetRelative); var target = context.ProjectDir.Combine(targetRelative); var dir = target.ParentDirectory; if (!Directory.Exists(dir)) { Directory.CreateDirectory(dir); } if (File.Exists(target)) { File.Delete(target); } File.Copy(source, target); DateTime mtime = File.GetLastWriteTime(target); context.SetSyncTime(targetRelative, mtime); }