Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Web Services and Ant Scripts
Web Services and Ant Scripts [message #176171] Wed, 02 August 2006 20:34 Go to next message
Alex Lam is currently offline Alex LamFriend
Messages: 7
Registered: July 2009
Junior Member
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
Re: Web Services and Ant Scripts [message #176178 is a reply to message #176171] Wed, 02 August 2006 20:52 Go to previous messageGo to next message
Eclipse UserFriend
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 #176183 is a reply to message #176178] Wed, 02 August 2006 21:16 Go to previous messageGo to next message
Alex Lam is currently offline Alex LamFriend
Messages: 7
Registered: July 2009
Junior Member
Alex Smith wrote:
> 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?

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.

Thanks,
Alex
Re: Web Services and Ant Scripts [message #176232 is a reply to message #176183] Thu, 03 August 2006 15:34 Go to previous message
Eclipse UserFriend
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.
Previous Topic:WTP-ModelHandler
Next Topic:debugging jsp with oc4j
Goto Forum:
  


Current Time: Mon Dec 22 11:25:54 GMT 2014

Powered by FUDForum. Page generated in 0.07256 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software