Uploaded image for project: 'Byteman'
  1. Byteman
  2. BYTEMAN-223

fixed tools.jar profile makes hibernate-search not buildable on Mac w/ Jdk 7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.1.1
    • 2.1.0
    • None
    • None

    Description

      byteman is test scope dependency of hibernate-search, and due to the profile in byteman, it is always trying to fine the tools jar in _ <tools.jar>${java.home}/../Classes/classes.jar</tools.jar>_

      but from JDK 7, it is Oracle, that providing JDK for Mac OS, and this Oracle JDK, there is a tools.jar, just like on other platform, and it is located in ${JDK_HOME}/lib/tools.jar

      for now, it is not buildable on mac, and an error is always given like below:

      "
      [ERROR] Failed to execute goal on project hibernate-search-engine: Could not resolve dependencies for project org.hibernate:hibernate-search-engine:jar:4.2.0-SNAPSHOT: Could not find artifact com.sun:tools:jar:1.6 at specified path /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/../Classes/classes.jar ->
      "

      Attachments

        Activity

          People

            rhn-engineering-adinn Andrew Dinn
            shaozliu Strong Liu(刘少壮) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: