public void TestSetUp() { pomPath = (new FileInfo(Directory.GetCurrentDirectory().Substring(0, Directory.GetCurrentDirectory().LastIndexOf("target")) + "\\src\\test\\resource\\ClassLibrary1\\ClassLibrary1\\pom.xml").FullName); pomCopyPath = pomPath.Replace("pom.xml", "pomCopy.xml"); pomCopy = new PomHelperUtility(pomCopyPath); File.Copy(pomPath, pomCopyPath); }
public NPandaySignAssembly(Project project, ArtifactContext container, FileInfo pom) { this.project = project; this.artifactContext = container; InitializeComponent(); this.pom = pom; this.pomUtility = new PomHelperUtility(pom); this.txtBrowseAssemblySignKey.Text = pomUtility.CompilerPluginConfigurationKeyfile; }
public RenameWebReferenceTest() { pomPath = (new FileInfo(Directory.GetCurrentDirectory().Substring(0, Directory.GetCurrentDirectory().LastIndexOf("target")) + "\\src\\test\\resource\\ClassLibrary1\\ClassLibrary1\\pom.xml").FullName); pomCopyPath = pomPath.Replace("pom.xml", "pomCopy.xml"); pomCopy = new PomHelperUtility(pomCopyPath); File.Copy(pomPath, pomCopyPath); fullPath = (new FileInfo(Directory.GetCurrentDirectory().Substring(0, Directory.GetCurrentDirectory().LastIndexOf("target")) + "\\src\\test\\resource\\ClassLibrary1\\ClassLibrary1\\Web References\\WebRef").FullName); fullPathCopy = fullPath.Replace(oldName, newName); path = "Web References\\" + oldName + "\\demoService.wsdl"; }
public void TestSetUp() { File.Copy(pomPath, pomCopyPath, true); File.Copy(pomPath2, pomCopyPath2, true); pomCopy = new PomHelperUtility(pomCopyPath); pomCopy2 = new PomHelperUtility(pomCopyPath2); }