Skip to content

Commit 48c3990

Browse files
committed
changes for variable names
Signed-off-by: Arun Venmany <Arun.Kumar.V.N@ibm.com>
1 parent a2f472f commit 48c3990

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/groovy/io/openliberty/tools/gradle/tasks/DevTask.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,11 +1246,11 @@ class DevTask extends AbstractFeatureTask {
12461246
initializeConfigDirectory();
12471247
File configDirectory = server.configDirectory;
12481248
// getOutputDir returns a string
1249-
File serverOutputDir = new File(getOutputDir(project));
1249+
File outputDir = new File(getOutputDir(project));
12501250

12511251
if (!container) {
12521252
if (serverDirectory.exists()) {
1253-
if (ServerStatusUtil.isServerRunning(serverInstallDir, serverOutputDir, serverName)) {
1253+
if (ServerStatusUtil.isServerRunning(serverInstallDir, outputDir, serverName)) {
12541254
throw new Exception("The server " + serverName
12551255
+ " is already running. Terminate all instances of the server before starting dev mode."
12561256
+ " You can stop a server instance with the command 'gradle libertyStop'.");
@@ -1292,7 +1292,7 @@ class DevTask extends AbstractFeatureTask {
12921292
verifyAppStartTimeout.intValue(), verifyAppStartTimeout.intValue(), compileWait.doubleValue(),
12931293
libertyDebug.booleanValue(), pollingTest.booleanValue(), container.booleanValue(), containerfile, containerBuildContext, containerRunOpts,
12941294
containerBuildTimeout, skipDefaultPorts.booleanValue(), keepTempContainerfile.booleanValue(), localMavenRepoForFeatureUtility,
1295-
DevTaskHelper.getPackagingType(project), buildFile, generateFeatures.booleanValue(), webResourceDirs, projectModules, parentBuildGradle, new File(serverOutputDir, serverName)
1295+
DevTaskHelper.getPackagingType(project), buildFile, generateFeatures.booleanValue(), webResourceDirs, projectModules, parentBuildGradle, new File(outputDir, serverName)
12961296
);
12971297
} catch (IOException | PluginExecutionException e) {
12981298
throw new GradleException("Error initializing dev mode.", e)

0 commit comments

Comments
 (0)