Hi everybody<br><br>I'm having trouble building the latest version of ABCL from Netbeans. Can you help me out?<br><br>I work with Netbeans 6.8 (just upgraded for ANT) and run the build from the menu. Running the generated jar with 'java -jar abcl.jar geeft' gives the following message:<br>
<br>Failed to load Main-Class manifest attribute from<br>abcl.jar<br><br>I noticed that the manifest.mf just contains the following:<br><br>Manifest-Version: 1.0<br>Ant-Version: Apache Ant 1.7.1<br>Created-By: 1.6.0_0-b11 (Sun Microsystems Inc.)<br>
Class-Path: <br><br>Is the Netbeans build supposed to work? Does anybody have any idea why the Main is not in the generated manifest?<br><br>A second question is what the best way is to include the jna library. I'm trying to compile CFFI with ABCL but that required jna as the following quote from CFFI's code shows:<br>
<br>;;; This implementation requires the Java Native Access (JNA) library.<br>;;; <<a href="http://jna.dev.java.net/">http://jna.dev.java.net/</a>><br><br>I downloaded the required jna.jar and figured that I could include it somehow in abcl.jar after building that. Unfortunately that build failed but I would like to be able to use it from Netbeans anyway. Does anybody know how to do that? My knowledge of the Java ecosystem is limited so figuring this out for ABCL specifically is not easy.<br>
<br>Finally I would appreciate feedback on the following patch for TRIVIAL-FEATURES I needed to write to get CFFI to compile. It turned out that the endianess feature wasn't set.<br><br>diff -rN old-trivial-features/src/tf-abcl.lisp new-trivial-features/src/tf-abcl.lisp<br>
31c31,38<br>< ;;; TODO<br>---<br>> (pushnew (let ((order (jcall "toString"<br>> (jstatic "nativeOrder" "java.nio.ByteOrder"))))<br>> (cond ((string-equal order "LITTLE_ENDIAN")<br>
> :little-endian)<br>> ((string-equal order "BIG_ENDIAN")<br>> :big-endian)<br>> (t (error "Byte order ~A unknown" order))))<br>
> *features*)<br><br>Like I said, I'm no Java expert and feedback would be helpful. <br><br>Any comment, help or pointers would be appreciated.<br><br>Paul<br>