|
Re: Web Services and Ant Scripts [message #176178 is a reply to message #176171] |
Wed, 02 August 2006 20:52 |
Eclipse User |
|
|
|
Originally posted by: foo.foo.org
Alex Lam wrote:
> Hi,
>
> I was wondering if anyone knows if its possible to run Ant scripts from
> a Web Service (with a Tomcat server)? If possible, how would I go about
> doing this?
>
> I looked at using AntRunner, but that seems to run Ant Builds inside
> Eclipse, so I don't think I can use that (unless I am mistaken?).
>
> Thanks for any tips/advice you can give me,
> Alex
You can run Ant tasks, they're just Java classes. You need to
instantiate a project and so on. What are you trying to do and how is
this related to Eclipse WTP?
|
|
|
|
Re: Web Services and Ant Scripts [message #176232 is a reply to message #176183] |
Thu, 03 August 2006 15:34 |
Eclipse User |
|
|
|
Originally posted by: foo.foo.org
Alex Lam wrote:
>
> I have a Ant script that calls a Java program which parses a file. My
> end goal is to be able to call this Ant script from a web service.
>
> I thought it would relate to WTP because I am developing a Dynamic Web
> Project with bottom up Java bean Web Service using the Eclipse WTP. If I
> am posting in the wrong forum, my apologies.
I would bypass Ant and call the Java program from your Web service
directly.
|
|
|
Powered by
FUDForum. Page generated in 0.04894 seconds