Commit 6a346c07 authored by Philip Makedonski's avatar Philip Makedonski
Browse files

+ added new setting to quality check profile

* updated version and configuration
* keep log4j properties in shadow jar
parent 80a44648
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -613,7 +613,9 @@
								<exclude>META-INF.versions*</exclude>
								<exclude>LICENSE*</exclude>
								<exclude>*.png</exclude>
								<!--								
								<exclude>log4j.properties</exclude>
								-->
								<exclude>**/module-info.class</exclude>
							</excludes>
						</filter>
+3 −2
Original line number Diff line number Diff line
@@ -31,9 +31,10 @@ import de.ugoe.cs.swe.common.logging.LoggingInterface.LogLevel;
import de.ugoe.cs.swe.scoping.TTCN3GlobalScopeProvider;

public class T3Q {
	private static String versionNumber = "v2.0.0b30";
	//TODO: externalise meta-data
	private static String versionNumber = "v2.1.0b1";
	private static String supportedTTCN3Version = "4.6.1";
	// set during automated server builds
	// set during automated server builds -> no longer displayed or used..
	private static String buildStamp = "---BUILD_STAMP---";
	public static QualityCheckProfile activeProfile = null;
	private String configurationFilename;
+9 −0
Original line number Diff line number Diff line
@@ -42,6 +42,7 @@ public class QualityCheckProfile extends ConfigurationProfile {
	private boolean checkNoUninitialisedVariables = true;
	private String[] checkNoUninitialisedVariablesExclude = {"enumerated", "union", "record", "record of", "set", "set of"};
	private boolean checkNoLiterals = true;
	private boolean checkNoValueOfForValues = true;
	private boolean checkLevelOfNestedCalls = true;
	private int maxLevelOfNestedCalls = 4;
	private boolean checkInlineTemplates = false;
@@ -611,6 +612,14 @@ public class QualityCheckProfile extends ConfigurationProfile {
		this.aliasInCheckNoOverSpecificRunsOnClauses = aliasInCheckNoOverSpecificRunsOnClauses;
	}

	public boolean isCheckNoValueOfForValues() {
		return checkNoValueOfForValues;
	}

	public void setCheckNoValueOfForValues(boolean checkNoValueOfForValues) {
		this.checkNoValueOfForValues = checkNoValueOfForValues;
	}

	

}