You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/12/17 15:04:00 UTC

[GitHub] alibanaei opened a new issue #4184: ./gradlew :core:controller:compileScala does not working

alibanaei opened a new issue #4184: ./gradlew :core:controller:compileScala  does not working
URL: https://github.com/apache/incubator-openwhisk/issues/4184
 
 
   I have installed openwhisk on local vm on ubuntu 14.04, then I want to change the source code and build it.
   I have changed the "BasicAuthenticationDirective.scala" and run 
   "./gradlew :core:controller:compileScala"  is working but nothing changed even the logs
   I've also used  "./gradlew distDocker" but it had this result, too
   
   How can I inject a code in openwhisk and compile it? Does it need specific compiler?
   
   > Task :core:controller:compileScala
   Build cache key for task ':core:controller:compileScala' is 62562ee7d4d6228633cecae8af043865
   Task ':core:controller:compileScala' is not up-to-date because:
     Input property 'source' file /home/ubuntu/whisk/core/controller/src/main/scala/org/apache/openwhisk/core/controller/BasicAuthenticationDirective.scala has changed.
   Starting process 'Gradle Worker Daemon 10'. Working directory: /root/.gradle/workers Command: /usr/lib/jvm/java-8-openjdk-amd64/bin/java -Djava.security.manager=worker.org.gradle.process.internal.worker.child.BootstrapSecurityManager -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -cp /root/.gradle/caches/4.8.1/workerMain/gradle-worker.jar worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Worker Daemon 10'
   Successfully started process 'Gradle Worker Daemon 10'
   Started Gradle worker daemon (0.575 secs) with fork options DaemonForkOptions{executable=/usr/lib/jvm/java-8-openjdk-amd64/bin/java, minHeapSize=null, maxHeapSize=null, jvmArgs=[], classpath=[/root/.gradle/caches/modules-2/files-2.1/com.typesafe.zinc/zinc/0.3.15/12e1f782684f2702e847faa0994eed4711270687/zinc-0.3.15.jar, /root/.gradle/caches/modules-2/files-2.1/com.typesafe.sbt/incremental-compiler/0.13.15/95e20d00b25a7aae19838009c11578b7e6b258ad/incremental-compiler-0.13.15.jar, /root/.gradle/caches/modules-2/files-2.1/com.typesafe.sbt/compiler-interface/0.13.15/bad996ed4fc3e83b872525e9cd7b80d81b98a324/compiler-interface-0.13.15-sources.jar, /root/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-compiler/2.10.6/9b15174852f5b6bb1edbf303d5722286a0a54011/scala-compiler-2.10.6.jar, /root/.gradle/caches/modules-2/files-2.1/com.typesafe.sbt/sbt-interface/0.13.15/93fe450d5f5efb111397a34bc1fba0d50368a265/sbt-interface-0.13.15.jar, /root/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-reflect/2.10.6/3259f3df0f166f017ef5b2d385445808398c316c/scala-reflect-2.10.6.jar, /root/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-library/2.10.6/421989aa8f95a05a4f894630aad96b8c7b828732/scala-library-2.10.6.jar], keepAliveMode=SESSION}.
   Compiling with Zinc Scala compiler.
   Initialized Zinc Scala compiler: 0.938 secs
   Prepared Zinc Scala inputs: 1.749 secs
   Compiling 1 Scala source to /home/ubuntu/whisk/core/controller/build/classes/scala/main...
   Completed Scala compilation: 11.836 secs
   :core:controller:compileScala (Thread[Task worker for ':',5,main]) completed. Took 12.75 secs.
   
   BUILD SUCCESSFUL in 13s
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services