Skip to content

Commit

Permalink
Release ScalaZ3 2.1 with libz3 bundled
Browse files Browse the repository at this point in the history
  • Loading branch information
colder committed Oct 18, 2013
1 parent fa3e20f commit 76b60b8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ respectively. (eg: z3/4.3-unix-64b/include/z3.h and
z3/4.3-unix-64b/lib/libz3.so).

2) Run 'sbt package' to create the jar file. It will be in
'target/scala-2.10/scalaz3\_2.10-2.0.jar' and will contain the shared library
'target/scala-2.10/scalaz3\_2.10-2.1.jar' and will contain the shared library
dependencies.

3) For testing, run
Expand All @@ -36,7 +36,7 @@ respectively. (eg: z3/4.3-unix-64b/include/z3.h and
z3/4.3-unix-64b/lib/libz3.dnylib).

2) Run 'sbt package' to create the jar file. It will be in
'target/scala-2.10/scalaz3\_2.10-2.0.jar' and will contain the shared library
'target/scala-2.10/scalaz3\_2.10-2.1.jar' and will contain the shared library
dependencies.

3) For testing, run
Expand All @@ -52,5 +52,5 @@ Windows
include/\*.h to /z3/[z3version]/include/. (eg: z3/4.3-win-64b/bin/libz3.dll)

3) Run 'sbt package' to create the jar file. It will end up in
'target/scala2.10/scalaz3\_2.10-2.0.jar' and will contain the shared library
'target/scala2.10/scalaz3\_2.10-2.1.jar' and will contain the shared library
dependencies.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name := "ScalaZ3"

version := "2.0"
version := "2.1"

organization := "ch.epfl.lara"

Expand Down
7 changes: 1 addition & 6 deletions src/main/java/z3/Z3Wrapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ public final class Z3Wrapper {

private static final String versionString = LibraryChecksum.value;

//private static final String isDebug = System.getProperty("scalaz3.debug.load");
private static final String isDebug = "aaa";
private static final String isDebug = System.getProperty("scalaz3.debug.load");

// this is just to force class loading, and therefore library loading.
static {
Expand All @@ -54,10 +53,6 @@ private static void debug(String msg) {
}
}

public static void main(String[] args) {
System.out.println("yay");
}

public static boolean withinJar() {
java.net.URL classJar = Z3Wrapper.class.getResource("/lib-bin/");
return classJar != null;
Expand Down

0 comments on commit 76b60b8

Please sign in to comment.