Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 14711 invoked from network); 15 Dec 2003 18:16:03 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 15 Dec 2003 18:16:03 -0000 Received: (qmail 79728 invoked by uid 500); 15 Dec 2003 18:15:46 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 79685 invoked by uid 500); 15 Dec 2003 18:15:46 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 79672 invoked from network); 15 Dec 2003 18:15:46 -0000 Received: from unknown (HELO sn1.cwihosting.com) (66.216.127.19) by daedalus.apache.org with SMTP; 15 Dec 2003 18:15:46 -0000 Received: from adsl-66-218-47-238.dslextreme.com ([66.218.47.238] helo=andydev4) by sn1.cwihosting.com with asmtp (Exim 4.24) id 1AVxG1-0005nm-Bf for user@ant.apache.org; Mon, 15 Dec 2003 12:15:49 -0600 From: "Andrew Chandler" To: "'Ant Users List'" Subject: RE: Running Ant from a web page Date: Mon, 15 Dec 2003 10:15:38 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <20031215174523.74793.qmail@web80001.mail.yahoo.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPDM0CJ77c8uKsoTWCxQ5TEL7gXaAAA+huQ Message-Id: X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sn1.cwihosting.com X-AntiAbuse: Original Domain - ant.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - riftware.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Probably should check out the AntHill project - its opensource so you could see how they do things.... http://sourceforge.net/projects/anthill/ > -----Original Message----- > From: alan brown [mailto:alanbrown@pacbell.net] > Sent: Monday, December 15, 2003 9:45 AM > To: Ant Users List > Subject: Re: Running Ant from a web page > > (With the caveat that I haven't tried it...) > > The simplest thing I can think of... > > As Ant is a java tool, you should be able to call the class > directly from your servlet. You could also write a custom > task to write the results to a file and then forward your > servlet to a JSP that includes that file in its page. > > alan > > > > David Balch wrote: > Hi, > > Can anyone suggest ways of running an Ant target from a > webpage, ideally being able to send data back as part of an > HTML page as well (perhaps using the echo task)? > > Cheers, > Dave. > > -- > David Balch. | Web developer. > T: +44 (0)1865 286932 | Technology-Assisted Lifelong Learning. > F: +44 (0)1865 286922 | University of Oxford. > > TALL, OUDCE and the University of Oxford accept no legal > responsibility for the contents of this message. Any views or > opinions presented are only those of the author and not those > of TALL, or OUDCE, or the University of Oxford. > If this email has come to you in error please delete it and > any attachments > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For > additional commands, e-mail: user-help@ant.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org