From ac3af97f2d556c3738e904188c571ee0833fc1dc Mon Sep 17 00:00:00 2001 From: Alexander Barker Date: Tue, 21 Jan 2014 17:13:33 -0800 Subject: [PATCH] Cleaned up native code compilation. --- build.num | 6 +- build.xml | 207 +++++++++++---------- src/java/org/jnativehook/GlobalScreen.java | 2 +- 3 files changed, 109 insertions(+), 106 deletions(-) diff --git a/build.num b/build.num index a47da75d..5716f8f5 100644 --- a/build.num +++ b/build.num @@ -1,5 +1,5 @@ #Build Number for ANT. Do not edit! -build.major=1 -build.minor=2 -build.revision=0 +ant.build.major=1 +ant.build.minor=2 +ant.build.revision=0 diff --git a/build.xml b/build.xml index 6c0066ec..2efe4711 100644 --- a/build.xml +++ b/build.xml @@ -24,18 +24,23 @@ - + - + + + + - - - - - - + + + + + + + + @@ -52,7 +57,7 @@ - + @@ -72,24 +77,18 @@ - - Cleaning all build related items... - - - - - - + + Cleaning all build related items... - + + + + - - + + @@ -100,12 +99,28 @@ + + + - + + + + + + Cleaning all build related items... + + + + + @@ -118,9 +133,9 @@ - - - + + + @@ -208,34 +223,34 @@ - + - + - + - + - + - + - + @@ -244,7 +259,7 @@ - + @@ -252,19 +267,19 @@ - + - + - + + + + + + + + + + + + + + + + + + - - + + - - + + - + - - + + @@ -325,7 +357,7 @@ Bootstrapping libUIOHook... - + @@ -333,11 +365,10 @@ Configuring libUIOHook source... - debug + debug quiet static shared - demo pic @@ -354,7 +385,7 @@ - + @@ -375,13 +406,13 @@ Creating JNI Headers... - + - + @@ -393,17 +424,6 @@ - - - - - - - - - - - - - + + - - + + - - - - - + + @@ -451,35 +468,21 @@ Linking C objects... - + - - - - - - + - - - - - - - + + + + - - - - + @@ -494,7 +497,7 @@ - + @@ -512,9 +515,9 @@ Performing JUnit tests... - + - + @@ -553,7 +556,7 @@ - + @@ -626,9 +629,9 @@ diff --git a/src/java/org/jnativehook/GlobalScreen.java b/src/java/org/jnativehook/GlobalScreen.java index 139c1827..8f6f262b 100644 --- a/src/java/org/jnativehook/GlobalScreen.java +++ b/src/java/org/jnativehook/GlobalScreen.java @@ -445,7 +445,7 @@ public final void setEventDispatcher(ExecutorService dispatcher) { * include unpacking and loading the library into the Java Virtual Machine. */ private static void loadNativeLibrary() { - System.out.println( + System.out.println("\n" + "JNativeHook: Global keyboard and mouse hooking for Java.\n" + "Copyright (C) 2006-2014 Alexander Barker. All Rights Received.\n" + "https://github.com/kwhat/libuiohook/\n" +