Won't buildWon't buildhttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1105370322024-03-29T09:23:04Z2024-03-29T09:23:04ZRE: Won't buildDenis Signorettohttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1106727662018-08-07T09:36:22Z2018-08-07T09:36:22Z<blockquote>
<div class="quote-title">Christoph Rabel:</div>
<div class="quote">
<div class="quote-content">
<p>That said, the problem seems to be Windows specific:</p>
<p>https://github.com/gradle/gradle/issues/882</p>
<p>Maybe you could try to replace gradle 3.3 with gradle 3.4?</p>
<p> </p></div></div></blockquote>
<p>I had the same problem and solved, as suggested in the issue
comments, issuing the command:</p>
<pre>
gradlew.bat deploy -Dbuild.profile=portal --console plain</pre>
<p> </p>
<p>HTH,</p>
<p>Denis</p>
<p> </p>
<p> </p>Denis Signoretto2018-08-07T09:36:22ZRE: Won't buildgordon danielshttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1105715012018-07-16T14:51:17Z2018-07-16T14:51:17Z<p>Christoph: Thanks really appreciate it. Have you been able to play
with commerce?</p>gordon daniels2018-07-16T14:51:17ZRE: Won't buildChristoph Rabelhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1105714962018-07-16T14:49:27Z2018-07-16T14:49:27Z<p>Beta 3. You probably could also unpack the lpkg files and place them
into the osgi/modules folder.</p>Christoph Rabel2018-07-16T14:49:27ZRE: Won't buildgordon danielshttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1105704402018-07-16T14:32:19Z2018-07-16T14:32:19Z<p>Christoph: Thanks for this post. What beta version did you use?
Can't wait to try!</p>
<p>thanks again</p>gordon daniels2018-07-16T14:32:19ZRE: Won't buildsunny huanghttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1105655342018-07-16T07:59:16Z2018-07-16T07:59:16Z<p>hi,</p>
<p>while building ,some modules are successful and someone failed.</p>
<p>so i delete the modules which are successful and build the failed
modules again and again.</p>
<p>i build all modules finally, so if failed just to try it again. i
do not know the reason but it work.</p>sunny huang2018-07-16T07:59:16ZRE: Won't buildChristoph Rabelhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1105651242018-07-16T07:43:11Z2018-07-16T07:43:11Z<p>Modules usually download their own node instance and place it in
build/ and use that one instead of the globally installed node. Of
course, that commerce module might be configured otherwise (there are
options available to configure the node build task <a
href="https://dev.liferay.com/develop/reference/-/knowledge_base/7-0/node-gradle-plugin">https://dev.liferay.com/develop/reference/-/knowledge_base/7-0/node-gradle-plugin</a> ).</p>
<p> </p>
<p>That said, the problem seems to be Windows specific:</p>
<p>https://github.com/gradle/gradle/issues/882</p>
<p>Maybe you could try to replace gradle 3.3 with gradle 3.4?</p>
<p> </p>Christoph Rabel2018-07-16T07:43:11ZRE: Won't buildsunny huanghttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1105650742018-07-16T07:10:37Z2018-07-16T07:10:37Z<p>My error is as follows:</p>
<p>npminstall</p>
<p>node install</p>
<p> </p>
<p>What I don't understand is that I have installed npm and node. Why do
some module build require npminstall and node install again to add
packages, and some module build don't need.</p>sunny huang2018-07-16T07:10:37ZRE: Won't buildChristoph Rabelhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1105650502018-07-16T06:24:47Z2018-07-16T06:24:47Z<p>I could build it, but I cheated a bit. For me it failed with
"Unable to find com.liferay.dynamic.data.mapping.taglib.jar in /home/crabel/shoptest/bundles/osgi"</p>
<p>So, I took a beta of Liferay 7.1, since those modules are there
unpacked in that version and copied it in the bundles folder. After
building it, I copied all commerce modules to the real Liferay
instance (note: for some reason it has to be up and running, commerce
doesn't work when you add it to osgi/modules and start Liferay)</p>
<p> </p>Christoph Rabel2018-07-16T06:24:47ZRE: Won't buildgordon danielshttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1105643322018-07-15T17:31:28Z2018-07-15T17:31:28Z<p>Ok - a little bit further along. I deleted gradle-3.3.bin folder and
then ran the command again. This time it unzipped and started the
build. However, the build failed and I got this error:</p>
<p>
<strong>Caused by: org.gradle.process.internal.ExecException: Process
'command
'/home/rognod/books/com-liferay-commerce/build/node/bin/node''
finished with non-zero exit value 1<br /> at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:369)</strong></p>
<p>
<br /> Not sure how to fix this. Any thoughts?</p>gordon daniels2018-07-15T17:31:28ZRE: Won't buildgordon danielshttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1105641902018-07-15T13:14:43Z2018-07-15T13:14:43Z<p>thanks for the reply. I just followed Liferays' Github instructions
for building. Did not work. Hopefully, someday Liferay staff will
reply with fix.</p>
<p>thanks</p>gordon daniels2018-07-15T13:14:43ZRE: Won't buildsunny huanghttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1105640582018-07-15T04:52:51Z2018-07-15T04:52:51Z<p>unfortunately, I also failed to build.</p>
<p>I don't know if there are detailed build guides, including build
tools, dependent versions, Environment configuration, etc.,I always
had different errors during the building process, which may be the
problems with tools and environment settings.</p>
<p>any good news, please share.</p>sunny huang2018-07-15T04:52:51ZRE: Won't buildgordon danielshttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1105639252018-07-14T18:45:23Z2018-07-14T18:45:23Z<p>Has anyone else been successful at getting emporio to build?</p>gordon daniels2018-07-14T18:45:23ZWon't buildgordon danielshttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1105370312018-07-12T19:39:17Z2018-07-12T19:39:17Z<p>Ran build but get the following error:</p>
<p>Unzipping
/home/rognod/.gradle/wrapper/dists/gradle-3.3-bin/64bhckfm0iuu9gap9hg3r7ev2/gradle-3.3-bin.zip
to
/home/rognod/.gradle/wrapper/dists/gradle-3.3-bin/64bhckfm0iuu9gap9hg3r7ev2<br />
Exception in thread "main" java.util.zip.ZipException: error
in opening zip file<br /> at java.util.zip.ZipFile.open(Native
Method)<br /> at
java.util.zip.ZipFile.<init>(ZipFile.java:225)<br /> at
java.util.zip.ZipFile.<init>(ZipFile.java:155)<br /> at
java.util.zip.ZipFile.<init>(ZipFile.java:169)<br />