Skip to content

Commit

Permalink
#209: Quick Fix for CI build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
aBega2000 committed Feb 16, 2024
1 parent 3a77034 commit e649a78
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
7 changes: 4 additions & 3 deletions cli/src/main/java/com/devonfw/tools/ide/tool/jmc/Jmc.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import com.devonfw.tools.ide.io.FileAccess;
import com.devonfw.tools.ide.tool.LocalToolCommandlet;
import com.devonfw.tools.ide.tool.ToolCommandlet;
import com.devonfw.tools.ide.tool.java.Java;

/**
* {@link ToolCommandlet} for <a href="https://www.oracle.com/java/technologies/jdk-mission-control.html">JDK Mission
Expand All @@ -33,7 +32,7 @@ public Jmc(IdeContext context) {
@Override
public boolean doInstall(boolean silent) {

getCommandlet(Java.class).install();
// getCommandlet(Java.class).install();
return super.doInstall(silent);
}

Expand All @@ -56,7 +55,9 @@ public void postInstall() {
moveFilesAndDirs(oldBinaryPath, toolPath);
fileAccess.delete(oldBinaryPath);
} else {
this.context.info("JMC binary folder not found at {} - ignoring as this legacy problem may be resolved in newer versions.", oldBinaryPath);
this.context.info(
"JMC binary folder not found at {} - ignoring as this legacy problem may be resolved in newer versions.",
oldBinaryPath);
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.devonfw.tools.ide.Jmc;
package com.devonfw.tools.ide.tool.Jmc;

import static com.github.tomakehurst.wiremock.client.WireMock.aResponse;
import static com.github.tomakehurst.wiremock.client.WireMock.get;
Expand Down Expand Up @@ -30,7 +30,7 @@ public class JmcTest extends AbstractIdeContextTest {
@BeforeAll
static void setUp() throws IOException {

server = new WireMockServer(WireMockConfiguration.wireMockConfig().port(1111));
server = new WireMockServer(WireMockConfiguration.wireMockConfig().port(1112));
server.start();
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
http://localhost:1111/jmcTest/linux
http://localhost:1112/jmcTest/linux
Original file line number Diff line number Diff line change
@@ -1 +1 @@
http://localhost:1111/jmcTest/macOS
http://localhost:1112/jmcTest/macOS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
http://localhost:1111/jmcTest/windows
http://localhost:1112/jmcTest/windows

0 comments on commit e649a78

Please sign in to comment.