[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
Tue May 6 12:06:24 EDT 2008


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
  | 


This way you can run any testcase directly from your IDE. 

If you don't want to define that.. you can add the argument -Djava.library.path=<path to the same place> on the JVM arguments before starting your test.. but this is a little bit annoying having to do it every time. If you choose this path, on Eclipse you can do:

I - Run->Open Run Dialog
II - Under JUnit, find the Item specific to the test you want to run
III - on the Arguments folder, change the VM ARguments:
    -Djava.library.path=<path to the place of the .SO>


But you aways need to make sure you have a kernel 2.6+ and libaio available. (yum libaio, aptitude install libaio, or the equivalent deb command).

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

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



More information about the jboss-dev-forums mailing list