Ant is NOT a deploy/installation tool. As long as copy, ftp, ssh, sshexec etc are good enough, ok. But there is no fail over, no recovery, no "transactionality", no easy way of management of installation nodes, ... There are other tools for that. OpenSource like SmartFrog [1] or commercial like NetInstall [2] or Asdis [3]. Jan [1] http://www.smartfrog.org/ [2] http://www.netinstall.com/ [3] http://www.asdis.com/products/server/
________________________________ Von: John5342 [mailto:[EMAIL PROTECTED] Gesendet: Do 18.09.2008 17:27 An: Ant Users List Betreff: Re: How to automate Ant deploy? 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] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
