Closed jcampoy closed 4 years ago
@jcampoy: I switched to using npm ci
so that it doesn't download the buggy version of domutils that causes that maximum call stack size exception on OS X. Can you let me know if that fixes your issue?
Thank you @holatuwol ! it seems to work, but now it is stopping in an other point, when trying to download some libs.
Do you know if the rest of the project will get build in spite of this error? Thanks!
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/jose/code/portal/tmp/ijbuild/build.gradle' line: 259
* What went wrong:
A problem occurred evaluating root project 'ijbuild'.
> Could not resolve all files for configuration ':compile'.
> Could not find com.liferay:com.documentum.dctm:6.6.0.039.
Searched in the following locations:
- file:/Users/jose/code/portal/.m2/com/liferay/com.documentum.dctm/6.6.0.039/com.documentum.dctm-6.6.0.039.pom
- file:/Users/jose/code/portal/.m2/com/liferay/com.documentum.dctm/6.6.0.039/com.documentum.dctm-6.6.0.039.jar
- http://repo.maven.apache.org/maven2/com/liferay/com.documentum.dctm/6.6.0.039/com.documentum.dctm-6.6.0.039.pom
- http://repo.maven.apache.org/maven2/com/liferay/com.documentum.dctm/6.6.0.039/com.documentum.dctm-6.6.0.039.jar
- https://repository-cdn.liferay.com/nexus/content/repositories/public/com/liferay/com.documentum.dctm/6.6.0.039/com.documentum.dctm-6.6.0.039.pom
- https://repository-cdn.liferay.com/nexus/content/repositories/public/com/liferay/com.documentum.dctm/6.6.0.039/com.documentum.dctm-6.6.0.039.jar
- http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/com/liferay/com.documentum.dctm/6.6.0.039/com.documentum.dctm-6.6.0.039.pom
- http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/com/liferay/com.documentum.dctm/6.6.0.039/com.documentum.dctm-6.6.0.039.jar
Required by:
project :
> Could not find com.liferay:com.documentum.dfc:6.6.0.039.
Searched in the following locations:
- file:/Users/jose/code/portal/.m2/com/liferay/com.documentum.dfc/6.6.0.039/com.documentum.dfc-6.6.0.039.pom
- file:/Users/jose/code/portal/.m2/com/liferay/com.documentum.dfc/6.6.0.039/com.documentum.dfc-6.6.0.039.jar
- http://repo.maven.apache.org/maven2/com/liferay/com.documentum.dfc/6.6.0.039/com.documentum.dfc-6.6.0.039.pom
- http://repo.maven.apache.org/maven2/com/liferay/com.documentum.dfc/6.6.0.039/com.documentum.dfc-6.6.0.039.jar
- https://repository-cdn.liferay.com/nexus/content/repositories/public/com/liferay/com.documentum.dfc/6.6.0.039/com.documentum.dfc-6.6.0.039.pom
- https://repository-cdn.liferay.com/nexus/content/repositories/public/com/liferay/com.documentum.dfc/6.6.0.039/com.documentum.dfc-6.6.0.039.jar
- http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/com/liferay/com.documentum.dfc/6.6.0.039/com.documentum.dfc-6.6.0.039.pom
- http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/com/liferay/com.documentum.dfc/6.6.0.039/com.documentum.dfc-6.6.0.039.jar
Required by:
project :
> Could not find com.liferay:com.documentum.services.config.api:6.6.0.040.
Searched in the following locations:
- file:/Users/jose/code/portal/.m2/com/liferay/com.documentum.services.config.api/6.6.0.040/com.documentum.services.config.api-6.6.0.040.pom
- file:/Users/jose/code/portal/.m2/com/liferay/com.documentum.services.config.api/6.6.0.040/com.documentum.services.config.api-6.6.0.040.jar
- http://repo.maven.apache.org/maven2/com/liferay/com.documentum.services.config.api/6.6.0.040/com.documentum.services.config.api-6.6.0.040.pom
- http://repo.maven.apache.org/maven2/com/liferay/com.documentum.services.config.api/6.6.0.040/com.documentum.services.config.api-6.6.0.040.jar
- https://repository-cdn.liferay.com/nexus/content/repositories/public/com/liferay/com.documentum.services.config.api/6.6.0.040/com.documentum.services.config.api-6.6.0.040.pom
- https://repository-cdn.liferay.com/nexus/content/repositories/public/com/liferay/com.documentum.services.config.api/6.6.0.040/com.documentum.services.config.api-6.6.0.040.jar
- http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/com/liferay/com.documentum.services.config.api/6.6.0.040/com.documentum.services.config.api-6.6.0.040.pom
- http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/com/liferay/com.documentum.services.config.api/6.6.0.040/com.documentum.services.config.api-6.6.0.040.jar
Required by:
project :
> Could not find com.liferay:com.documentum.services.config.impl:6.6.0.040.
Searched in the following locations:
- file:/Users/jose/code/portal/.m2/com/liferay/com.documentum.services.config.impl/6.6.0.040/com.documentum.services.config.impl-6.6.0.040.pom
- file:/Users/jose/code/portal/.m2/com/liferay/com.documentum.services.config.impl/6.6.0.040/com.documentum.services.config.impl-6.6.0.040.jar
- http://repo.maven.apache.org/maven2/com/liferay/com.documentum.services.config.impl/6.6.0.040/com.documentum.services.config.impl-6.6.0.040.pom
- http://repo.maven.apache.org/maven2/com/liferay/com.documentum.services.config.impl/6.6.0.040/com.documentum.services.config.impl-6.6.0.040.jar
- https://repository-cdn.liferay.com/nexus/content/repositories/public/com/liferay/com.documentum.services.config.impl/6.6.0.040/com.documentum.services.config.impl-6.6.0.040.pom
- https://repository-cdn.liferay.com/nexus/content/repositories/public/com/liferay/com.documentum.services.config.impl/6.6.0.040/com.documentum.services.config.impl-6.6.0.040.jar
- http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/com/liferay/com.documentum.services.config.impl/6.6.0.040/com.documentum.services.config.impl-6.6.0.040.pom
- http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/com/liferay/com.documentum.services.config.impl/6.6.0.040/com.documentum.services.config.impl-6.6.0.040.jar
Required by:
project :
> Could not find com.liferay:com.rsa.certj:2.2.0.0.
Searched in the following locations:
- file:/Users/jose/code/portal/.m2/com/liferay/com.rsa.certj/2.2.0.0/com.rsa.certj-2.2.0.0.pom
- file:/Users/jose/code/portal/.m2/com/liferay/com.rsa.certj/2.2.0.0/com.rsa.certj-2.2.0.0.jar
- http://repo.maven.apache.org/maven2/com/liferay/com.rsa.certj/2.2.0.0/com.rsa.certj-2.2.0.0.pom
- http://repo.maven.apache.org/maven2/com/liferay/com.rsa.certj/2.2.0.0/com.rsa.certj-2.2.0.0.jar
- https://repository-cdn.liferay.com/nexus/content/repositories/public/com/liferay/com.rsa.certj/2.2.0.0/com.rsa.certj-2.2.0.0.pom
- https://repository-cdn.liferay.com/nexus/content/repositories/public/com/liferay/com.rsa.certj/2.2.0.0/com.rsa.certj-2.2.0.0.jar
- http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/com/liferay/com.rsa.certj/2.2.0.0/com.rsa.certj-2.2.0.0.pom
- http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/com/liferay/com.rsa.certj/2.2.0.0/com.rsa.certj-2.2.0.0.jar
Required by:
project :
> Could not find com.liferay:com.rsa.jsafe:3.6.
Searched in the following locations:
- file:/Users/jose/code/portal/.m2/com/liferay/com.rsa.jsafe/3.6/com.rsa.jsafe-3.6.pom
- file:/Users/jose/code/portal/.m2/com/liferay/com.rsa.jsafe/3.6/com.rsa.jsafe-3.6.jar
- http://repo.maven.apache.org/maven2/com/liferay/com.rsa.jsafe/3.6/com.rsa.jsafe-3.6.pom
- http://repo.maven.apache.org/maven2/com/liferay/com.rsa.jsafe/3.6/com.rsa.jsafe-3.6.jar
- https://repository-cdn.liferay.com/nexus/content/repositories/public/com/liferay/com.rsa.jsafe/3.6/com.rsa.jsafe-3.6.pom
- https://repository-cdn.liferay.com/nexus/content/repositories/public/com/liferay/com.rsa.jsafe/3.6/com.rsa.jsafe-3.6.jar
- http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/com/liferay/com.rsa.jsafe/3.6/com.rsa.jsafe-3.6.pom
- http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/com/liferay/com.rsa.jsafe/3.6/com.rsa.jsafe-3.6.jar
Required by:
project :
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 9s
{ Error: Command failed: /Users/jose/code/portal/gradlew completeGradleCache
at checkExecSyncError (child_process.js:637:11)
at execFileSync (child_process.js:655:13)
at executeGradleFile (/Users/jose/code/util/holatuwol/liferay-intellij/streams0/streams0.js:489:3)
at /Users/jose/code/util/holatuwol/liferay-intellij/node_modules/highland/lib/index.js:301:18
at /Users/jose/code/util/holatuwol/liferay-intellij/node_modules/highland/lib/index.js:1559:13
at Stream.s._send (/Users/jose/code/util/holatuwol/liferay-intellij/node_modules/highland/lib/index.js:1285:9)
at Stream.write (/Users/jose/code/util/holatuwol/liferay-intellij/node_modules/highland/lib/index.js:1375:18)
at Stream._send (/Users/jose/code/util/holatuwol/liferay-intellij/node_modules/highland/lib/index.js:761:26)
at push (/Users/jose/code/util/holatuwol/liferay-intellij/node_modules/highland/lib/index.js:1250:19)
at /Users/jose/code/util/holatuwol/liferay-intellij/node_modules/highland/lib/index.js:3478:13
status: 1,
signal: null,
output: [ null, null, null ],
pid: 61837,
stdout: null,
stderr: null }
[10:54:39 AM] Missing dependencies have been downloaded
[10:54:39 AM] Generating IntelliJ workspace
@jcampoy : Some projects will not have all their dependencies downloaded, but everything else should be fine.
I've added an additional fail-safe to check for working.dir.properties (if you've already run ant setup-profile-dxp
, or if you've copied the file manually), and to also ignore any /dxp/ projects from the attempt to complete the Gradle cache if it can't find working.dir.properties at all.
Thank you very much @holatuwol !! Closing this issue :)
Hi @holatuwol ,
I am finding errors when I try to build the portal project in current master, this is the output: