Giter Site home page Giter Site logo

Comments (4)

AmailP avatar AmailP commented on September 12, 2024

It's probably a problem of your JAVA_HOME environment variable.

from robot-plugin.

DirkRichter avatar DirkRichter commented on September 12, 2024

nope: JAVA_HOME is set. What else could it be? A missing dependency?
Here is the log:
C:\dev\githup\robot-plugin>echo %JAVA_HOME%
C:\Program Files (x86)\Java\jre1.8.0_111

C:\dev\githup\robot-plugin>gradlew build
Download https://www.jetbrains.com/intellij-repository/releases/com/jetbrains/intellij/idea/ideaIC/2017.2.1/ideaIC-2017.2.1.pom
Download https://www.jetbrains.com/intellij-repository/releases/com/jetbrains/intellij/idea/ideaIC/2017.2.1/ideaIC-2017.2.1.zip
Download https://www.jetbrains.com/intellij-repository/releases/com/jetbrains/intellij/idea/ideaIC/2017.2.1/ideaIC-2017.2.1-sources.jar
:compileJava UP-TO-DATE
:downloadPython UP-TO-DATE
:unzipPython UP-TO-DATE
:copyPythonJarToLib UP-TO-DATE
:downloadJFlex UP-TO-DATE
:downloadSkeleton UP-TO-DATE
:generateLexer UP-TO-DATE
:compileScala FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':compileScala'.

Could not find tools.jar

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 3 mins 52.35 secs

C:\dev\githup\robot-plugin>

from robot-plugin.

AmailP avatar AmailP commented on September 12, 2024

You should set your JDK, not the JRE as JAVA_HOME

from robot-plugin.

DirkRichter avatar DirkRichter commented on September 12, 2024

thanks.

Now using JDK the build succeed with some failing tests:

:test
amailp.intellij.robot.psi.reference.LibraryToDefinitionReferenceTest > testReferencesAllowClassWithNameOtherThanModule FAILED
org.scalatest.exceptions.TestFailedException at LibraryToDefinitionReferenceTest.scala:101

amailp.intellij.robot.psi.reference.LibraryToDefinitionReferenceTest > testReferencesAllowNestedPackages FAILED
org.scalatest.exceptions.TestFailedException at LibraryToDefinitionReferenceTest.scala:69

amailp.intellij.robot.psi.reference.LibraryToDefinitionReferenceTest > testReferencesWithoutPackage FAILED
org.scalatest.exceptions.TestFailedException at LibraryToDefinitionReferenceTest.scala:27

amailp.intellij.robot.psi.reference.LibraryToDefinitionReferenceTest > testReferencesAllowPackages FAILED
org.scalatest.exceptions.TestFailedException at LibraryToDefinitionReferenceTest.scala:48

amailp.intellij.robot.psi.reference.LibraryToDefinitionReferenceTest > testReferencesAllowClassWithoutModule FAILED
org.scalatest.exceptions.TestFailedException at LibraryToDefinitionReferenceTest.scala:112

amailp.intellij.robot.psi.reference.LibraryToDefinitionReferenceTest > testReferencesAllowClass FAILED
org.scalatest.exceptions.TestFailedException at LibraryToDefinitionReferenceTest.scala:90

amailp.intellij.robot.psi.reference.PythonKeywordToDefinitionReferenceTest > testReferenceToClassMethod FAILED
org.scalatest.exceptions.TestFailedException at PythonKeywordToDefinitionReferenceTest.scala:66

amailp.intellij.robot.psi.reference.PythonKeywordToDefinitionReferenceTest > testReferenceFromMultipleWordKeyword FAILED
org.scalatest.exceptions.TestFailedException at PythonKeywordToDefinitionReferenceTest.scala:29

amailp.intellij.robot.psi.reference.PythonKeywordToDefinitionReferenceTest > testReferenceIgnoringSpaces FAILED
org.scalatest.exceptions.TestFailedException at PythonKeywordToDefinitionReferenceTest.scala:42

amailp.intellij.robot.psi.reference.PythonKeywordToDefinitionReferenceTest > testSimpleReference FAILED
org.scalatest.exceptions.TestFailedException at PythonKeywordToDefinitionReferenceTest.scala:16
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=250m; support was removed in 8.0

41 tests completed, 10 failed
:test FAILED

from robot-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.