[rabbitmq-discuss] Rabbit MQ Java Client Dev Env
Jerry Kuch
jerryk at rbcon.com
Tue Nov 13 16:32:32 GMT 2012
Hi, Myles:
You're getting closer. If you do an 'ant -p' you'll see:
[jerryk at strongmad .../co/rabbitmq-umbrella/rabbitmq-java-client]$ ant -p
Buildfile: /Users/jerryk/co/rabbitmq-umbrella/rabbitmq-java-client/build.xml
Main targets:
amqp-generate generate AMQP.java and AMQImpl.java from AMQP spec
amqp-generate-check check if codegen needs to be run
build Build the client library.
maven-bundle This creates a bundle to upload to the central maven
repo
test-client Run the client test suites.
test-functional Run the functional test suite.
test-suite Run all test suites.
Default target: build
That amqp-generate will need to happen, to mechanically produce a bunch of
AMQP boilerplate from the spec. Once that stuff appears, and you tell
IntelliJ where it is, you'll be able to navigate within the IDE as it it
was regular, plain old, lovingly human written code...
Best regards,
Jerry
On Tue, Nov 13, 2012 at 5:09 AM, Myles McDonnell <
mcdonnell.myles at googlemail.com> wrote:
> Hello Jerry
>
> I'm nearly there. I have IntelliJ IDEA installed and I have created a new
> project from existing source. Separately I have followed these instructions
> successfully http://www.rabbitmq.com/build-java-client.html so I can
> build from the command line.
>
> The piece I don't understand yet is around the code gen for the AMQP
> framing classes which is preventing me from compiling in IdeaJ it can't
> resolve com.rabbitmq.client.AMQP. If you can direct me to anything that
> might help me understand this piece that would be great. I'm guessing I
> need to run some sort of code gen process then reference that from the IDJ
> project?
>
> Thanks Again
> Myles
>
> On 13 November 2012 00:32, Jerry Kuch <jerryk at rbcon.com> wrote:
>
>> Hi, Myles:
>>
>> What Java dev environment do you normal work with? With IntelliJ IDEA
>> it's pretty easy to point the IDE at the src and test directories and add
>> the (very few) JAR dependencies...
>>
>> The build itself, and running tests, is easily accomplished with Ant
>> (although some of them require you to separately start up a RabbitMQ
>> broker, running locally).
>>
>> Best regards,
>> Jerry
>>
>>
>> On Mon, Nov 12, 2012 at 11:26 AM, Myles McDonnell <
>> mcdonnell.myles at googlemail.com> wrote:
>>
>>> Hello Jerry
>>>
>>> Thank you for your reply to my recent post WRT the above on the Rabbit
>>> list. I didn't explain myself very well, I'm actually looking for some
>>> guidance for setting up a dev. env to work on the java client, not build an
>>> app that references the java client. The reason being that I want to
>>> implement and contribute a .NET version of the QueuingConsumerCoDel (as
>>> referenced here
>>> http://www.rabbitmq.com/blog/2012/05/11/some-queuing-theory-throughput-latency-and-bandwidth/
>>> and https://gist.github.com/2658712) and in order to do that I need
>>> to understand the internals of the java client.
>>>
>>> Any advice much appreciated.
>>>
>>> Kind Regards
>>> Myles
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121113/c0ca509b/attachment.htm>
More information about the rabbitmq-discuss
mailing list