Skip to content

Commit da2bafb

Browse files
author
Simon MacMullen
committed
Merge in default
2 parents 3455f32 + af81a7e commit da2bafb

File tree

251 files changed

+10625
-4668
lines changed

Some content is hidden

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

251 files changed

+10625
-4668
lines changed

LICENSE-MPL-RabbitMQ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ EXHIBIT A -Mozilla Public License.
447447
The Original Code is RabbitMQ.
448448

449449
The Initial Developer of the Original Code is VMware, Inc.
450-
Copyright (c) 2007-2011 VMware, Inc. All rights reserved.''
450+
Copyright (c) 2007-2012 VMware, Inc. All rights reserved.''
451451

452452
[NOTE: The text of this Exhibit A may differ slightly from the text of
453453
the notices in the Source Code files of the Original Code. You should

Makefile

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ GNUPG_PATH=~
77

88
WEB_URL=http://www.rabbitmq.com/
99
NEXUS_STAGE_URL=http://oss.sonatype.org/service/local/staging/deploy/maven2
10+
MAVEN_NEXUS_VERSION=1.7
1011

1112
AMQP_CODEGEN_DIR=$(shell fgrep sibling.codegen.dir build.properties | sed -e 's:sibling\.codegen\.dir=::')
1213

@@ -36,15 +37,15 @@ javadoc-archive:
3637
ant javadoc
3738
cp -Rp build/doc/api build/$(JAVADOC_ARCHIVE)
3839
(cd build; tar -zcf $(JAVADOC_ARCHIVE).tar.gz $(JAVADOC_ARCHIVE))
39-
(cd build; zip -r $(JAVADOC_ARCHIVE).zip $(JAVADOC_ARCHIVE))
40+
(cd build; zip -q -r $(JAVADOC_ARCHIVE).zip $(JAVADOC_ARCHIVE))
4041
(cd build; rm -rf $(JAVADOC_ARCHIVE))
4142

4243
post-dist:
4344
@[ -n "$(TARBALL_NAME)" ] || (echo "Please set TARBALL_NAME."; false)
4445
chmod a+x build/$(TARBALL_NAME)/*.sh
4546
cp LICENSE* build/$(TARBALL_NAME)
4647
(cd build; tar -zcf $(TARBALL_NAME).tar.gz $(TARBALL_NAME))
47-
(cd build; zip -r $(TARBALL_NAME).zip $(TARBALL_NAME))
48+
(cd build; zip -q -r $(TARBALL_NAME).zip $(TARBALL_NAME))
4849
(cd build; rm -rf $(TARBALL_NAME))
4950

5051
srcdist: distclean
@@ -60,10 +61,10 @@ srcdist: distclean
6061
>> build/$(SRC_ARCHIVE)/README; \
6162
fi
6263
(cd build; tar -zcf $(SRC_ARCHIVE).tar.gz $(SRC_ARCHIVE))
63-
(cd build; zip -r $(SRC_ARCHIVE).zip $(SRC_ARCHIVE))
64+
(cd build; zip -q -r $(SRC_ARCHIVE).zip $(SRC_ARCHIVE))
6465
(cd build; rm -rf $(SRC_ARCHIVE))
6566

66-
stage-maven-bundle: maven-bundle
67+
stage-and-promote-maven-bundle: maven-bundle
6768
( \
6869
cd build/bundle; \
6970
NEXUS_USERNAME=`cat $(GNUPG_PATH)/../nexus/username`; \
@@ -77,23 +78,14 @@ stage-maven-bundle: maven-bundle
7778
amqp-client-$(VERSION).jar \
7879
amqp-client-$(VERSION)-javadoc.jar \
7980
amqp-client-$(VERSION)-sources.jar && \
80-
mvn org.sonatype.plugins:nexus-maven-plugin:staging-close \
81-
-Dnexus.url=http://oss.sonatype.org \
82-
-Dnexus.username=$$NEXUS_USERNAME \
83-
-Dnexus.password=$$NEXUS_PASSWORD \
84-
-B \
85-
-Dnexus.description="Public release of $$VERSION" \
86-
)
87-
88-
promote-maven-bundle:
89-
( \
90-
NEXUS_USERNAME=`cat $(GNUPG_PATH)/../nexus/username`; \
91-
NEXUS_PASSWORD=`cat $(GNUPG_PATH)/../nexus/password`; \
92-
mvn org.sonatype.plugins:nexus-maven-plugin:staging-promote \
81+
mvn org.sonatype.plugins:nexus-maven-plugin:$(MAVEN_NEXUS_VERSION):staging-close \
82+
org.sonatype.plugins:nexus-maven-plugin:$(MAVEN_NEXUS_VERSION):staging-promote \
9383
-Dnexus.url=http://oss.sonatype.org \
9484
-Dnexus.username=$$NEXUS_USERNAME \
9585
-Dnexus.password=$$NEXUS_PASSWORD \
9686
-Dnexus.promote.autoSelectOverride=true \
9787
-DtargetRepositoryId=releases \
9888
-B \
89+
-Dnexus.description="Public release of $$VERSION" \
9990
)
91+

README-EXAMPLES

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ HelloServer - Acts as an RPC server over AMQP.
6363
HelloJsonClient - Performs a simple JSON-RPC call over AMQP.
6464
HelloJsonServer - Acts as a JSON-RPC server over AMQP.
6565
LogTail - Tails the server logs.
66-
SendString - Sends a user supplied message over AMQP.
66+
SendString - Sends a user-supplied message over AMQP.
6767

6868

6969
More Complex Examples

build.xml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,7 @@
227227
<java fork="true" classname="${test.main}"
228228
failonerror="${haltOnFailureJava}" errorproperty="test.failure">
229229
<jvmarg value="-Xdebug"/>
230-
<arg value="${broker.hostname}"/>
231-
<arg value="${broker.port}"/>
230+
<arg value="amqp://${broker.hostname}:${broker.port}"/>
232231
<classpath>
233232
<path refid="test.javac.classpath"/>
234233
<pathelement path="${javac.out}"/>
@@ -242,8 +241,7 @@
242241
failonerror="${haltOnFailureJava}" errorproperty="test.failure">
243242
<jvmarg value="-Xdebug"/>
244243
<jvmarg value="-Dsilent=true"/>
245-
<arg value="${broker.hostname}"/>
246-
<arg value="${broker.port}"/>
244+
<arg value="amqp://${broker.hostname}:${broker.port}"/>
247245
<classpath>
248246
<path refid="test.javac.classpath"/>
249247
<pathelement path="${javac.out}"/>
@@ -257,8 +255,7 @@
257255
failonerror="${haltOnFailureJava}" errorproperty="test.failure">
258256
<jvmarg value="-Xdebug"/>
259257
<jvmarg value="-Dsilent=true"/>
260-
<arg value="${broker.hostname}"/>
261-
<arg value="${broker.port}"/>
258+
<arg value="amqp://${broker.hostname}:${broker.port}"/>
262259
<classpath>
263260
<path refid="test.javac.classpath"/>
264261
<pathelement path="${javac.out}"/>
@@ -270,8 +267,7 @@
270267
<target name="producer" depends="test-build">
271268
<java fork="true" classname="com.rabbitmq.examples.ProducerMain">
272269
<jvmarg value="-Xdebug"/>
273-
<arg value="${broker.hostname}"/>
274-
<arg value="${broker.port}"/>
270+
<arg value="amqp://${broker.hostname}:${broker.port}"/>
275271
<arg value="${test.producer.rate-limit}"/>
276272
<arg value="${test.producer.message-count}"/>
277273
<arg value="${test.producer.send-completion}"/>
@@ -288,8 +284,7 @@
288284
<target name="consumer" depends="test-build">
289285
<java fork="true" classname="com.rabbitmq.examples.ConsumerMain">
290286
<jvmarg value="-Xdebug"/>
291-
<arg value="${broker.hostname}"/>
292-
<arg value="${broker.port}"/>
287+
<arg value="amqp://${broker.hostname}:${broker.port}"/>
293288
<classpath>
294289
<path refid="test.javac.classpath"/>
295290
<pathelement path="${javac.out}"/>
@@ -496,3 +491,4 @@
496491
</bundlor:bundlor>
497492
</target>
498493
</project>
494+

bundlorTemplate.mf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ Bundle-Name: ${bundle.name}
44
Bundle-Vendor: SpringSource
55
Bundle-Version: ${impl.version}
66
Import-Template:
7-
org.apache.commons.io.*;version="[1.4,2)",
87
javax.*;version=0

bundlorTestTemplate.mf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Bundle-Name: ${bundle.name}
44
Bundle-Vendor: SpringSource
55
Bundle-Version: ${impl.version}
66
Import-Template:
7-
org.apache.commons.io.*;version="[1.4,2)",
8-
org.apache.commons.cli.*;version="[1.2,2)",
7+
org.apache.commons.io.*;version="[1.2,2)",
8+
org.apache.commons.cli.*;version="[1.1,2)",
99
com.rabbitmq.*;version="${impl.version:[=.=.=,=.+1)}",
1010
junit.*;version="[4,5)",
1111
javax.*;version=0

0 commit comments

Comments
 (0)