uni-bremen-agst / libvcs4j Goto Github PK
View Code? Open in Web Editor NEWA Java Library for Repository Mining
License: Other
A Java Library for Repository Mining
License: Other
I've added LibVCS4j 1.7.0 as a dependency for a gradle project on Windows, testing the version from both Bintray's jcenter repository and the Maven Central repository. It fails to compile, giving the message -
bad class file: C:\*location of class files in gradle cache*(de/unibremen/informatik/st/libvcs4j/VCSEngineBuilder.class)
class file has wrong version 55.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
The same project compiles successfully with version 1.6.0.
I've attached a basic example Gradle project example.zip, generated with gradle init
, updating build.gradle
to add the dependency, and src/main/java/example/Library.java
to use the VCSEngineBuilder
class, which causes the error message above. The same error occurs with other classes, so my guess is the problem is with the configuring of the versions in the release. To build the project and recreate the problem, run ./gradlew build
in the example
directory.
Constructors should be as simple as possible. These constructors, on the other hand, process the contents of a file and, thus, may throw an IOException.
When a revision range contains a merge of two or more concurrent branches, unrelated commits from these branches are considered as related when they interleave in time. For instance, consider the following situation: commit c1@branch b2@timestamp t1, c2@b2@t2 and c3@b1@t3 such that t1 < t2 < t3 and there are no commits between these three. Furthermore, branches b1 and b2 are merged in a later commit within the range. Then, iterating over the revision range will visit the three commits in the order of their timestamps, and the diff at commit c2 will be created with respect to c3 although these two commits are unrelated, resulting in wrong diffs.
The following code must be removed from Range#apply:
// Ignore removed files.
if (fileChange.getType() == FileChange.Type.REMOVE) {
return Optional.empty();
}
Removals are already checked by Position#apply.
Similar to the column
attribute, a lineOffset
allows to determine the position of an element within a line. However, tabs (\t) are treated as regular characters.
The SpoonModel class should provide methods to exclude individual files. Java's FilenameFilter should be suitable for this task.
Grab is unable to fetch commons-codec 1.9 from Maven Central. There are no issues with version 1.11, though. Since being a transitive dependency, we to convince gradle to overwrite version 1.9 with 1.11.
VCSModelFactory
must validate that the given relative path is not empty.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.