Dont think there is a deploy task for it (certainly not that comes with
ant). I assume you mean something like installing it somewhere and then
running? What you can try and do is recreate the installation instructions
using ant. Probably something along the lines of:

<target name="activemq.install">
  <untar src="${activemq.tarball}" dest=${activeqm.install.dir}"
compression="gzip"/>
  <chmod file="${activeqm.install.dir}/bin/activeqm" perm="755"/>
</target>

<target name="activeqm.run" depends="activeqm.install">
  <exec dir="${activeqm.install.dir}"
executable="${activeqm.install.dir}/bin/activeqm"/>
</target>

Thats only a quick throw together though. Dont expect it to work without
some tweaking for your environment and dont forget to set all the
appropriate properties. This is all based on the getting started guide and a
quick look at the ant tasks available. You should look yourself. Most simple
things can be done using existing tasks.

2008/9/18 Jan K <[EMAIL PROTECTED]>

>
> ANT deploy to install ActiveMQ .Is this possible?
>
> Scot P. Floess wrote:
> >
> >
> > Deploy of...what?
> >
> > On Thu, 18 Sep 2008, Jan K wrote:
> >
> >>
> >> Can anyone suggest me some ideas how to do this?
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/How-to-automate-Ant-deploy--tp19553582p19553582.html
> >> Sent from the Ant - Users mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> > Scot P. Floess
> > 27 Lake Royale
> > Louisburg, NC  27549
> >
> > 252-478-8087 (Home)
> > 919-754-4592 (Work)
> >
> > Chief Architect JPlate   http://sourceforge.net/projects/jplate
> > Chief Architect JavaPIM  http://sourceforge.net/projects/javapim
> >
> > Architect Keros          http://sourceforge.net/projects/keros
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/How-to-automate-Ant-deploy--tp19553582p19554012.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to