Skip to content

Commit

Permalink
added info on native library location and auto-extract
Browse files Browse the repository at this point in the history
  • Loading branch information
hboutemy committed Dec 6, 2017
1 parent 007b935 commit 6251669
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions jansi-website/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,9 @@
<version>${jansi-native-version}</version>
<classifier>javadoc</classifier>
<outputDirectory>${basedir}/target/sitegen/documentation/native-api</outputDirectory>
<excludes>*.css</excludes>
<excludes>*.css</excludes><!-- TODO remove when upgrading jansi-native-version to 1.8, which has fixed javadoc -->
</artifactItem>
<artifactItem>
<artifactItem><!-- TODO remove when upgrading jansi-native-version to 1.8 -->
<groupId>org.fusesource.jansi</groupId>
<artifactId>jansi</artifactId>
<version>${project.version}</version>
Expand Down
2 changes: 1 addition & 1 deletion jansi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<dependency>
<groupId>org.fusesource.hawtjni</groupId>
<artifactId>hawtjni-runtime</artifactId>
<version>1.15</version>
<version>1.16-SNAPSHOT</version>
</dependency>

<dependency>
Expand Down
5 changes: 2 additions & 3 deletions jansi/src/main/java/org/fusesource/jansi/AnsiMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,10 @@ public static void main(String... args) throws IOException {
System.out.println("library.jansi.version= " + System.getProperty("library.jansi.version", ""));
Library lib = new Library("jansi", CLibrary.class);
lib.load();
/* TODO enable when upgrading hawtjni-runtime to 1.16 with https://github.com/fusesource/hawtjni/pull/36
System.out.println("path: " + lib.getNativeLibraryPath());
if (lib.getNativeLibrarySourceUrl() != null) {
System.out.println("source: " + lib.getNativeLibrarySourceUrl());
}*/
System.out.println("auto-extracted from: " + lib.getNativeLibrarySourceUrl());
}

System.out.println();

Expand Down

0 comments on commit 6251669

Please sign in to comment.