public void Build(GeneralTree<IDirectoryTreeNode> features) { if (log.IsInfoEnabled) { log.InfoFormat("Writing DHTML files to {0}", this.configuration.OutputFolder.FullName); } var resource = new DhtmlResourceSet(configuration); log.Info("DeployZippedDhtmlResourcesForExtraction"); DeployZippedDhtmlResourcesForExtraction(resource); log.Info("UnzipDhtmlResources"); UnzipDhtmlResources(resource); log.Info("UtilizeJsonBuilderToDumpJsonFeatureFileNextToDthmlResources"); UtilizeJsonBuilderToDumpJsonFeatureFileNextToDthmlResources(features); log.Info("Tweak Json file"); TweakJsonFile(); log.Info("CleanupZippedDhtmlResources"); CleanupZippedDhtmlResources(resource); }
public void Build(GeneralTree <INode> features) { if (log.IsInfoEnabled) { log.Info("Writing DHTML files to {0}", this.configuration.OutputFolder.FullName); } var resource = new DhtmlResourceSet(configuration, this.fileSystem); log.Info("DeployZippedDhtmlResourcesForExtraction"); DeployZippedDhtmlResourcesForExtraction(resource); log.Info("UnzipDhtmlResources"); UnzipDhtmlResources(resource); log.Info("UtilizeJsonBuilderToDumpJsonFeatureFileNextToDthmlResources"); UtilizeJsonBuilderToDumpJsonFeatureFileNextToDthmlResources(features); log.Info("Tweak Json file"); TweakJsonFile(); log.Info("CleanupZippedDhtmlResources"); CleanupZippedDhtmlResources(resource); }
private void DeployZippedDhtmlResourcesForExtraction(DhtmlResourceSet dhtmlResourceSet) { var resourceProcessor = new DhtmlResourceProcessor(configuration, dhtmlResourceSet, this.fileSystem); resourceProcessor.WriteZippedResources(); }
private void CleanupZippedDhtmlResources(DhtmlResourceSet dhtmlResourceSet) { var resourceProcessor = new DhtmlResourceProcessor(configuration, dhtmlResourceSet, this.fileSystem); resourceProcessor.CleanupZippedResources(); }
private void UnzipDhtmlResources(DhtmlResourceSet dhtmlResourceSet) { var unzipper = new UnZipper(this.fileSystem); unzipper.UnZip(dhtmlResourceSet.ZippedResources.LocalPath, configuration.OutputFolder.FullName, "Pickles.BaseDhtmlFiles"); }
public DhtmlResourceProcessor(Configuration configuration, DhtmlResourceSet dhtmlResourceSet, IFileSystem fileSystem) { this.MyConfiguration = configuration; this.fileSystem = fileSystem; this.MyDhtmlResourceSet = dhtmlResourceSet; }
public DhtmlResourceProcessor(Configuration configuration, DhtmlResourceSet dhtmlResourceSet) { this.MyConfiguration = configuration; this.MyDhtmlResourceSet = dhtmlResourceSet; }
private void UnzipDhtmlResources(DhtmlResourceSet dhtmlResourceSet) { var unzipper = new UnZipper(); unzipper.UnZip(dhtmlResourceSet.ZippedResources.AbsolutePath, configuration.OutputFolder.FullName, "Pickles.BaseDhtmlFiles"); }