Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » task wsgen not found
task wsgen not found [message #522417] Mon, 22 March 2010 15:21 Go to next message
Timo Heck is currently offline Timo HeckFriend
Messages: 4
Registered: March 2010
Location: Germany
Junior Member
Hi,
I recently downloaded the latest eclipse JEE distribution.
Mainly trying to create a new web service in an already existing web project.

Now I created my annotated class and had the ant scripts created.
But when I try to run the ant script I get the following error
BUILD FAILED
D:\Workspace\conversion-service\ant\axis_bujava.xml:10: Problem: failed to create task or type wsgen
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.


I checked the ant settings and the wsgen task is defined. I am using java 1.6 runtime and tomcat 6. Does somebody know what I am missing here?

Update:
I figured out that the ant task configured under preferences points to a plugin location eclipse\configuration\org.eclipse.osgi\bundles\547\1\.cp\ant -lib\anttask.jar

This folder does not exist. Is there some plugin missing I am not aware of?

[Updated on: Tue, 23 March 2010 09:46]

Report message to a moderator

Re: task wsgen not found [message #525746 is a reply to message #522417] Wed, 07 April 2010 16:23 Go to previous messageGo to next message
Keith Chong is currently offline Keith ChongFriend
Messages: 64
Registered: July 2009
Member
Are the parameters in the properties file configured properly?

See if this helps:

http://wiki.eclipse.org/Creating_Web_service_and_Web_service _client_using_Ant_tasks_3.1.x
Re: task wsgen not found [message #528176 is a reply to message #522417] Mon, 19 April 2010 15:27 Go to previous message
Eric Peters is currently offline Eric PetersFriend
Messages: 27
Registered: July 2009
Junior Member
Hi,

You are doing a scenarios similar to the one described here ?
http://www.eclipse.org/webtools/jst/components/ws/1.0/tutori als/WebServiceAntTask/WebServiceAntTask.html

Previous Topic:Javascript validation and jar files
Next Topic:jsp Template for c:out
Goto Forum:
  


Current Time: Fri Nov 21 08:57:56 GMT 2014

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

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