Skip to content

Commit d32c250

Browse files
committed
Merge pull request #122 from rabbitmq/rabbitmq-java-client-37
Move build system to Maven (retains Ant tasks for backwards compatibility)
2 parents a09565d + fc94c0f commit d32c250

File tree

299 files changed

+725
-257
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

299 files changed

+725
-257
lines changed

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,8 @@ ebin/
1818
out/
1919
tmp/
2020
junit*.properties
21+
/target/
22+
/.DS_Store
23+
/.classpath
24+
/.project
25+
/.settings

build.xml

+15-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<project name="RabbitMQ Java client" default="build"
33
xmlns:bundlor="antlib:com.springsource.bundlor.ant">
44

5-
<property file="build.properties"/>
6-
<property file="config.properties"/>
5+
<property file="${basedir}/src/test/resources/build.properties"/>
6+
<property file="${basedir}/src/test/resources/config.properties"/>
77
<property environment="env"/>
88

99
<path id="javac.classpath">
@@ -81,7 +81,7 @@
8181

8282
<target name="build" depends="amqp-generate" description="Build the client library.">
8383
<mkdir dir="${javac.out}"/>
84-
<copy file="src/com/rabbitmq/client/impl/ClientVersion.java.in"
84+
<copy file="${maven.src.home}/com/rabbitmq/client/impl/ClientVersion.java.in"
8585
tofile="${src.generated}/com/rabbitmq/client/impl/ClientVersion.java">
8686
<filterset>
8787
<filter token="VERSION" value="${impl.version}"/>
@@ -340,6 +340,9 @@
340340
<jvmarg value="-Dmake.bin=${make.bin}"/>
341341
<jvmarg value="-Drabbitmqctl.bin=${rabbitmqctl.bin}"/>
342342
<jvmarg value="-Dsibling.rabbitmq_test.dir=${sibling.rabbitmq_test.dir}"/>
343+
<jvmarg value="-Dbroker.hostname=${broker.hostname}"/>
344+
<jvmarg value="-Dbroker.port=${broker.port}"/>
345+
<jvmarg value="-Dbroker.sslport=${broker.sslport}"/>
343346

344347
<jvmarg value="-Dkeystore.path=${CLIENT_KEYSTORE}"/>
345348
<jvmarg value="-Dkeystore.empty.path=${CLIENT_KEYSTORE_EMPTY}"/>
@@ -364,6 +367,9 @@
364367
<jvmarg value="-Dmake.bin=${make.bin}"/>
365368
<jvmarg value="-Drabbitmqctl.bin=${rabbitmqctl.bin}"/>
366369
<jvmarg value="-Dsibling.rabbitmq_test.dir=${sibling.rabbitmq_test.dir}"/>
370+
<jvmarg value="-Dbroker.hostname=${broker.hostname}"/>
371+
<jvmarg value="-Dbroker.port=${broker.port}"/>
372+
<jvmarg value="-Dbroker.sslport=${broker.sslport}"/>
367373

368374
<formatter type="plain"/>
369375
<formatter type="xml"/>
@@ -380,6 +386,9 @@
380386
<jvmarg value="-Dmake.bin=${make.bin}"/>
381387
<jvmarg value="-Drabbitmqctl.bin=${rabbitmqctl.bin}"/>
382388
<jvmarg value="-Dsibling.rabbitmq_test.dir=${sibling.rabbitmq_test.dir}"/>
389+
<jvmarg value="-Dbroker.hostname=${broker.hostname}"/>
390+
<jvmarg value="-Dbroker.port=${broker.port}"/>
391+
<jvmarg value="-Dbroker.sslport=${broker.sslport}"/>
383392

384393
<formatter type="plain"/>
385394
<formatter type="xml"/>
@@ -398,6 +407,9 @@
398407
<jvmarg value="-Dmake.bin=${make.bin}"/>
399408
<jvmarg value="-Drabbitmqctl.bin=${rabbitmqctl.bin}"/>
400409
<jvmarg value="-Dsibling.rabbitmq_test.dir=${sibling.rabbitmq_test.dir}"/>
410+
<jvmarg value="-Dbroker.hostname=${broker.hostname}"/>
411+
<jvmarg value="-Dbroker.port=${broker.port}"/>
412+
<jvmarg value="-Dbroker.sslport=${broker.sslport}"/>
401413

402414
<formatter type="plain"/>
403415
<formatter type="xml"/>

0 commit comments

Comments
 (0)