Mike Jumper created GUACAMOLE-1789: -------------------------------------- Summary: SQLSERVER_BATCH_SIZE defined twice in SQLServerGuacamoleProperties Key: GUACAMOLE-1789 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1789 Project: Guacamole Issue Type: Bug Components: guacamole-auth-jdbc-sqlserver Affects Versions: 1.6.0 Reporter: Mike Jumper Fix For: 1.6.0
The {{SQLSERVER_BATCH_SIZE}} constant is erroneously defined twice within {{SQLServerGuacamoleProperties}}, resulting in the following build failure: {code:none} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project guacamole-auth-jdbc-sqlserver: Compilation failure [ERROR] /home/jenkins/workspace/Guacamole/guacamole-client-master/JENKINS_LABEL_EXPRESSION/ubuntu/jdk/jdk_1.8_latest/guacamole-client/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-sqlserver/src/main/java/org/apache/guacamole/auth/sqlserver/conf/SQLServerGuacamoleProperties.java:[265,49] error: variable SQLSERVER_BATCH_SIZE is already defined in class SQLServerGuacamoleProperties {code} See: * https://ci-builds.apache.org/job/Guacamole/job/guacamole-client-master/238/JENKINS_LABEL_EXPRESSION=ubuntu,jdk=jdk_1.8_latest/console * First definition: https://github.com/apache/guacamole-client/blob/ef66411593ba6c142e7f5f5b70670b84f1c71b3b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-sqlserver/src/main/java/org/apache/guacamole/auth/sqlserver/conf/SQLServerGuacamoleProperties.java#L236-L246 * Second definition: https://github.com/apache/guacamole-client/blob/ef66411593ba6c142e7f5f5b70670b84f1c71b3b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-sqlserver/src/main/java/org/apache/guacamole/auth/sqlserver/conf/SQLServerGuacamoleProperties.java#L261-L271 The above affects only the {{master}} branch. Things are correct on {{staging/1.5.2}}. -- This message was sent by Atlassian Jira (v8.20.10#820010)