OFbiz Build

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

OFbiz Build

vivek.mi
Hello All,

I am trying to build OFbiz, but getting the following error:

Skipping task ':jar' as it is up-to-date (took 0.425 secs).
:jar UP-TO-DATE
:jar (Thread[main,5,main]) completed. Took 0.436 secs.
:assemble (Thread[main,5,main]) started.
:assemble
Skipping task ':assemble' as it has no actions.
:assemble UP-TO-DATE
:assemble (Thread[main,5,main]) completed. Took 0.001 secs.
:compileTestJava (Thread[main,5,main]) started.
:compileTestJava
Skipping task ':compileTestJava' as it is up-to-date (took 0.276 secs).
:compileTestJava UP-TO-DATE
:compileTestJava (Thread[main,5,main]) completed. Took 0.281 secs.
:processTestResources (Thread[main,5,main]) started.
:processTestResources
Skipping task ':processTestResources' as it has no source files.
:processTestResources UP-TO-DATE
:processTestResources (Thread[main,5,main]) completed. Took 0.014 secs.
:testClasses (Thread[main,5,main]) started.
:testClasses
Skipping task ':testClasses' as it has no actions.
:testClasses UP-TO-DATE
:testClasses (Thread[main,5,main]) completed. Took 0.001 secs.
:test (Thread[main,5,main]) started.
:test
Executing task ':test' (up-to-date check took 0.673 secs) due to:
  No history is available.
Starting process 'Gradle Test Executor 1'. Working directory: /app/Ofbiz_tenant Command: /app/jdk1.8.0_121/bin/java -Djava.security.manager=jarjar.org.gradle.process.internal.child.BootstrapSecurityManager -Dfile.encoding=UTF-8 -Duser.country=IN -Duser.language=en -Duser.variant -ea -cp /root/.gradle/caches/2.13/workerMain/gradle-worker.jar jarjar.org.gradle.process.internal.launcher.GradleWorkerMain 'Gradle Test Executor 1'
Successfully started process 'Gradle Test Executor 1'
Gradle Test Executor 1 started executing tests.

org.apache.ofbiz.entity.util.EntitySaxReaderTests > parse STANDARD_ERROR
    ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
> Building 66% > :test > 2 tests completed

The process is halting here. Kindly let me know how to proceed further.

Thanks in advance,
Vivek Mishra
Vivek Mishra
Reply | Threaded
Open this post in threaded view
|

Re: OFbiz Build

taher
Hi Vivek,

What is the OFBiz version, JDK version, and exact command you used?

Regards,

Taher Alkhateeb

On Thu, Mar 23, 2017 at 9:19 AM, vivek.mi <[hidden email]> wrote:

> Hello All,
>
> I am trying to build OFbiz, but getting the following error:
>
> Skipping task ':jar' as it is up-to-date (took 0.425 secs).
> :jar UP-TO-DATE
> :jar (Thread[main,5,main]) completed. Took 0.436 secs.
> :assemble (Thread[main,5,main]) started.
> :assemble
> Skipping task ':assemble' as it has no actions.
> :assemble UP-TO-DATE
> :assemble (Thread[main,5,main]) completed. Took 0.001 secs.
> :compileTestJava (Thread[main,5,main]) started.
> :compileTestJava
> Skipping task ':compileTestJava' as it is up-to-date (took 0.276 secs).
> :compileTestJava UP-TO-DATE
> :compileTestJava (Thread[main,5,main]) completed. Took 0.281 secs.
> :processTestResources (Thread[main,5,main]) started.
> :processTestResources
> Skipping task ':processTestResources' as it has no source files.
> :processTestResources UP-TO-DATE
> :processTestResources (Thread[main,5,main]) completed. Took 0.014 secs.
> :testClasses (Thread[main,5,main]) started.
> :testClasses
> Skipping task ':testClasses' as it has no actions.
> :testClasses UP-TO-DATE
> :testClasses (Thread[main,5,main]) completed. Took 0.001 secs.
> :test (Thread[main,5,main]) started.
> :test
> Executing task ':test' (up-to-date check took 0.673 secs) due to:
>   No history is available.
> Starting process 'Gradle Test Executor 1'. Working directory:
> /app/Ofbiz_tenant Command: /app/jdk1.8.0_121/bin/java
> -Djava.security.manager=jarjar.org.gradle.process.internal.child.
> BootstrapSecurityManager
> -Dfile.encoding=UTF-8 -Duser.country=IN -Duser.language=en -Duser.variant
> -ea -cp /root/.gradle/caches/2.13/workerMain/gradle-worker.jar
> jarjar.org.gradle.process.internal.launcher.GradleWorkerMain 'Gradle Test
> Executor 1'
> Successfully started process 'Gradle Test Executor 1'
> Gradle Test Executor 1 started executing tests.
>
> org.apache.ofbiz.entity.util.EntitySaxReaderTests > parse STANDARD_ERROR
>     ERROR StatusLogger No log4j2 configuration file found. Using default
> configuration: logging only errors to the console.
> > Building 66% > :test > 2 tests completed
>
> The process is halting here. Kindly let me know how to proceed further.
>
> Thanks in advance,
> Vivek Mishra
>
>
>
> -----
> Vivek Mishra
> --
> View this message in context: http://ofbiz.135035.n4.nabble.
> com/OFbiz-Build-tp4703855.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: OFbiz Build

vivek.mi
Hello Taher,

Thanks for your prompt reply.

I am using OFBiz 16.11 with jdk1.8
./gradlew -Dhttps.proxyHost=192.*.*.* -Dhttps.proxyPort=****


--
Vivek Mishra
Vivek Mishra
Reply | Threaded
Open this post in threaded view
|

Re: OFbiz Build

taher
I think this is most probably related to your proxy settings.

More info on that in here ->
https://docs.gradle.org/current/userguide/build_environment.html#sec:accessing_the_web_via_a_proxy

On Thu, Mar 23, 2017 at 10:16 AM, vivek.mi <[hidden email]> wrote:

> Hello Taher,
>
> Thanks for your prompt reply.
>
> I am using OFBiz 16.11 with jdk1.8
> ./gradlew -Dhttps.proxyHost=192.*.*.* -Dhttps.proxyPort=****
>
>
> --
> Vivek Mishra
>
>
>
> -----
> Vivek Mishra
> --
> View this message in context: http://ofbiz.135035.n4.nabble.
> com/OFbiz-Build-tp4703855p4703857.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>