Skip to content

Commit 1aafd7a

Browse files
committed
Version 1.4.0
* Switch to NetBeans 11.2 * Run maven in single thread since multithread throws a NullPointerException
1 parent fc4e558 commit 1aafd7a

File tree

6 files changed

+13
-5
lines changed

6 files changed

+13
-5
lines changed

branding/core/core.jar/org/netbeans/core/startup/Bundle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ SplashVersionTextFontType=Dialog
1919
SplashVersionTextColor=0x000000
2020
SplashVersionTextHorizontalAlignment=right
2121

22-
currentVersion=Netbeans with TMC 1.3.0
22+
currentVersion=Netbeans with TMC 1.4.0
2323
LBL_splash_window_title=Starting Netbeans with TMC
2424

2525
MSG_warning=NetBeans with TMC IDE - Warning

build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<target name="-check-mavenmodules">
1212
<uptodate property="mavenmodules.uptodate"
13-
srcfile="maven-wrapper/target/nbm/maven-wrapper-1.31.nbm"
13+
srcfile="maven-wrapper/target/nbm/maven-wrapper-1.32.nbm"
1414
targetfile="mavenmodules"/>
1515
</target>
1616

maven-wrapper/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>fi.helsinki.cs.tmc</groupId>
66
<artifactId>maven-wrapper</artifactId>
7-
<version>1.31</version>
7+
<version>1.32</version>
88
<packaging>nbm</packaging>
99

1010
<name>TMC Maven Wrapper</name>

nbproject/platform.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,4 @@ nbjdk.active=default
8989
# org.openide.execution,\
9090
# org.openide.options,\
9191
# org.openide.util.enumerations
92-
nbplatform.active=Apache_NetBeans_IDE_11.1
92+
nbplatform.active=Apache_NetBeans_IDE_11.2

tmc-plugin/manifest.mf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ OpenIDE-Module-Requires:
66
org.openide.windows.IOProvider,
77
org.openide.windows.WindowManager
88
OpenIDE-Module-Install: fi/helsinki/cs/tmc/actions/TmcModuleInstall.class
9-
OpenIDE-Module-Specification-Version: 1.3.0
9+
OpenIDE-Module-Specification-Version: 1.4.0

tmc-plugin/src/fi/helsinki/cs/tmc/actions/FixUnoptimalSettings.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public FixUnoptimalSettings() {
3030
public void run() {
3131
fixMavenDependencyDownloadPolicy();
3232
fixMavenIndexingPolicy();
33+
fixMavenMultiThreadIssue();
3334
}
3435

3536
private void fixMavenDependencyDownloadPolicy() {
@@ -39,6 +40,13 @@ private void fixMavenDependencyDownloadPolicy() {
3940
}
4041
}
4142

43+
private void fixMavenMultiThreadIssue() {
44+
final String setting = mavenPrefrences.get("defaultOptions", "");
45+
if (!setting.contains("-T=1 -q")) {
46+
mavenPrefrences.put("defaultOptions", "-T=1 -q");
47+
}
48+
}
49+
4250
private void fixMavenIndexingPolicy() {
4351
final String disableIndexingValue = indexingPreferences.get("createIndex", "");
4452
if (!disableIndexingValue.equals("false")) {

0 commit comments

Comments
 (0)