ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@antbuild.com>
Subject Re: Using Ant as a Pluggable Filter
Date Tue, 24 Jun 2003 19:46:03 GMT
Yes, ant can be called from a Java program.
A section of the on-line manual  http://ant.apache.org/manual/ is called
"Developing with Ant"
Antoine
----- Original Message -----
From: "Douglas Reames" <dougr@rmsfinance.com>
To: <user@ant.apache.org>
Sent: Tuesday, June 24, 2003 9:08 PM
Subject: Using Ant as a Pluggable Filter


> Can Ant be called from a java program?
>
> Example:
> [1] Call Method to create Ant Wrapper object from an HttpServlet thread,
> [2] Init wrapper object, and pass it HttpServletResponse output stream,
> [3] wrapper calls Ant in executeLogic() method,
> [4] executeLogic() produces a Byte Array,
> [5] wrapper writes Bytes Array to Response output stream, and
> [6] returns control to the caller
>
> Thank you for your time.
>
> regards,
> Douglas Reames
>
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message