Skip to content

sshindercm/srclib-java

 
 

Repository files navigation

srclib-java Build Status

Requirements

srclib-java requires:

  • Oracle JDK 8 or OpenJDK 8
  • Maven 3
  • Gradle 2.1

WARNING

tools.jar that comes with the Oracle 8 JDK and OpenJDK 8 are both buggy as of November 7th, 2014. com.sun.source.util.JavacTask.analyze() throws a null pointer exception on some repositories. See https://bugs.openjdk.java.net/browse/JDK-8062359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel for a description of the problem and a workaround. Build instructions for OpenJDK 8 are here: http://openjdk.java.net/projects/build-infra/guide.html.

Building

srclib-java can be build and registered with the following two commands:

make
src toolchain add sourcegraph.com/sourcegraph/srclib-java

Testing

Run git submodule update --init the first time to fetch the submodule test cases in testdata/case.

make test - Test in program mode

make test-gen - Generate new test data in program mode

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 96.9%
  • Go 2.3%
  • Other 0.8%