codeminders / javahidapi

Java API for HID (Human Interface) Devices
Other
10 stars 7 forks source link

Could not find or load main class com.codeminders.hidapi.HIDAPITest #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
On OS X Mountain Lion, libhidapi installed in /usr/local and after "make -C 
mac":

$ant run

Buildfile: /Users/samuel/Documents/Projects/emokit/javahidapi/build.xml

init:

build-project:
     [echo] hidapi: /Users/samuel/Documents/Projects/emokit/javahidapi/build.xml

run:
     [java] Error: Could not find or load main class com.codeminders.hidapi.HIDAPITest

BUILD FAILED
/Users/samuel/Documents/Projects/emokit/javahidapi/build.xml:102: Java 
returned: 1

Total time: 1 second

Original issue reported on code.google.com by Sam.Hall...@gmail.com on 27 Dec 2012 at 7:07

GoogleCodeExporter commented 9 years ago
However, I'm able to run the test from within IntelliJ if I tell it to use the 
"src" as a top level Java dir. Normally it goes "src/main/java" and maybe 
that's confused Maven.

Original comment by Sam.Hall...@gmail.com on 28 Dec 2012 at 12:49

GoogleCodeExporter commented 9 years ago
This is a very low priority report for me as I'm able to access everything via 
the maven artefact.

Original comment by Sam.Hall...@gmail.com on 28 Dec 2012 at 2:29