Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums

Go Back   Code Forums > Application and Web Development > Java

Reply
 
LinkBack Thread Tools Display Modes
Old 04-20-2006, 08:59 PM   #1 (permalink)
j.gohel
Code Monkey
 
Join Date: Apr 2005
Posts: 68
j.gohel is on a distinguished road
How to test web application made using Eclipse Web Tools Project??

Hi,

I am learning to use Eclipse 3.1.2 SDK.
I have used a tutorial to make a sample web application for customer orders.

Now I have made the respective classes.

But in that tutorial it is not given how to test the application from the eclipse.

My Webserver is Apache Tomcat 4.0.1 & i am using j2se 1.4.0 .

Also when i am editing the web.xml file build by the eclipse it is giving me the following message on the console tab:

Buildfile: C:\Eclipse\Jiggi\.metadata\.plugins\org.eclipse.js t.j2ee.ejb.annotations.xdoclet\tempAnt.xml
init:
webdoclet:

BUILD FAILED
C:\Eclipse\Jiggi\.metadata\.plugins\org.eclipse.js t.j2ee.ejb.annotations.xdoclet\tempAnt.xml:56: taskdef class xdoclet.modules.web.WebDocletTask cannot be found

Total time: 2 seconds

What's this & when i am editing this file & adding some new elements to this web.xml it takes a lot of time??

What is happening??

So please solve my doubts mentioned above & let me know how to test my web application from the Eclipse??

Thanks,
Jignesh
j.gohel is offline   Reply With Quote
Old 04-21-2006, 01:23 AM   #2 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,166
Belisarius is on a distinguished road
I haven't used Eclipse, so I may be wrong in my answers - take them with a grain of salt.

Eclipse is basically acting as a front-end to "ant" in this case (ant being the java build tool used most often by IDEs). Ant build files define the build in xml files (in this case, tempAnt.xml). It's failing when attempting to execute the webdoclet definition in the ant file.

Now, I'm not sure if the problem is a lack of a library or a problem with the defintion itself. If I had to guess, I'd say you didn't have the xDoclet plugin installed properly.

As for the web.xml, I really don't know why editing that would be so slow in Eclipse.
__________________
GitS
Belisarius is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 02:24 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting