[rabbitmq-discuss] [A] compiling java client lib fails on OSX
Chuck Remes
cremes.devlist at mac.com
Sun Dec 28 21:57:48 GMT 2008
I'm trying to learn my way around the java client libraries for
rabbitmq. It's pretty handy to poke around a new system by modifying
example programs to see how their behavior changes.
However, I had trouble compiling the java libraries. Whenever I ran
'ant' it blew up on the third step (amqp-generate). I *could*
successfully run the tests from the binary download of the client libs.
Here's a pastie with the output of the failed compilation attempt:
http://pastie.org/347962
The solution was actually pretty simple. Note that the pastie says:
Directory /Volumes/spiff/cremes/Downloads/rabbitmq-java-client-1.5.0/
build/gensrc/com/rabbitmq/client creation was not successful for an
unknown reason
This is because in the source directory there is a file called BUILD
with the build instructions inside. By default the OSX filesystem is
case insensitive, so the BUILD file blocks the creation of the
lowercase build directory.
I recommend the BUILD file be renamed to README or somesuch.
cr
More information about the rabbitmq-discuss
mailing list