[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Build broken with new AIO tests

clebert.suconic@jboss.com do-not-reply at jboss.com
Thu May 8 09:19:35 EDT 2008


"timfox" wrote : Ok, I worked out what is happening:
  | 
  | AIO is picked up successfully when running tests on the command line, but is not picked up when running tests in eclipse.
  | 
  | Probably because java.lib path is not set.
  | 
  | 

That's what I said few posts ago:

"clebert.suconic at jboss.com" wrote : I have changed the native library load a bit to make sure the conditional test for 32 and 64 bits are working. 
  | 
  | To make your life easier during development, you could change the script that starts your IDE to something like this:
  | 
  | export LD_LIBRARY_PATH=/extra/work-clebert/workspaces/jboss-messaging-trunk/trunk/native/bin:$LD_LIBRARY_PATH
  |   | /usr/share/eclipse/eclipse
  |   | 
  | 
  | 

"timfox" wrote : 
  | 
  | Can we avoid this dependency on java lib path? I don't really like the idea of users having to set env properties to get our software to run. It's messy IMHO.

The only way around would be to install the library on /usr/lib, and we should have that when we have the RPM or .DEB package.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149440#4149440

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149440



More information about the jboss-dev-forums mailing list