Skip to content

Instantly share code, notes, and snippets.

P:\project\m\portal\modules\dxp\apps\saml (23:05:49) [m-120907]
> gw jarSourcesCommercial
P:\project\m\portal\gradlew jarSourcesCommercial
Configuration on demand is an incubating feature.
> Task :dxp:apps:saml:saml-addon-keep-alive-web:jarSourcesCommercial
> Task :dxp:apps:saml:saml-api:jarSourcesCommercial
> Task :dxp:apps:saml:saml-impl:jarSourcesCommercial
> Task :dxp:apps:saml:saml-opensaml-integration:jarSourcesCommercial
> Task :dxp:apps:saml:saml-persistence-api:jarSourcesCommercial
> Task :dxp:apps:saml:saml-persistence-service:jarSourcesCommercial
root@cloud-10-0-11-83:/opt/dev/projects/github/liferay-portal-7.1.x/modules/apps/commerce>
../../../gradlew --max-workers=4 --no-daemon --profile
--project-cache-dir=/opt/dev/projects/github/liferay-portal-7.1.x/.gradle
--refresh-dependencies --stacktrace
-Dapp.server.parent.dir=/opt/dev/projects/github/liferay-portal-7.1.x/bundles
-Dforced.cache.enabled=false
-Dliferay.home=/opt/dev/projects/github/liferay-portal-7.1.x/bundles
-Dliferay.ssl.context.enabled=true
-Dorg.gradle.internal.http.connectionTimeout=120000
-Dorg.gradle.internal.http.socketTimeout=120000 -Dpatcher.hotfix.dirs=
P:/git/com-liferay-osb-lcs-private/osb-lcs-service (13:23:39) [072301]
> ..\gradlew test testIntegration
Unable to configure styled parent theme
Unable to configure unstyled parent theme
Unable to configure styled parent theme
Unable to configure unstyled parent theme
:private:apps:osb-lcs:osb-lcs-commons:compileJava UP-TO-DATE
:private:apps:osb-lcs:osb-lcs-commons:buildCSS UP-TO-DATE
:private:apps:osb-lcs:osb-lcs-commons:processResources UP-TO-DATE
:private:apps:osb-lcs:osb-lcs-commons:transpileJS SKIPPED
<?xml version="1.0"?>
<suppressions>
<source-check>
<suppress checks="GradleVersionCheck" files=".*" />
</source-check>
</suppressions>
<?xml version="1.0"?>
<project default="prepare-working-dir" xmlns:if="ant:if" xmlns:unless="ant:unless">
<property file="working.dir.${user.name}.properties" />
<property file="working.dir.${env.COMPUTERNAME}.properties" />
<property file="working.dir.${env.HOST}.properties" />
<property file="working.dir.${env.HOSTNAME}.properties" />
<property file="working.dir.properties" />
<condition property="prepare.working.dir.private">
<?xml version="1.0"?>
<project default="prepare-working-dir" xmlns:if="ant:if" xmlns:unless="ant:unless">
<property file="working.dir.${user.name}.properties" />
<property file="working.dir.${env.COMPUTERNAME}.properties" />
<property file="working.dir.${env.HOST}.properties" />
<property file="working.dir.${env.HOSTNAME}.properties" />
<property file="working.dir.properties" />
<condition property="prepare.working.dir.private">
<?xml version="1.0"?>
<project default="prepare-working-dir" xmlns:if="ant:if" xmlns:unless="ant:unless">
<property file="working.dir.${user.name}.properties" />
<property file="working.dir.${env.COMPUTERNAME}.properties" />
<property file="working.dir.${env.HOST}.properties" />
<property file="working.dir.${env.HOSTNAME}.properties" />
<property file="working.dir.properties" />
<condition property="prepare.working.dir.private">
<?xml version="1.0"?>
<suppressions>
<source-check>
<suppress checks="JavaMultiPlusConcatCheck" files=".*" />
<suppress checks="JavaStylingCheck" files="poshi-runner/src/test/java/com/liferay/poshi/runner/pql/PQLEntityFactoryTest\.java" />
<suppress checks="JavaStylingCheck" files="poshi-runner/src/test/java/com/liferay/poshi/runner/pql/PQLQueryTest\.java" />
<suppress checks="JavaXMLSecurityCheck" files=".*" />
</source-check>
</suppressions>
ant 'format-source-all' '-Dskip.npm=true' '-Dsource.base.dir=P:\project\lfm\portal\modules\apps\amf-registration-master'
Buildfile: P:\project\lfm\portal\portal-impl\build.xml
[delete] Deleting: P:\project\lfm\portal\null1296622452.properties
format-source-all:
[echo]
[echo] Please run the following command from P:\project\lfm\portal\modules to show status updates during the Source Formatter execution:
[echo]
[echo] ../gradlew -b util.gradle formatSource
[echo]
Exception in thread "main" java.lang.Exception: Found 5 formatting issues:
1: Use existing connection field instead of DataAccess.getConnection: ./modules/apps/forms-and-workflow/calendar/calendar-test/src/testIntegration/java/com/liferay/calendar/test/util/CalendarUpgradeTestUtil.java 42 (SourceCheck:JavaVerifyUpgradeConnectionCheck)
2: Use existing connection field instead of DataAccess.getConnection: ./portal-impl/src/com/liferay/portal/tools/DBUpgrader.java 141 (SourceCheck:JavaVerifyUpgradeConnectionCheck)
3: Use existing connection field instead of DataAccess.getConnection: ./portal-impl/src/com/liferay/portal/tools/DBUpgrader.java 357 (SourceCheck:JavaVerifyUpgradeConnectionCheck)
4: Use existing connection field instead of DataAccess.getConnection: ./portal-impl/src/com/liferay/portal/tools/DBUpgrader.java 385 (SourceCheck:JavaVerifyUpgradeConnectionCheck)
5: Use existing connection field instead of DataAccess.getConnection: ./portal-impl/src/com/liferay/portal/tools/DBUpgrader.java 434 (SourceCheck:J