jboss 3.2.2
eclipse 3.1
jboss-ide 1.3.3
xdoclet-1.2.1
ant 1.6
Objective: Trying to get the JBoss-ide 1.3 Tutorial to work....as directed.
Okay, I am still having problems, generating the web.xml and jboss-web.xml using
xdoclet.
I started with the jboss-ide. Running the Xdoclet just generates skeleton web.xml
and jboss-web.xml, like the tags are not being processed the tags are in *Servlet.java
file.
1) I ran Ant from the command line on the xdoclet-build.xml file created by the
Eclipse-jboss-ide. The file builds with success. Enabled (force) and (verbose) on the
attribute...not much change output is Build Successful.
2) copied the src/* directories to (xdoclet-1.2.1)/samples/src/java directory....Ran
the Sample/build and no entries for the ComputeServlet.java, just the Sample
"SimpleServlet" entry.
It is like the file is not even opened and if it is opened the tags are not being
recognized or processed for some reason, but no error message. I compared the Tags to
the SimpleServlet.java example in the xdoclet/samples/src/java/test/web directory and
I see no alarming differences..... Any Ideas?
++++++++++++++ tutorial/web/ComputeServlet.java +++++++++++++++++
/*
* Created on Aug 23, 2004
*
* To change the template for this generated file go to
* Window - Preferences - Java - Code Generation - Code and Comments
*/
package tutorial.web;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.http.HttpServlet;
import javax.servlet.ServletException;
import javax.servlet.ServletConfig;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.rmi.PortableRemoteObject;
import tutorial.interfaces.Fibo;
import tutorial.interfaces.FiboHome;
/**
*
* @web.servlet
* name="ComputeServlet"
* display-name="Computation Servlet"
* description="Servlet that compute Fibonacci suite"
*
* @web.servlet-mapping
* url-pattern="/Compute/*"
*
* @web.ejb-ref
* name="ejb/Fibo"
* type="Session"
* home="tutorial.interfaces.FiboHome"
* remote="tutorial.interfaces.Fibo"
* description="Reference to the Fibo EJB"
*
* @jboss.ejb-ref-jndi
* ref-name="ejb/Fibo"
* jndi-name="ejb/Fibo"
*
*/
/**
* @author [EMAIL PROTECTED]
*/
/* ==========================
* Change History:
* Replicate below :
*/
/* --
* Date:
* Name:
* Desc:
*
*/
/* =============================== */
public class ComputeServlet extends HttpServlet {
private static final long serialVersionUID = 1L;
private FiboHome home;
/**
*
*/
public ComputeServlet() {
.......}
+++++++++++++++++++++++++++++++++++++
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846201#3846201
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846201
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development