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
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
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
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");
//
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,
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
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
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
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
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
; > 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
&
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
:[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
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
'
> Cc: '[EMAIL PROTECTED]'
> Subject: Calling Ant from a JSP page
>
>
> Has anyone successful called Ant from a JSP page?
>
> thanks
>
> ray
Has anyone successful called Ant from a JSP page?
thanks
ray
16 matches
Mail list logo