RE: Calling Ant from a JSP Page (2)

2001-09-21 Thread Massa, Ray
EMAIL PROTECTED] Subject: Re: Calling Ant from a JSP Page (2) On Thu, Sep 20, 2001 at 05:15:52PM -0700, Massa, Ray wrote: > First thanks for all the responses the first time! > > What I'm trying to do: [..] > Process p = Runtime.getRuntime().exec("c:\\ant\\bin\\ant.bat -buildfil

Re: Calling Ant from a JSP Page (2)

2001-09-20 Thread Jeff Turner
On Thu, Sep 20, 2001 at 05:15:52PM -0700, Massa, Ray wrote: > First thanks for all the responses the first time! > > What I'm trying to do: [..] > Process p = Runtime.getRuntime().exec("c:\\ant\\bin\\ant.bat -buildfile > c:\\ant\\bin\\build.xml -logfile c:\\ant\\bin\\foo.txt"); Ew. Why not jus

Re: Calling Ant from a JSP Page (2)

2001-09-20 Thread T Master
There already is an Ant API Download the source, and accompanying javadocs. - Original Message - From: "Massa, Ray" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 20, 2001 6:15 PM Subject: Calling Ant from a JSP Page (2) > First tha

Calling Ant from a JSP Page (2)

2001-09-20 Thread Massa, Ray
First thanks for all the responses the first time! What I’m trying to do: Call Ant from a JSP page. I created a JSP page that runs on Tomcat, with an HTML text link that calls a Servlet with the following code: try    { PrintWriter out = res.getWriter(); out.write("step 1");    //

RE: Calling Ant from a JSP page

2001-09-13 Thread Massa, Ray
Amazing...thank you so much! -Original Message- From: Jeff Turner [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 13, 2001 5:06 AM To: [EMAIL PROTECTED] Cc: '[EMAIL PROTECTED]' Subject: Re: Calling Ant from a JSP page On Wed, Sep 12, 2001 at 11:44:25AM -0700, Massa,

RE: Calling Ant from a JSP page

2001-09-13 Thread Massa, Ray
Thank you very much for all the info. -Original Message- From: Conor MacNeill [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 13, 2001 5:43 AM To: [EMAIL PROTECTED] Subject: Re: Calling Ant from a JSP page Jeff Turner wrote: > > I would appreciate it if proponents of &qu

Re: Calling Ant from a JSP page

2001-09-13 Thread Conor MacNeill
Jeff Turner wrote: > > I would appreciate it if proponents of "doing it properly" either provide code > to demonstrate how to embed Ant (with all command-line functionality intact), > or remove that (IMHO) misleading comment. The comment is not misleading - it is entirely right and running Main

Re: Calling Ant from a JSP page

2001-09-13 Thread Jeff Turner
On Wed, Sep 12, 2001 at 11:44:25AM -0700, Massa, Ray wrote: > Has anyone successful called Ant from a JSP page? Yes, I'm calling Ant from a JSP for a project now. I started by following the advice in the javadocs for org.apache.tools.ant.Main: "If you integrating Ant into some other tool, t

RE: Calling Ant from a JSP page

2001-09-13 Thread Lauren Commons
Original Message- > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, 13 September 2001 7:49 AM > > To: [EMAIL PROTECTED] > > Subject: RE: Calling Ant from a JSP page > > > > > > I'm sure there are ways to do this (take

RE: Calling Ant from a JSP page

2001-09-12 Thread Conor MacNeill
nal Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 13 September 2001 7:49 AM > To: [EMAIL PROTECTED] > Subject: RE: Calling Ant from a JSP page > > > I'm sure there are ways to do this (take a look at some IDE > integration sources > fo

RE: Calling Ant from a JSP page

2001-09-12 Thread yuri . gadow
; > Sent: Wednesday, September 12, 2001 1:30 PM > > To: '[EMAIL PROTECTED]' > > Subject: RE: Calling Ant from a JSP page > > > > > > Thanks for the help Carter! > > > > So to the best of your knowledge, Ant can only be called using Runtime &

Re: Calling Ant from a JSP page

2001-09-12 Thread Mitchell Ackermann
From: Carter A. Thompson <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 12, 2001 3:49 PM Subject: RE: Calling Ant from a JSP page Ray, That's a good question and I'm sorry I don't have the answer to that. It sounds plausible and if you do f

RE: Calling Ant from a JSP page

2001-09-12 Thread Carter A. Thompson
:[EMAIL PROTECTED]] > Sent: Wednesday, September 12, 2001 1:30 PM > To: '[EMAIL PROTECTED]' > Subject: RE: Calling Ant from a JSP page > > > Thanks for the help Carter! > > So to the best of your knowledge, Ant can only be called using Runtime > comma

RE: Calling Ant from a JSP page

2001-09-12 Thread Massa, Ray
er 12, 2001 1:04 PM To: [EMAIL PROTECTED] Subject: RE: Calling Ant from a JSP page I have a JSP page that runs a Perl script that calls Ant. In your case I suppose you could just substitute the perl script for an Ant call directly. In your JSP Page use something like this: Process m

RE: Calling Ant from a JSP page

2001-09-12 Thread Carter A. Thompson
' > Cc: '[EMAIL PROTECTED]' > Subject: Calling Ant from a JSP page > > > Has anyone successful called Ant from a JSP page? > > thanks > > ray

Calling Ant from a JSP page

2001-09-12 Thread Massa, Ray
Has anyone successful called Ant from a JSP page? thanks ray