Skip to content

Commit

Permalink
Fix download utility (#88)
Browse files Browse the repository at this point in the history
Signed-off-by: John Eberhard <[email protected]>
  • Loading branch information
jeber-ibm authored Mar 8, 2024
1 parent 033c36c commit 9325a3e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 33 deletions.
2 changes: 1 addition & 1 deletion src/ini/runitxxxxB.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ driver=toolbox
overrideToolboxJar=nativeToolboxJar

# Note.. The -native flag means jt400native is used.
finalArgs=-local -onas400 -native -mappedDrive /
finalArgs=-local -onas400 -native



Expand Down
18 changes: 1 addition & 17 deletions src/test/JTOpenDownloadDevJars.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,23 +126,7 @@ public static void main(String args[]) {
}

} else {
if (osVersion.equals("V7R1M0")) {
jdk14Path = jdk14newPath;
} else if (osVersion.equals("V7R2M0")) {
jdk14Path = jdk14newPath;
} else if (osVersion.equals("V7R3M0")) {
jdk14Path = jdk14newPath;
} else if (osVersion.equals("V7R4M0")) {
jdk14Path = jdk14newPath;
} else if (osVersion.equals("V7R5M0")) {
jdk14Path = jdk14newPath;
} else if (osVersion.equals("V7R6M0")) {
jdk14Path = jdk14newPath;
} else {
System.out.println("Unrecognized os.version = " + osVersion);
System.out.println("Exiting");
System.exit(1);
}
jdk14Path = jdk14newPath;
}

String disableSSL = System.getenv("DISABLESSL");
Expand Down
16 changes: 1 addition & 15 deletions src/test/JTOpenDownloadReleaseJars.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,21 +106,7 @@ public static void main(String args[]) {
}

} else {
if (osVersion.equals("V7R1M0")) {
jdk14Path = jdk14newPath;
} else if (osVersion.equals("V7R2M0")) {
jdk14Path = jdk14newPath;
} else if (osVersion.equals("V7R3M0")) {
jdk14Path = jdk14newPath;
} else if (osVersion.equals("V7R4M0")) {
jdk14Path = jdk14newPath;
} else if (osVersion.equals("V7R5M0")) {
jdk14Path = jdk14newPath;
} else {
System.out.println("Unrecognized os.version = " + osVersion);
System.out.println("Exiting");
System.exit(1);
}
jdk14Path = jdk14newPath;
}

// Make sure the directories exist
Expand Down

0 comments on commit 9325a3e

Please sign in to comment.