Is the examples documentation out of date or are the examples missing?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Is the examples documentation out of date or are the examples missing?

markj
Hi, I just downloaded ActiveMQ 5.10.0 and I am looking at: http://activemq.apache.org/examples.html which shows:
Running the examples from a binary distro
You can use Ant to compile and run the examples. In another shell, run the examples:
cd example
ant producer
In another shell type:
cd example
ant consumer
However, there is no example directory, only an examples directory. In the examples directory, there is no build.xml and so I do not believe that ant is going to be able to run at all, and running the commands on the wiki produces the following:
C:\apache-activemq-5.10.0\examples>ant producer
Buildfile: build.xml does not exist!
Build failed
So, is the wiki out of date, or is the producer/consumer example missing? Thanks! Mark
Reply | Threaded
Open this post in threaded view
|

Re: Is the examples documentation out of date or are the examples missing?

ceposta
Yah, it's out of date.

The examples still live in $ACTIVEMQ_HOME/examples, but there are more of
them, and separated out by protocol.

Check out the $ACTIVEMQ_HOME/examples/openwire/java

Would be great if you could update the wiki page too if you get a sec :)

https://cwiki.apache.org/confluence/display/ACTIVEMQ/Examples




On Thu, Jul 10, 2014 at 8:59 AM, markj <[hidden email]> wrote:

> Hi,I just downloaded ActiveMQ 5.10.0 and I am looking
> at:http://activemq.apache.org/examples.htmlwhich shows:
> Running the examples from a binary distroYou can use Ant to compile and run
> the examples. In another shell, run the examples:cd exampleant producerIn
> another shell type:cd exampleant consumer
> However, there is no example directory, only an examples directory.  In the
> examples directory, there is no build.xml and so I do not believe that ant
> is going to be able to run at all, and running the commands on the wiki
> produces the following:
> C:\apache-activemq-5.10.0\examples>ant producerBuildfile: build.xml does
> not
> exist!Build failed
> So, is the wiki out of date, or is the producer/consumer example
> missing?Thanks!Mark
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Is-the-examples-documentation-out-of-date-or-are-the-examples-missing-tp4683093.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.




--
*Christian Posta*
http://www.christianposta.com/blog
http://fabric8.io
twitter: @christianposta