Author: adietish
Date: 2011-05-26 15:00:45 -0400 (Thu, 26 May 2011)
New Revision: 31526
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/SingleFileDeployableMockDeploymentTester.java
Log:
[JBIDE-7936] creating a unique deploy- and tmpDeploy folder for each new server
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/SingleFileDeployableMockDeploymentTester.java
===================================================================
---
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/SingleFileDeployableMockDeploymentTester.java 2011-05-26
18:31:16 UTC (rev 31525)
+++
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/SingleFileDeployableMockDeploymentTester.java 2011-05-26
19:00:45 UTC (rev 31526)
@@ -104,8 +104,7 @@
public void testSingleFolderCustomDeployFolderAbsolute() throws CoreException,
IOException {
IPath serverDeployRoot = new Path(ServerRuntimeUtils.getDeployRoot(server));
final String folderName = "test";
- IPath state = ASTest.getDefault().getStateLocation();
- IPath moduleDeployRoot =
state.append("testDeployments").append("absoluteFolder.place");
+ IPath moduleDeployRoot =
ServerRuntimeUtils.getBaseDir().append("absoluteFolder.place");
moduleDeployRoot.toFile().mkdirs();
IModule[] mods = singleFolderCreateModules(folderName);
DeploymentPreferences prefs =
DeploymentPreferenceLoader.loadPreferencesFromServer(server);
Show replies by date